【问题标题】:A-frame gltf could not found找不到 A 帧 gltf
【发布时间】:2021-01-31 11:46:31
【问题描述】:

我的代码是这样的 my full coding screenshot

<a-scene  embedded arjs='sourceType: webcam; debugUIEnabled: false;'>
       <a-gltf-model src="/website/models/pixel_art_mouse_cursor/scene.gltf" position='0 0 -8' scale='0.5 0.5 0.5'>
       </a-gltf-model>
</a-scene> 

我在这里下载这个 gltf 模型 https://sketchfab.com/3d-models/pixel-art-mouse-cursor-7cc4bad913b74b48b86d8d05e2785b9c 我的控制台无法加载它 error screenshot

谢谢

【问题讨论】:

标签: augmented-reality aframe gltf ar.js


【解决方案1】:

尝试使用全局 URL,如下所示:

<a-gltf-model src="https://rawgit.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF/DamagedHelmet.gltf"></a-gltf-model>

【讨论】:

    猜你喜欢
    • 2017-08-21
    • 2021-08-06
    • 2019-11-15
    • 1970-01-01
    • 2021-08-30
    • 2018-11-09
    • 2018-04-12
    • 2021-03-10
    • 2020-06-10
    相关资源
    最近更新 更多