tinygltf
tinygltf copied to clipboard
String tags in original gltf outputs as empty string ""
I'm trying to integrate tinygltf in my framework. A simple way to manage all the resources loaded is storing them in a map container using strings. On any string tag like material name, mesh name, texture name etc i am always getting empty string "".
Please post minimal & reproducable code of your problem.
As far as I can tell, if the strings like the objects or material names are defined in the original gltf/glb files, they come out fine from the tinygltf API. So... Seems like a non-issue?
e.g. model.materials[X].name contains the name of the requested material...