如何解决找不到A帧gltf
我的代码是这样的 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
谢谢
解决方法
尝试使用全局URL,如下所示:
<a-gltf-model src="https://rawgit.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF/DamagedHelmet.gltf"></a-gltf-model>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。