-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from open-pv/glb-tiles-rebased-reactThree
Glb tiles rebased react three
- Loading branch information
Showing
95 changed files
with
21,632 additions
and
19,919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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](https://google.github.io/draco/) | [GitHub](https://github.com/google/draco) | ||
|
||
## 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: | ||
|
||
* **Default:** Latest stable builds, tracking the project's [master branch](https://github.com/google/draco). | ||
* **glTF:** Builds targeted by the [glTF mesh compression extension](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression), tracking the [corresponding Draco branch](https://github.com/google/draco/tree/gltf_2.0_draco_extension). | ||
|
||
Either variation may be used with `THREE.DRACOLoader`: | ||
|
||
```js | ||
var dracoLoader = new THREE.DRACOLoader(); | ||
dracoLoader.setDecoderPath('path/to/decoders/'); | ||
dracoLoader.setDecoderConfig({type: 'js'}); // (Optional) Override detection of WASM support. | ||
``` | ||
|
||
Further [documentation on GitHub](https://github.com/google/draco/tree/master/javascript/example#static-loading-javascript-decoder). | ||
|
||
## License | ||
|
||
[Apache License 2.0](https://github.com/google/draco/blob/master/LICENSE) |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.