spnda / fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability
https://fastgltf.readthedocs.io/v0.8.x/
MIT License
301 stars 44 forks source link

Add support for Draco compression #66

Closed tigrazone closed 2 months ago

tigrazone commented 4 months ago

Is exists way to read files with draco compression?

SirBob01 commented 2 months ago

Any updates here? I prefer this library's API over tinygltf. This is the only thing I need that isn't supported yet.

edunad commented 2 months ago

Same here, loving the lib so far :D

spnda commented 2 months ago

I've added initial support for KHR_draco_mesh_compression. I've only tested it against the BrainStem.gltf on two meshes, but I think this should do it.

This marks the last Khronos extension asides from animation_pointer and that weird XMP extension, which would be hard/impossible to support nicely, I think.