-
Notifications
You must be signed in to change notification settings - Fork 0
/
atrium-tree.html
29 lines (25 loc) · 906 Bytes
/
atrium-tree.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head>
<title>Atrium with Tree</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.min.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<img id="sky" src="loft-scene/images/tintamarre-island.jpg" >
<!-- label id = loft or whatever it is, then reference it in line 25 -->
<a-asset-item id="atrium-tree" src="atrium-tree/scene.gltf"></a-asset-item>
</a-assets>
<!-- Sky -->
<a-sky src="#sky" rotation="0 150 0"></a-sky>
<!-- Camera -->
<a-entity rotation="0 180 0" position="-1 0 8">
<a-camera></a-camera>
</a-entity>
<!-- atrium space -->
<a-entity scale="0.2 0.2 0.2" gltf-model="#atrium-tree"></a-entity>
</a-scene>
</body>
</html>