You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "TODO" in glview.cc seems difficult/impossible unless the textures are stored as an associated container... should the definition of Model be given maps instead of vectors for some cases?
tinygltf/examples/glview/glview.cc:424
The text was updated successfully, but these errors were encountered:
In a glTF asset, everything is actually stored as arrays.
Material refer to texture as their index in the "texture" array. This kind of storage makes sense for tinygltf. Same goes for a texture source, it's an image.
Exactly the same for accessing all the binary data. Node -> Mesh -> accessor(s) -> bufferView -> buffer.
Each of these "->" is just an index in the corresponding array.
tinygltf/tiny_gltf.h
Line 809 in edf8d5c
The "TODO" in glview.cc seems difficult/impossible unless the textures are stored as an associated container... should the definition of
Model
be given maps instead of vectors for some cases?tinygltf/examples/glview/glview.cc:424
The text was updated successfully, but these errors were encountered: