【发布时间】:2016-09-15 12:58:45
【问题描述】:
我只是想使用 A-frame 库创建一个可视化,其中用户位于“立方体内部”,并且在侧面嵌入了画布图像。我已经开始使用飞机准备场景。这就是我所取得的成就。 http://codepen.io/LuoXiahong/pen/LRNJNb
<a-scene>
<a-assets>
</a-assets>
<!-- Basic plane. -->
<a-plane color="#ff0000" height="2" width="2" position="0 0 0" rotation="-90 0 0"></a-plane>
<!-- Front-->
<a-plane color="#00ff00" height="2" width="2" position="0 1 -1" rotation="0 0 90"></a-plane>
<!--Back - does not display-->
<a-plane color="#0000ff" height="2" width="2" position="0 1 1" rotation="0 0 90"></a-plane>
<!-- Left-->
<a-plane color="#ffff00" height="2" width="2" position="-1 1 0" rotation="0 90 0"></a-plane>
<!-- Right-->
<a-plane color="#ff00ff" height="2" width="2" position="1 1 0" rotation="0 -90 0"></a-plane>
<!--Top plane - does not display -->
<a-plane color="#00ffff" height="2" width="2" position="0 2 0" rotation="-90 0 0"></a-plane>
</a-scene>
我在显示立方体的顶部和背面时遇到问题。有没有人可以帮帮我?
【问题讨论】:
标签: aframe