tinygltf icon indicating copy to clipboard operation
tinygltf copied to clipboard

String tags in original gltf outputs as empty string ""

Open h3r opened this issue 7 years ago • 2 comments

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 "".

h3r avatar Apr 26 '18 14:04 h3r

Please post minimal & reproducable code of your problem.

syoyo avatar Apr 26 '18 15:04 syoyo

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...

Ybalrid avatar Jun 13 '18 08:06 Ybalrid