Skip to reading
The Asset Importer

GLB and glTF

Edition 0.86.3.4

Import and check models, images, animation, audio, fonts, video and shaders, with hands-on practice files.

Download PDFView illustrations

5. Importing a 3D model

Figure 6. The practice crate after importing. A successful model preview is the first check, before assigning the asset to a room or character.

A GLB can contain meshes, materials, textures, a skeleton and animation in one file. That makes it a convenient handoff format. A .gltf often refers to a .bin and separate texture images. Those companions are part of the model, even though you select only the .gltf in the picker.

Keep a glTF bundle's relative folder structure intact before importing. Do not move the JSON file away from its textures or rename its .bin without updating the source. The importer attempts to collect dependencies, but it cannot recover a file that was never supplied.

The practice folder contains both versions of the crate. Import the GLB first. Then, if you want to try the bundle route, create a second record and choose the glTF with all of its companion files still beside it.

What a successful import proves#

It proves that this model can be loaded and previewed with the settings in front of you. It does not prove that every animation is mapped to a gameplay state, every texture was collected, every character mouth target is configured or every exported platform has been tested.

A model with no animation can still be a perfectly good door or piece of furniture. A model with animation still needs a Character definition if you want it to be a playable actor.

Page 16 of 86Permalink
Go to page