You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
lxc 6fb531f4e7 first 2 years ago
..
gltf first 2 years ago
README.md first 2 years ago
draco_decoder.js first 2 years ago
draco_decoder.wasm first 2 years ago
draco_encoder.js first 2 years ago
draco_wasm_wrapper.js first 2 years ago

README.md

Draco 3D Data Compression

Draco is an open-source library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.

Website | GitHub

Contents

This folder contains three utilities:

  • draco_decoder.js — Emscripten-compiled decoder, compatible with any modern browser.
  • draco_decoder.wasm — WebAssembly decoder, compatible with newer browsers and devices.
  • draco_wasm_wrapper.js — JavaScript wrapper for the WASM decoder.

Each file is provided in two variations:

Either variation may be used with THREE.DRACOLoader:

var dracoLoader = new THREE.DRACOLoader();
dracoLoader.setDecoderPath('path/to/decoders/');
dracoLoader.setDecoderConfig({type: 'js'}); // (Optional) Override detection of WASM support.

Further documentation on GitHub.

License

Apache License 2.0