Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
pengpeng.zhai 4994c0325d 数字孪生项目提交 1 рік тому
..
gltf 数字孪生项目提交 1 рік тому
README.md 数字孪生项目提交 1 рік тому
draco_decoder.js 数字孪生项目提交 1 рік тому
draco_decoder.wasm 数字孪生项目提交 1 рік тому
draco_encoder.js 数字孪生项目提交 1 рік тому
draco_wasm_wrapper.js 数字孪生项目提交 1 рік тому

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:

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

Further documentation on GitHub.

License

Apache License 2.0