-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
443 lines (364 loc) · 27.3 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<!DOCTYPE html>
<html style="--maincolor: #00bbbb; --2ndcolor: #00bbbb;">
<head>
<meta charset="utf-8">
<title>3DPR Template</title>
<meta name="description" content="XRLAB 3DPR">
<!--<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>-->
<script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@1a5f2348ffe8647e65e0c14788f5ae2bf27ed0cc/dist/aframe-master.min.js" ></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-look-at-component.min.js"></script>
<script src="//c.oracleinfinity.io/acs/account/hsj8iasxuf/js/skeita/odc.js"></script>
<script src="./js/opanel-component.js"></script>
<link rel="stylesheet" href="./css/style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BV9ENLCH0S"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-BV9ENLCH0S');
</script>
</head>
<body>
<!-- Overlay -->
<div id="overlay" onclick="off();">
<div id="text">
<h1>Welcome to </h1>
<img src='./textures/logo.png' style='max-width:60%;object-fit:contain;'/><br>
<table style='max-width:60%;' align='center'>
<tr>
<td align='center' width=25%><img src='./img/drag-and-drop.png' width=50%/></td>
<td align='center' width=25%><img src='./img/keys.png' width=50%/></td>
<td align='center' width=25%><img src='./img/menu.png' width=50%/></td>
<td align='center' width=25%><img src='./img/nextprevious.png' width=50%/></td>
</tr>
<tr>
<td align='center' width=25%>You can move the view by dragging the the mouse</td>
<td align='center' width=25%>Move in the room by pressing the arrows keys</td>
<td align='center' width=25%>Use the menu on the bottom left to be teleported</td>
<td align='center' width=25%>Click on the next and previous arrows beside the slidedeck</td>
</tr>
</table><br><br>
<button class='button_ui'> Get Started</button>
<p style='font-size:4px; color:white'>by <a style='text-decoration: none;color: white' href='https://xrlab.ddns.net'>XRlab</a></p>
</div>
</div>
<!-- Side Menu -->
<div id="mySidebar" class="sidebar">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<p class="collapsible_ui">Navigation</p>
<div class="content_ui">
<a href="#" onclick="movetoPanel('#slideshow');closeNav()">
Pitch Deck
</a>
<a href="#" onclick="movetoPanel('#Panel1');closeNav()">
1 - ABOUT US
</a>
<a href="#" onclick="movetoPanel('#Panel2');closeNav()">
2 - PROBLEM
</a>
<a href="#" onclick="movetoPanel('#Panel3');closeNav()">
3 - SOLUTION
</a>
<a href="#" onclick="movetoPanel('#Panel4');closeNav()">
4 - PRODUCT
</a>
<a href="#" onclick="movetoPanel('#Panel5');closeNav()">
5 - PRODUCT DETAILS
</a>
<a href="#" onclick="movetoPanel('#Panel6');closeNav()">
6 - ROADMAP
</a>
</div>
<p class="collapsible_ui">Options</p>
<div class="content_ui">
<a href="#" id="myEnterVRButton" onclick="closeNav()">
Enter VR Mode (Oculus only)
</a>
<a href="#" onclick="letthemusicplay();">
Play / Pause Music
</a>
<a href="#" onclick="activateWebCam();">
Start / Stop Webcam
</a>
<a href="#" onclick="on(welcometext);closeNav();">
Show Instructions
</a>
<a href="#" onclick="on('<img src=\'./img/keyboardshortcuts.png\' style=\'max-width:80%;object-fit:contain;\'/>');closeNav();">
Show Keyboard Shortcuts
</a>
<a href="#" onclick="on('Music - www.bensound.com<br/> Videos - www.pexel.com<br/> Presentations & Communication - Keone BOURUMEAU <br/> 3D Models - Wojciech PLUTA <br/> Debug & Features Requests - Brian ALBERTELLI<br/> Backend - Stuart COGGINS<br/> 3DPR - Sikaar KEITA');">
Show Credits
</a>
</div>
</div>
<div id="main">
<button class="openbtn" onclick="openNav()">☰ Menu</button> <button class="openbtn" id="musicbutton" onclick="letthemusicplay();">🔇</button>
</div>
<!-- A SCENE -->
<a-scene vr-mode-ui="enterVRButton: #myEnterVRButton;" cursor="rayOrigin: mouse">
<a-assets>
<!-- Pictures to be displayed on the panels -->
<a-img id="Panel001" src="./panels/Slide1.PNG"></a-img>
<a-img id="Panel002" src="./panels/Slide2.PNG"></a-img>
<a-img id="Panel003" src="./panels/Slide3.PNG"></a-img>
<a-img id="Panel004" src="./panels/Slide4.PNG"></a-img>
<a-img id="Panel005" src="./panels/Slide5.PNG"></a-img>
<a-img id="Panel006" src="./panels/Slide6.PNG"></a-img>
<!-- Slides for the slidedeck - make sure to keep the class="slide" -->
<a-img class="slide" id="001" src="./slidedeck/Slide1.PNG"></a-img>
<a-img class="slide" id="002" src="./slidedeck/Slide2.PNG"></a-img>
<a-img class="slide" id="003" src="./slidedeck/Slide3.PNG"></a-img>
<a-img class="slide" id="004" src="./slidedeck/Slide4.PNG"></a-img>
<a-img class="slide" id="005" src="./slidedeck/Slide5.PNG"></a-img>
<a-img class="slide" id="006" src="./slidedeck/Slide6.PNG"></a-img>
<a-img class="slide" id="007" src="./slidedeck/Slide7.PNG"></a-img>
<a-img class="slide" id="008" src="./slidedeck/Slide8.PNG"></a-img>
<a-img class="slide" id="009" src="./slidedeck/Slide9.PNG"></a-img>
<a-img class="slide" id="010" src="./slidedeck/Slide10.PNG"></a-img>
<a-img class="slide" id="011" src="./slidedeck/Slide11.PNG"></a-img>
<!-- videos to be shared aside of the doors - keep them below 2MB - 360 p resolution is fine -->
<video class="videos" id="video1" src="./videos/video.mp4" loop></video>
<video class="videos" id="video2" src="./videos/video2.mp4" loop></video>
<video id="webcam" playsinline></video>
<!--Ambient music - keep them below 2MB -->
<audio id="music" src="./audio/music.mp3" preload="auto"></audio>
<!-- 3D assets - keep it as limited as possible -->
<a-asset-item id="logo" src="./3DModels/xrlablogo.gltf"></a-asset-item>
<a-asset-item id="opanel" src="./3DModels/otag.gltf"></a-asset-item>
<a-asset-item id="3DNavMesh" src="./3DModels/navmesh.gltf"></a-asset-item>
<a-mixin id="arc" geometry="primitive: torus; arc: 180; radius: 3.5; radiusTubular : 0.05" material="color: white"></a-mixin>
<!-- Textures -->
<a-img id="sky" src="./textures/sky.png"></a-img>
<a-img id="woodendoor" src="./textures/wood2.jpg "></a-img>
<a-img id="floortexture" src="./textures/floortexture.jpg "></a-img>
<a-img id="walltexture" src="./textures/walltexture.jpg"></a-img>
<a-img id="roomlogo" src="./textures/logo.png"></a-img>
<a-img id="floorlogo" src="./textures/floorlogo.png"></a-img>
</a-assets>
<!-- General Music -->
<a-entity sound="src: #music;loop:true;"></a-entity>
<!-- Cloud Word Container - specify the words you want to see after containerent="keywords:HERE PLACE YOUR WORDS WITH A SPACE BETWEEN EACH OF THEM" -->
<a-entity id='containerent' position="0 1.2 0" containerent="keywords:Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua" animation="property: rotation;from : 0 0 0; to: 0 360 0; loop: true;easing: linear; dur: 50000"><a-sphere position="0 .5 0" radius="0.5" opacity = "0.2" ></a-sphere></a-entity>
<!-- XRLAB logo ;) -->
<a-entity id="xrlablogo" gltf-model="#logo" position="0 7 0" scale="0.3 0.3 0.3" animation="property: rotation;from : 0 0 0; to: 0 360 0; loop: true;easing: linear; dur: 10000" onclick="window.open('https://xrlab.ddns.net','_self')"></a-entity>
<!-- Poster Display Classic -->
<a-entity id="Panel1" position="-6 1.5 -5" class="poster-classic">
<a-plane class="poster" material="src: #Panel001" height="1.72" width="3.16" position="0 0.25 0.18" rotation="0 0 0" ><a-entity class="texture-identifier" visible='false' text="width: 10; align: center; align: center; color: #000000; value: Panel1" position="0 0 .5"></a-entity></a-plane>
<a-plane class="frame" material="color: grey" height="1.77" width="3.23" position="0 0.25 0.16" rotation="0 0 0" ></a-plane>
<a-entity class="OPANEL" gltf-model="#opanel" opanel-component position="0 -1.15 0" scale="1.1 0.5 1.1" rotation="90 0 0"></a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0 -1.45 2" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
</a-entity>
<!-- Poster Display with Buttons -->
<a-entity id="Panel2" position="0 1.5 -5" class="poster-buttons">
<a-plane class="poster" material="src: #Panel002" height="1.72" width="3.16" position="0 0.25 0.18" rotation="0 0 0" ><a-entity class="texture-identifier" visible='false' text="width: 10; align: center; align: center; color: #000000; value: Panel2" position="0 0 .5"></a-entity></a-plane>
<a-plane class="frame" material="color: grey" height="1.77" width="3.23" position="0 0.25 0.16" rotation="0 0 0" ></a-plane>
<a-entity class="OPANEL" gltf-model="#opanel" opanel-component position="0 -1.15 0" scale="1.1 0.5 1.1" rotation="90 0 0"></a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0 -1.45 2" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
<!-- Button Set -->
<a-circle position="0 -0.75 0.2" radius="0.2" colorize onclick="on('https://www.youtube.com/watch?v=KbSPPFYxx3o')">
<a-entity text="width: 2; color: #ffffff; value: Video; align: center" background="color: #ffffff"></a-entity></a-circle>
<!--
<a-circle position="-1 -0.75 0.2" radius="0.2" colorize onclick="on('0')">
<a-entity text="width: 2; color: #ffffff; value: HOME; align: center" background="color: #ffffff"></a-entity></a-circle>
<a-circle position="-0.5 -0.75 0.2" radius="0.2" colorize onclick="on('THE INNOVATION DESIGN')">
<a-entity text="width: 1.5; color: #ffffff; value: INNOVATION; align: center" background="color: #ffffff"></a-entity></a-circle>
<a-circle position="0 -0.75 0.2" radius="0.2" colorize onclick="on('0')">
<a-entity text="width: 2; color: #ffffff; value: IT; align: center" background="color: #ffffff"></a-entity></a-circle>
<a-circle position="0.5 -0.75 0.2" radius="0.2" colorize onclick="on('THE EMPOWERING APPS')">
<a-entity text="width: 2; color: #ffffff; value: APPS; align: center" background="color: #ffffff"></a-entity></a-circle>
<a-circle position="1 -0.75 0.2" radius="0.2" colorize onclick="on('THE POWERING TECH')">
<a-entity text="width: 2; color: #ffffff; value: TECH; align: center" background="color: #ffffff"></a-entity></a-circle>
-->
</a-entity>
<!-- Poster Display Classic -->
<a-entity id="Panel3" position="6 1.5 -5">
<a-plane class="poster" material="src: #Panel003" height="1.72" width="3.16" position="0 0.25 0.18" rotation="0 0 0" ><a-entity class="texture-identifier" visible='false' text="width: 10; align: center; align: center; color: #000000; value: Panel3" position="0 0 .5"></a-entity></a-plane>
<a-plane class="frame" material="color: grey" height="1.77" width="3.23" position="0 0.25 0.16" rotation="0 0 0" ></a-plane>
<a-entity class="OPANEL" gltf-model="#opanel" opanel-component position="0 -1.15 0" scale="1.1 0.5 1.1" rotation="90 0 0"></a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0 -1.45 2" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
</a-entity>
<!-- Poster Display Classic -->
<a-entity id="Panel4" position="6 1.5 5" rotation="0 180 0">
<a-plane class="poster" material="src: #Panel004" height="1.72" width="3.16" position="0 0.25 0.18" rotation="0 0 0" ><a-entity class="texture-identifier" visible='false' text="width: 10; align: center; align: center; color: #000000; value: Panel4" position="0 0 .5"></a-entity></a-plane>
<a-plane class="frame" material="color: grey" height="1.77" width="3.23" position="0 0.25 0.16" rotation="0 0 0" ></a-plane>
<a-entity class="OPANEL" gltf-model="#opanel" opanel-component position="0 -1.15 0" scale="1.1 0.5 1.1" rotation="90 0 0"></a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0 -1.45 2" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
</a-entity>
<!-- Poster Display with Buttons -->
<a-entity id="Panel5" position="0 1.5 5" rotation="0 180 0">
<a-plane class="poster" material="src: #Panel005" height="1.72" width="3.16" position="0 0.25 0.18" rotation="0 0 0" ><a-entity class="texture-identifier" visible='false' text="width: 10; align: center; align: center; color: #000000; value: Panel5" position="0 0 .5"></a-entity></a-plane>
<a-plane class="frame" material="color: grey" height="1.77" width="3.23" position="0 0.25 0.16" rotation="0 0 0" ></a-plane>
<a-entity class="OPANEL" gltf-model="#opanel" opanel-component position="0 -1.15 0" scale="1.1 0.5 1.1" rotation="90 0 0"></a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0 -1.45 2" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
<!-- Button Set -->
<a-circle position="0 -0.75 0.2" radius="0.2" colorize onclick="on('IFRAME https://xrlab.ddns.net')">
<a-entity text="width: 2; color: #ffffff; value: Iframe; align: center" background="color: #ffffff"></a-entity></a-circle>
</a-entity>
<!-- Poster Display Classic -->
<a-entity id="Panel6" position="-6 1.5 5" rotation="0 180 0">
<a-plane class="poster" material="src: #Panel006" height="1.72" width="3.16" position="0 0.25 0.18" rotation="0 0 0" ><a-entity class="texture-identifier" visible='false' text="width: 10; align: center; align: center; color: #000000; value: Panel6" position="0 0 .5"></a-entity></a-plane>
<a-plane class="frame" material="color: grey" height="1.77" width="3.23" position="0 0.25 0.16" rotation="0 0 0" ></a-plane>
<a-entity class="OPANEL" gltf-model="#opanel" opanel-component position="0 -1.15 0" scale="1.1 0.5 1.1" rotation="90 0 0"></a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0 -1.45 2" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
<!-- Button Set -->
<a-circle position="0 -0.75 0.2" radius="0.2" colorize onclick="on('./pdf/Product Roadmap.pdf')">
<a-entity text="width: 2; color: #ffffff; value: PDF; align: center" background="color: #ffffff"></a-entity></a-circle>
</a-entity>
<!-- Building Structure -->
<a-box class="wall" position="0 2.99 -7.5" scale="20.2 5.8 0.1" material="src : #walltexture; repeat : 10 3; offset: 0 0.5"></a-box>
<a-box class="wall" position="0 2.99 7.5" scale="20.2 5.8 0.1" material="src : #walltexture; repeat : 10 3; offset: -0.25 0.5"></a-box>
<a-box class="wall" position="-10 2.99 0" scale="0.1 5.8 15.2" material="src : #walltexture; repeat : 6 3; offset: 0 0.5"></a-box>
<a-box class="wall" position="10 2.99 0" scale="0.1 5.8 15.2" material="src: #walltexture; repeat: 6 3"></a-box>
</a-box>
<a-box class="lowbar" position="0 0 -7.6" color="black" scale="20.2 .2 0.1" ></a-box>
<a-box class="lowbar" position="0 0 7.6" color="black" scale="20.2 .2 0.1" ></a-box>
<a-box class="lowbar" position="-10.1 0 0" color="black" scale="0.1 .2 15.2" ></a-box>
<a-box class="lowbar" position="10.1 0 0" color="black" scale="0.1 .2 15.2" ></a-box>
<a-box class="highbar" position="0 6 -7.6" color="white" scale="20 .2 0.1" material="emissiveIntensity: 1; emissive:#ffffff" ></a-box>
<a-box class="highbar" position="0 6 7.6" color="white" scale="20 .2 0.1" material="emissiveIntensity: 1; emissive:#ffffff" ></a-box>
<a-box class="highbar" position="-10.1 6 0" color="white" scale="0.1 .2 15" material="emissiveIntensity: 1; emissive:#ffffff" ></a-box>
<a-box class="highbar" position="10.1 6 0" color="white" scale="0.1 .2 15" material="emissiveIntensity: 1; emissive:#ffffff" ></a-box>
<!-- Wall Lights -->
<a-entity light="color: #e7dbc1; intensity: 0.3; type: point; distance: 6" position="-3 2.5 -6.5" ></a-entity>
<a-box scale="0.5 0.5 0.5" position="-3 2.5 -7.5" material="emissiveIntensity: 2; emissive:#ffffff"></a-box>
<a-box scale="0.55 0.2 0.55" position="-3 2.5 -7.5" material="color: black"></a-box>
<a-entity light="color: #e7dbc1; intensity: 0.3; type: point; distance: 6" position="-3 2.5 6.5" ></a-entity>
<a-box scale="0.5 0.5 0.5" position="-3 2.5 7.5" material="emissiveIntensity: 2; emissive:#ffffff"></a-box>
<a-box scale="0.55 0.2 0.55" position="-3 2.5 7.5" material="color: black"></a-box>
<a-entity light="color: #e7dbc1; intensity: 0.3; type: point; distance: 6" position="3 2.5 -6.5" ></a-entity>
<a-box scale="0.5 0.5 0.5" position="3 2.5 -7.5" material="emissiveIntensity: 2; emissive:#ffffff"></a-box>
<a-box scale="0.55 0.2 0.55" position="3 2.5 -7.5" material="color: black"></a-box>
<a-entity light="color: #e7dbc1; intensity: 0.3; type: point; distance: 6" position="3 2.5 6.5" ></a-entity>
<a-box scale="0.5 0.5 0.5" position="3 2.5 7.5" material="emissiveIntensity: 2; emissive:#ffffff"></a-box>
<a-box scale="0.55 0.2 0.55" position="3 2.5 7.5" material="color: black"></a-box>
<!-- Roof -->
<a-entity mixin="arc" position="-3 7 0" rotation="0 90 0"></a-entity>
<a-entity mixin="arc" position="-7 7 0" rotation="0 90 0"></a-entity>
<a-entity mixin="arc" position="0 7 0" rotation="0 90 0"></a-entity>
<a-entity mixin="arc" position="7 7 0" rotation="0 90 0"></a-entity>
<a-entity mixin="arc" position="3 7 0" rotation="0 90 0"></a-entity>
<!-- Ceiling -->
<a-entity id="ceiling" position="0 6.5 0">
<a-box class="roof" position="8 0 0" depth="1" height="4.5" width="15" shadow="receive :true" material="color: white;" rotation="90 -90 0">
</a-box>
<a-box class="roof" position="-8 0 0" depth="1" height="4.5" width="15" shadow="receive :true" material="color: white;" rotation="90 90 0">
</a-box>
<a-box class="roof" position="0 0 -5.25" depth="1" height="4.5" width="12" shadow="receive :true" material="color: white;" rotation="90 0 0">
</a-box>
<a-box class="roof" position="0 0 5.25" depth="1" height="4.5" width="12" shadow="receive :true" material="color: white;" rotation="90 180 0">
</a-box>
<!-- Ceiling Lights -->
<a-entity id="ceiling-lights" position="0 -0.45 0">
<a-box scale="0.5 0.2 0.5" position="8 0 3" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="8 0 1" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="8 0 -1" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="8 0 -3" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="5 0 5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="3 0 5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="1 0 5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-1 0 5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-3 0 5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-5 0 5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="5 0 -5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="3 0 -5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="1 0 -5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-1 0 -5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-3 0 -5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-5 0 -5" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-8 0 3" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-8 0 1" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-8 0 -1" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
<a-box scale="0.5 0.2 0.5" position="-8 0 -3" material="emissiveIntensity: 1; emissive:#ffffff"></a-box>
</a-entity>
</a-entity>
<!-- Floor -->
<a-entity id="groundfloor">
<!-- Floor - the Navmesh is here to avoid the user going through walls and panels -->
<a-circle class="anchor collidable" radius="0.3" color="grey" visible=false rotation="-90 0 0"></a-circle>
<a-entity gltf-model="#3DNavMesh" position="0 -0.1 0" scale="1 1 0.6" visible="false" nav-mesh></a-entity>
<a-plane id="floor" material="src: #floortexture; repeat: 4 3" height="15.4" width="20.4" rotation="-90 0 0" shadow="receive :true"></a-plane>
<a-plane position="0 0.05 0" width=3 height=1.5 material="src: #floorlogo;" rotation="-90 0 0" opacity=0.9 fit-texture></a-plane>
</a-entity>
<!-- Small Wall TV Screens -->
<a-plane material="src: #video1" position="-9.88 1.5 4" height="1" width="1.5" rotation="0 90 0" ></a-plane>
<a-plane material="color:black;" position="-9.9 1.5 4" height="1.1" width="1.6" rotation="0 90 0" ></a-plane>
<a-plane material="src: #video2" position="-9.88 1.5 -4" height="1" width="1.5" rotation="0 90 0" ></a-plane>
<a-plane material="color:black;" position="-9.9 1.5 -4" height="1.1" width="1.6" rotation="0 90 0" ></a-plane>
<!-- room logo -->
<a-entity id="doorlogo" position="-9.9 4 0" >
<a-plane material="src: #roomlogo;" height="1.5" width="2" rotation="0 90 0" opacity=0.9 fit-texture></a-plane>
</a-entity>
<!-- Door to next room -->
<a-entity id="door" position="-9.9 1.25 0">
<a-box class="door" position="0 0 0.75" src="#woodendoor" scale="0.1 2.5 1.475" ></a-box>
<a-box class="door" position="0 0 -0.75" src="#woodendoor" scale="0.1 2.5 1.475" ></a-box>
<a-box class="door" position="0 0 -1.55" color="black" scale="0.15 2.5 0.2" ></a-box>
<a-box class="door" position="0 0 1.55" color="black" scale="0.15 2.5 0.2" ></a-box>
<a-box class="door" position="0 1.25 0" color="black" scale="0.15 0.2 3.3" ></a-box>
<a-plane material="color:black;" height="2.5" width="0.2" rotation="0 90 0" ></a-plane>
</a-entity>
<!-- Slideshow screen -->
<a-entity id="slideshow" position="9.8 3 0" rotation="0 -90 0">
<a-plane id="background" class="poster" material="src: #001;" position="0 0 0.2" height="4.5" width="8" ></a-plane>
<a-plane color="black" position="0 0 0" height="4.9" width="8.4" rotation="0 0 0" ></a-plane>
<a-triangle id ="previous" class="collidable" position="-4.5 0 0.03" rotation ="0 0 90" colorize></a-triangle>
<a-triangle id ="next" class="collidable" position="4.5 0 0.03" rotation ="0 0 -90" colorize></a-triangle>
<!-- MainScreen Webcam Overlay-->
<a-entity id="thewebcam2" position="0 0 0.5" visible="false">>
<a-plane material="src: #webcam" position="0 0 0" height="4.9" width="8.4" rotation="0 0 0" ></a-plane>
</a-entity>
<!-- Floor Anchor -->
<a-circle class="anchor collidable" position="0.2 -2.9 5" radius="0.3" color="grey" opacity="0.6" rotation="-90 0 0">
<a-entity text="width: 3; color: #ffffff; value: MOVE \nHERE; align: center" background="color: #ffffff"></a-entity>
<a-circle radius="0.4" position="0 0 -0.02" color="white" opacity="0.4" rotation="0 0 0">
</a-circle></a-circle>
</a-entity>
<!-- Scene Lighting -->
<a-entity light="color: #ffffff; type: ambient; intensity: 0.65 "></a-entity>
<a-entity light="color: #c8e2e5; type: directional; intensity: 0.4; castShadow : true " position="-4 4.5 1"></a-entity>
<a-entity light="color: #e5dcc8; type: directional; intensity: 0.4; castShadow : true " position="4 4.5 -1"></a-entity>
<!-- Animated sky with clouds -->
<a-sky src="#sky" animation="property: rotation;from : 0 0 0; to: 0 -360 0; loop: true;easing: linear; dur: 300000"></a-sky>
<!-- the camera -->
<a-entity id="rig" position="-6.8 0 0" rotation="0 -90 0" movement-controls="constrainToNavMesh: true" >
<a-entity oculus-touch-controls="hand: right" laser-controls="hand: right" raycaster="objects: .collidable;interval:5" line="color: #149ca3; opacity: 0.5"></a-entity>
<a-entity oculus-touch-controls="hand: left" laser-controls="hand: left" raycaster="objects: .collidable;interval:5" line="color: #149ca3; opacity: 0.5" thumbstick-logging></a-entity>
<a-entity camera id="thecamera" look-controls position="0 1.6 0" >
<a-entity id="thewebcam" visible="false">
<a-circle material="src: #webcam" radius="0.2" position="1 0.5 -1"></a-circle>
<a-circle radius="0.25" position="1.1 0.55 -1.1" animation="property: opacity; from:0; to:1; dir: alternate; loop: true; dur: 1000;" material="color: white; emissive: #FFFFFF; emissiveIntensity: 0.3"></a-circle>
</a-entity>
</a-entity>
</a-entity>
<div class="a-loader-title" style="display: none;">XRLAB 3DPR</div></a-scene>
<script src="./js/ui.js"></script>
<script src="./js/movement.js"></script>
<script src="./js/webcam.js"></script>
</body>
</html>