qmuntal / gltf

Go library for encoding glTF 2.0 files
https://www.khronos.org/gltf/
BSD 2-Clause "Simplified" License
242 stars 32 forks source link

Support draco compression #25

Open dtrinh100 opened 4 years ago

dtrinh100 commented 4 years ago

Is it possible to use this library to apply Draco compression to an existing gltf file?

qmuntal commented 4 years ago

At the moment it only supports encoding/decoding the json extension, it does not support yet compression and decompression.

It is on my mind supporting it, don't know yet if via cgo or wasm

qmuntal commented 3 years ago

Draco-encoded meshes support is on the way, it will be provided as an external package: https://github.com/qmuntal/draco-go. Once I have draco-go implemented I'll add some documentation to use qmuntal/gltf together with qmuntal/draco-go.