1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 18:29:39 +02:00
Oinktube/node_modules/three/examples/js/libs/draco
2023-12-11 11:59:56 -03:00
..
gltf https://github.com/WWBN/AVideo/issues/8713 2023-12-11 11:59:56 -03:00
draco_decoder.js https://github.com/WWBN/AVideo/issues/8713 2023-12-11 11:59:56 -03:00
draco_decoder.wasm https://github.com/WWBN/AVideo/issues/8713 2023-12-11 11:59:56 -03:00
draco_encoder.js https://github.com/WWBN/AVideo/issues/8713 2023-12-11 11:59:56 -03:00
draco_wasm_wrapper.js https://github.com/WWBN/AVideo/issues/8713 2023-12-11 11:59:56 -03:00
README.md https://github.com/WWBN/AVideo/issues/8713 2023-12-11 11:59:56 -03: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 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