forked from datadesk/vr-interactives-three-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththree-demo.html
39 lines (36 loc) · 1.24 KB
/
three-demo.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Building VR interactives with Three.js</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<style>
html, body { margin:0; padding:0; overflow:hidden;}
</style>
</head>
<body>
<script>
WebVRConfig = {
// Forces availability of VR mode.
FORCE_ENABLE_VR: false,
};
</script>
<!-- Assets we'll need - Three.js, controls, and the webVR manager and polyfill -->
<script src="js/es6-promise.min.js"></script>
<script src="js/three.min.js"></script>
<script src="js/three.flycontrols.js"></script>
<script src="js/three.terrainloader.js"></script>
<script src="js/VRControls.js"></script>
<script src="js/VREffect.js"></script>
<script src="js/webvr-polyfill.js"></script>
<script src="js/webvr-manager.js"></script>
<script>
// We'll start writing code here
</script>
</body>
</html>