【发布时间】:2020-01-14 21:48:06
【问题描述】:
在 aframe 中查看模型时,我在 gltf 模型上看到奇怪的方块。
我尝试制作一个 AR HTML 来扫描标记并在其上显示模型。当我在线查看 gltf 查看器中的模型时,它很好,但通过 webapp 查看它上面有灰色方块。有人见过这个吗?
<a-scene embedded
vr-mode-ui="enabled: false"
shadow="type: pcf"
arjs='sourceType: webcam; sourceWidth:1280; sourceHeight:960;
displayWidth: 1280; displayHeight: 960; debugUIEnabled: false;'>
<!-- add your models -->
<a-asset-item id="animated-asset"
src="https://artshirtsonline.com/shanatova/models/test2.gltf" >
</a-asset-item>
</a-assets>
<a-entity animation-mixer="loop: repeat" gltf-model='#animated-asset'
scale="1 1 1"
shadow="cast: true"
rotation="-90 0 0"></a-entity>
【问题讨论】: