-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (48 loc) · 2.03 KB
/
index.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Gallery96</title>
<meta name="description" content="Gallery96 VR">
<script src="lib/aframe.min.js"></script>
<script src="lib/kframe.min.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<!-- Images. -->
<img id="wall96" src="assets/img/room96_wall1.jpg">
<img id="arch36" src="assets/img/wall_arch.png">
<img id="img2006BC9359" src="assets/img/2006BC9359.jpg">
<!--
<img id="img2011EV4140" src="assets/img/2011EV4140.jpg">
<img id="img2011EV4190" src="assets/img/2011EV4190.jpg">
<img id="img2016JK3411" src="assets/img/2016JK3411.jpg">
<img id="img2016JK3412" src="assets/img/2016JK3412.jpg">
-->
</a-assets>
<!-- Image link template to be reused. -->
<script id="link" type="text/nunjucks">
<a-plane class="link" height="10" width="10"
material="shader: flat; src: {{ thumb }}">
</a-plane>
</script>
</a-assets>
<a-plane src="#wall96" height="100" width="100" position="0 0 -40" rotation="0 0 0"></a-plane>
<a-plane src="#wall96" height="100" width="100" position="40 0 0" rotation="0 -90 0"></a-plane>
<a-plane src="#wall96" height="100" width="100" position="-40 0 0" rotation="0 90 0"></a-plane>
<a-plane src="#arch36" height="100" width="100" position="0 0 -1" rotation="0 180 0"></a-plane>
<!-- Image links. -->
<a-entity id="wall1" position="0 2.4 -40">
<a-entity template="src: #link" data-src="#img2006BC9359" data-thumb="#img2006BC9359" position="-20 0 0"></a-entity>
<a-entity template="src: #link" data-src="#img2006BC9359" data-thumb="#img2006BC9359" position="0 0 0"></a-entity>
<a-entity template="src: #link" data-src="#img2006BC9359" data-thumb="#img2006BC9359" position="15 0 0"></a-entity>
</a-entity>
<!-- Camera + Cursor.
<a-camera>
<a-cursor id="cursor">
</a-cursor>
</a-camera>
</a-scene>-->
</body>
</html>