tinygltf
tinygltf copied to clipboard
Header only C++11 tiny glTF 2.0 library
Does this project support?I could not find yet. If not, I consider implement it.
Continued discussion from #193 . > > I noticed that there is currently some inconsistency between which default values are always set to defaults and/or serialized and which aren't. For...
After parsing a gltf file, all the buffers are already allocated in host memory If we can provide a callback function to handle buffer memory allocation while loading then it...
Support HDR image format for the texture as an extension. * [x] 16bit PNG * [ ] Radiance RGBE * [ ] EXR(through TinyEXR) * [ ] DNG/TIFF(through tinydngloader) *...
It is useful to support writing 16bit PNG for: * gltfutil(texture dumper) * Serialize glTF Extending `stb_image_write` looks rather complex, so our bet is using LodePNG.
https://github.com/syoyo/tinygltf/blob/edf8d5cae1eb69376832da69b1e06e5f4daf3740/tiny_gltf.h#L809 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?...
It would be nice if we have a feature to partially update(or patching) glTF model, for example overwrite material/animation parameters using another glTF(or JSON) file which only contain material/animation parameters...
Add GLSL PBR shader into `glview` example.
I used tinygltf in a project, and one thing I think most will need are sanity checks done on the loaded tinyglt::Model object, beyond the basics already provided. A few...
Add parsing option to specify the preferred number of texture channels(e.g. want to load texture always as 32bit RGBA)