# 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)
没有合适的资源?快使用搜索试试~ 我知道了~
Threejs城市道路管道流光效果
共40个文件
js:26个
jpg:6个
png:2个
1星 需积分: 50 135 下载量 94 浏览量
2021-05-08
09:30:54
上传
评论 4
收藏 3.03MB ZIP 举报
温馨提示
利用TubeGeometry来实现管道,贴图纹理采用带透明处理的渐变png图片,可以简单的模拟出城市道路流光效果。 如果增大THREE.TubeGeometry(path, 100, 0.2);中的第3个参数将管道增粗,就可以模拟管道三维流动,可以方便地实现模拟工厂、园区的管道(输气管道、输水管道、输油管道等)液体气体流动,并实现根据流向、流速对管道进行三维动态模拟效果。
资源详情
资源评论
资源推荐
收起资源包目录
threejs_demo4_tube.zip (40个子文件)
index.html 2KB
源码说明.txt 85B
model
building.glb 7KB
img
posz.jpg 406KB
point.png 3KB
point2.png 2KB
posy.jpg 385KB
posx.jpg 260KB
negy.jpg 341KB
negx.jpg 253KB
negz.jpg 364KB
lib
Tween.min.js 8KB
TTFLoader.js 5KB
MaskPass.js 2KB
ShaderPass.js 2KB
UnrealBloomPass.js 13KB
GLTFLoader.js 85KB
three.min.js 606KB
ClearPass.js 979B
EffectComposer.js 6KB
RenderPass.js 2KB
CopyShader.js 667B
opentype.min.js 124KB
draco
draco_decoder.js 791KB
gltf
draco_decoder.js 570KB
draco_decoder.wasm 224KB
draco_wasm_wrapper.js 60KB
draco_encoder.js 932KB
draco_decoder.wasm 323KB
README.md 1KB
draco_wasm_wrapper.js 64KB
draco_encoder.js 907KB
FXAAShader.js 52KB
html2canvas.min.js 161KB
OrbitControls.js 25KB
stats.min.js 2KB
DRACOLoader.js 16KB
LuminosityHighPassShader.js 1KB
geometry-extrude.js 62KB
js
threed.js 20KB
共 40 条
- 1
weixin_38741195
- 粉丝: 2
- 资源: 970
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1