57862207 39b70e9bd3 created | 10 месяцев назад | |
---|---|---|
.. | ||
gltf | 10 месяцев назад | |
.DS_Store | 10 месяцев назад | |
README.md | 10 месяцев назад | |
draco_decoder.js | 10 месяцев назад | |
draco_decoder.wasm | 10 месяцев назад | |
draco_encoder.js | 10 месяцев назад | |
draco_wasm_wrapper.js | 10 месяцев назад |
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.
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.