-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (56 loc) · 1.32 KB
/
index.html
File metadata and controls
56 lines (56 loc) · 1.32 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" href="./build/Styles/fonts.css" />
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
#three-d {
margin: 0;
padding: 0;
overflow: auto;
position: absolute;
}
#video-container {
margin: 0;
padding: 0;
overflow: auto;
position: absolute;
}
#hud {
position: absolute;
margin: 0;
padding: 0;
}
#rendering {
display: none;
overflow: hidden;
background-color: green;
}
.hidden {
display: none;
}
</style>
<script type="importmap">
{
"imports": {
"three": "./build/Scripts/Libs/three.module.min.js",
"three/examples/jsm/loaders/GLTFLoader": "./build/Scripts/Libs/examples/jsm/loaders/GLTFLoader.js"
}
}
</script>
<script type="module" src="./build/Scripts/Libs/howler.min.js"></script>
</head>
<body>
<div id="three-d"></div>
<video id="video-container" class="hidden" height="480px"></video>
<canvas id="hud" width="640px" height="480px"></canvas>
<canvas id="rendering" width="4096px" height="4096px"></canvas>
<script type="module" src="./build/Scripts/main.js"></script>
</body>
</html>