-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
executable file
·43 lines (35 loc) · 1.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>VR World Navigation</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #000;
color: #fff;
margin: 0px;
padding: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div id="full"> <!-- this is the div that gets full screened -->
<div id="nav"></div> <!-- The nav system itself lives here -->
<iframe id="container"></iframe> <!-- navigate to webvr urls in an iframe -->
</div>
</body>
<!-- libraries used -->
<script src="js/lib/three.min.js"></script>
<script src="js/lib/threex.dynamictexture.js"></script>
<!-- VRControls.js acquires positional information from connected VR devices and applies the transformations to a three.js camera object. -->
<script src="js/vr/VRControls.js"></script>
<!-- vrcursor.js is the focus cursor -->
<script src="js/vr/vrcursor.js"></script>
<script src="js/vr/PhoneVR.js"></script>
<!-- VREffect.js handles stereo camera setup and rendering. -->
<script src="js/vr/VREffect.js"></script>
<!-- This is the main code for the nav system -->
<script src="js/worldNav.js"></script>
</html>