GLTF Parser Hooks

The code is here: Babylon.js/glTFLoader.ts at master · BabylonJS/Babylon.js · GitHub

Basically, the idea is that we need to check if the mesh primitives can be merged (i.e. if they have the same kinds of attributes). If they do, then call VertexData.merge to merge all the primitives into a single vertex data.

1 Like