cgltf
cgltf copied to clipboard
:diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99
I've encountered two issues while writing back a glb file with extra properties. The first one was malformed extras, the other was missing binary buffers. 1. At a glance, it...
:wave: cgltf error output is rather minimal, which can be an issue for user-facing glTF importing. 95% of broken files out there end up with a non-descriptive "invalid glTF" without...
I'm loading some `glb` files and `cgltf_image::buffer_view::data` is `null`:  I'm able to get the data by doing: ```cpp void* data = texture->image->buffer_view->buffer->data + texture->image->buffer_view->offset; ``` But this feels like...
Adds support for [KHR_materials_diffuse_transmission](https://github.com/KhronosGroup/glTF/pull/1825). *Not ready for merge just yet* The specification for this extension is currently marked as "Draft" and is not yet ratified, though it appears to be...
I was very confused wherein the spec this corner case was attending too. Finally backtracked from git blame, but think a quick comment is worth noting for something not that...
I understand that for some people a single-header "library" is easier to use, but for some use-cases a proper shared library would be better. Would this be something you'd like...
Are there any examples for using cgltf? Sadly I couldn't find any in the repo, and the structs alone aren't very useful as documentation for anyone who hasn't deeply studied...
would it be possible to add support for BigEndian
When generating my own mesh, I'd like to save the result together with the meta data in a glb file. That is currently not possible with cgltf.
I'm creating my own mesh and I would like to save the result into a gltf file. There are no examples or documentation about how to do this.