As the title suggests, currently only the method to call Draco files can be found on the API, but there is no method to reverse store them as Draco files. We hope to add similar methods in the future. Most of the methods found online are in the format of converting obj to drc provided by Google, and there are too few application scenarios.
Here is the Draco NPM package for GLTF files - draco3dgltf - npm
Excuse me, do you have any relevant cases or sample codes that you can learn?
For example, KHRDracoMeshCompression | glTF Transform
I hope I’ll implement it here - https://glb.babylonpress.org/ , but currently only MeshOpt Compression is supported there (which is, by the way, faster than Draco in most of the cases).
1 Like