drcobj:使用 draco 压缩和解压 three.js 模型文件。(Use draco to compress and decompress threejs-object files.)-源码

上传者: 42181545 | 上传时间: 2021-08-26 16:31:05 | 文件大小: 1.48MB | 文件类型: ZIP
Draco是用于压缩和解压缩3D几何网格和点云的开源库。 旨在改善3D图形的存储和传输。 您可以使用drcobj_exporter.js将threejs-object(.json)文件转换为draco压缩的threejs-object(.drcobj)文件, drcobj_loader.js是drcobj文件的加载器。 新版本! 与1.0.3.2版相比,1.1.0版将模型加载时间减少了50%以上! 模型文件大小比较 测试模型: ./ example / bunny.json JSON格式 德科比 FBX OBJ 特遣部队 GLB 2.98兆字节 146KB 1.82兆字节 6.8兆字节 2.12兆字节 1.6兆字节 如何使用 负荷模型 < script src =" ./three.js " > </ script > < script src =" ./src/vendor

文件下载

资源详情

[{"title":"( 28 个子文件 1.48MB ) drcobj:使用 draco 压缩和解压 three.js 模型文件。(Use draco to compress and decompress threejs-object files.)-源码","children":[{"title":"drcobj-master","children":[{"title":"src","children":[{"title":"drcobj_loader.min.js <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"drcobj_exporter.module.js <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false},{"title":"drcobj_loader.js <span style='color:#111;'> 5.72KB </span>","children":null,"spread":false},{"title":"drcobj_exporter.min.js <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"drcobj_exporter.js <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"drcobj_loader.module.js <span style='color:#111;'> 5.59KB </span>","children":null,"spread":false},{"title":"vendor","children":[{"title":"draco_loader.js <span style='color:#111;'> 14.18KB </span>","children":null,"spread":false},{"title":"draco_exporter.min.js <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"draco_decoder.js <span style='color:#111;'> 696.14KB </span>","children":null,"spread":false},{"title":"draco_loader.module.js <span style='color:#111;'> 14.21KB </span>","children":null,"spread":false},{"title":"draco_decoder.wasm <span style='color:#111;'> 277.06KB </span>","children":null,"spread":false},{"title":"draco_wasm_wrapper.js <span style='color:#111;'> 65.04KB </span>","children":null,"spread":false},{"title":"draco_exporter.module.js <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"draco_loader.min.js <span style='color:#111;'> 7.47KB </span>","children":null,"spread":false},{"title":"draco_encoder.js <span style='color:#111;'> 906.95KB </span>","children":null,"spread":false},{"title":"draco_exporter.js <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".npmignore <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"example","children":[{"title":"Exporter.html <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"bunny.drcobj <span style='color:#111;'> 146.59KB </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"bunny.json <span style='color:#111;'> 2.99MB </span>","children":null,"spread":false},{"title":"Loader.html <span style='color:#111;'> 676B </span>","children":null,"spread":false}],"spread":true},{"title":"README_CN.md <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 751B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明