Group Group Group Group Group Group Group Group Group

Exporting GLTF models from blender

Hello everyone,
I’m currently past chapter 8, but I tried importing a glTF model, which I exported from blender.
The only problem is, that it either doesn’t show textures at all (when I use export setting: .gltf + textures + .bin), or I get an error: “BASE64 encoding not supported yet” (when I use export setting: .gltf).
Thanks a lot!

@bucketfite - Hi!

At the latest WWDC, Apple pushed the USDZ format more, so we updated version 2 of Metal by Tutorials to be more in line with that. We now use the USD and USDZ format in the book, rather than glTF. Apple provides a converter for converting glTF and fbx and others to USDZ.

The first version of Metal by Tutorials had a cut-down glTF importer, which only works with simple glTF files such as the one provided with the book.

If you purchased the digital pdf of Metal by Tutorials, version 2 is a free upgrade. You’ll be able to use the Apple converter to convert your file to USD/USDZ and then :crossed_fingers: import the USD.

Apple has just replaced the command line tool, that converts to USDZ, with Reality Converter: