I am adding gltf2 support to Cinder


The code is here https://github.com/jing-interactive/MeshViewer
Still in early stage, but it’s working.
I should have it completed in this month (2018-Sept)


I am so productive :slight_smile:





Very cool! It will be great to get the animation data working eventually too.




For anyone else getting three unresolved external symbols for tinyGltf::WriteImageData for png jpg and bmp.
All you have to do is add, TINYGLTF_NO_STB_IMAGE_WRITE to Preprocessor.Definition.
Thanks Jing! Great work and looking good!


tiny_obj_loader based OBJ loading is also added in this project, Cinder’s obj loader is sometimes too slow :frowning:


@vinjn I’ve also been working on a utility for rendering GLTF2 files parsed with tinygltf. It has support for rigid animations and up to 4 blend shapes per mesh.

I wasn’t intending to release it since the implementation is pretty specific for my use case, but the code is up in a Gist. Feel free to use it verbatim or as reference:



Looks promising, can you create a buildable project so that we can play with it?


The code base is now split to a reusable lib and a sample.