draco
draco copied to clipboard
how to use javascript to encode gltf and animation
how to use javascript to encode gltf and animation
@Frankling I've written up an answer on Stack Overflow about how to compress a glTF model using Draco, in JavaScript (Web or Node.js). See this response: https://stackoverflow.com/a/66979159/1314762.
At this time, the Draco library does not compress glTF animation. The glTF-Transform tool (used in the link above) provides some options for resampling animation tracks, which can reduce size.