gltf-loader:在Zea引擎中导入和加载glTF文件

上传者: 42098104 | 上传时间: 2023-02-21 16:46:41 | 文件大小: 3.83MB | 文件类型: ZIP
关于glTF-Loader glTF加载程序可将glTF,glTF Binary和glTF Drako文件加载到Zea Engine中。 该加载程序主要基于Khronos Group的参考glTF加载实现,并且已集成为Zea Engine的插件。 因此,对代码进行了修改,使其与Zea Engine背后的一些设计目标保持一致。 注意:glTF Loader插件不支持glTF中可用的所有各种高级材料配置。 目前不支持光泽,透明涂层等功能,因为这些功能首先需要由引擎支持。 入门 我们建议的克隆此模板的方法是使用项目棚架工具 。 在您HTML页面中,在引擎脚本标签之后,添加脚本标签以加载Draco解码器(仅对于Draco支持是必需的)和gltf-loader插件。 < script src =" https://cdn.jsdelivr.net/npm/@zeainc/zea-eng

文件下载

资源详情

[{"title":"( 91 个子文件 3.83MB ) gltf-loader:在Zea引擎中导入和加载glTF文件","children":[{"title":"gltf-loader-main","children":[{"title":".prettierrc.yaml <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"rollup.config.js <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"ISSUE_TEMPLATE","children":[{"title":"bug_report.md <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"config.yml <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'> 595B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"yarn.lock <span style='color:#111;'> 348.11KB </span>","children":null,"spread":false},{"title":"gltf-asset-test.html <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"plop-templates","children":[{"title":"e2e-test-spec.js <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"e2e-test-page.html <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true},{"title":".prettierignore <span style='color:#111;'> 18B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Renderer","children":[{"title":"shader_cache.js <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"environment_renderer.js <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"webgl.js <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false},{"title":"shader.js <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false},{"title":"shaders","children":[{"title":"functions.glsl <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"brdf.glsl <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"primitive.vert <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"animation.glsl <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"punctual.glsl <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"cubemap.vert <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"ibl.glsl <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"pbr.frag <span style='color:#111;'> 20.19KB </span>","children":null,"spread":false},{"title":"tonemapping.glsl <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"cubemap.frag <span style='color:#111;'> 369B </span>","children":null,"spread":false},{"title":"textures.glsl <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"renderer.js <span style='color:#111;'> 23.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"GltfView","children":[{"title":"gltf_view.js <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"gltf","children":[{"title":"channel.js <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"interpolator.js <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"buffer.js <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"user_camera.js <span style='color:#111;'> 8.24KB </span>","children":null,"spread":false},{"title":"math_utils.js <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"image_mime_type.js <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"node.js <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"buffer_view.js <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"light.js <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"variant.js <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"mesh.js <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"skin.js <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"image.js <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false},{"title":"asset.js <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false},{"title":"primitive.js <span style='color:#111;'> 25.53KB </span>","children":null,"spread":false},{"title":"image_based_light.js <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"gltf_object.js <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"accessor.js <span style='color:#111;'> 10.64KB </span>","children":null,"spread":false},{"title":"animation_sampler.js <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"sampler.js <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"texture.js <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"animation.js <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"scene.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"material.js <span style='color:#111;'> 23.94KB </span>","children":null,"spread":false},{"title":"gltf.js <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"camera.js <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"gltf_utils.js <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"GltfState","children":[{"title":"gltf_state.js <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"shaders","children":[{"title":"panorama_to_cubemap.frag <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"debug.frag <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"ibl_filtering.frag <span style='color:#111;'> 14.02KB </span>","children":null,"spread":false},{"title":"fullscreen.vert <span style='color:#111;'> 254B </span>","children":null,"spread":false}],"spread":true},{"title":"gltf-sample-viewer.js <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"glTF-Sample-Viewer-master.zip <span style='color:#111;'> 2.18MB </span>","children":null,"spread":false},{"title":"GLTFAsset.js <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"ResourceLoader","children":[{"title":"loader.js <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"draco.js <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"async_file_reader.js <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"glb_parser.js <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"resource_loader.js <span style='color:#111;'> 11.94KB </span>","children":null,"spread":false},{"title":"ktx.js <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"index.js <span style='color:#111;'> 31B </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"DamagedHelmet.png <span style='color:#111;'> 784.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"cypress","children":[{"title":"integration","children":[{"title":"my-custom-operator-test-spec.js <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"cypress.json <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"testing-e2e","children":[{"title":"index.html <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"gltf-asset-test.html <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"styles","children":[{"title":"tachyons.min.css <span style='color:#111;'> 72.24KB </span>","children":null,"spread":false},{"title":"normalize.css <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"main.css <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"data","children":[{"title":"README.md <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":"pisa.zenv <span style='color:#111;'> 678.55KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"test-data.txt <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"plopfile.js <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":".tmuxp.yaml <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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