draco icon indicating copy to clipboard operation
draco copied to clipboard

how to use javascript to encode gltf and animation

Open Frankling opened this issue 4 years ago • 1 comments

how to use javascript to encode gltf and animation

Frankling avatar Apr 20 '21 07:04 Frankling

@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.

donmccurdy avatar Jun 21 '21 16:06 donmccurdy