node-ejs-renderer/node_modules/three/examples/jsm/libs/draco
2024-06-09 13:55:01 -04:00
..
gltf Main initial commit 2024-06-09 13:55:01 -04:00
draco_decoder.js Main initial commit 2024-06-09 13:55:01 -04:00
draco_decoder.wasm Main initial commit 2024-06-09 13:55:01 -04:00
draco_encoder.js Main initial commit 2024-06-09 13:55:01 -04:00
draco_wasm_wrapper.js Main initial commit 2024-06-09 13:55:01 -04:00
README.md Main initial commit 2024-06-09 13:55:01 -04:00

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 DRACOLoader:

var dracoLoader = new 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