draco-animation

Draco animation is a library for compressing and decompressing 3D animations of geometric meshes.

Usage no npm install needed!

<script type="module">
  import dracoAnimation from 'https://cdn.skypack.dev/draco-animation';
</script>

README

News

Version 1.0.5 release

  • Built with newer emscripten

Version 1.0.4 release

  • Renamed encoder and decoder files

Version 1.0.3 release

  • Initial release

Description

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics. Draco animation is a library intended to compress glTF animation data.

Draco animation is released as C++/Javascript source code that can be used to compress glTF 2.0 animation data as well as decoders for the encoded animation data.

NPM Package

The code shows a simple example of using Draco animation encoder and decoder with Node.js. draco_animation_encoder_nodejs.js and draco_animation_decoder_nodejs.js are modified Javascript encoding/decoding files that are compatible with Node.js. draco_animation_encoding_test.js has the example code for usage.

How to run the code:

(1) Install draco-animation package :

$ npm install

(2) Run example code to test:

$ node draco_animation_encoding_test.js

References