找不到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>

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...