-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (59 loc) · 2.5 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
<!DOCTYPE html>
<html>
<head>
<script src="./scripts/lib/p5.latest.js"></script>
<script src="./scripts/lib/p5.dom.min.js"></script>
<script src="./scripts/lib/p5.sound.min.js"></script>
<script src="./scripts/lib/fontawesome-kit.js"></script> <!-- https://fontawesome.com/kits/60a456108b/icons -->
<link rel="stylesheet" type="text/css" href="style.css" />
<meta charset="utf-8" />
</head>
<body>
<script>
window.pointerLock = false
</script>
<script src="scripts/DevTools.js" defer></script>
<script src="scripts/DOMUtils.js" ></script>
<div id="toolbar">
<label for="checkbox">
<input type="checkbox" class="custom-checkbox" checked data-key="objects" id="toolbar-objects">
<i id="toolbar-icons" class="fa-solid fa-bullseye fa-sm" style="color: #b3ffc9;"></i>
<i id="toolbar-icons" class="fa-solid fa-box fa-sm" style="color: #b3ffc9;"></i>
Object
</label>
<label> <input type="checkbox" class="custom-checkbox" checked data-key="lighting"id="toolbar-lighting">
<i id="toolbar-icons" class="fa-solid fa-bullseye fa-sm" style="color: #b3ffc9;"></i>
<i id="toolbar-icons" class="fa-regular fa-lightbulb fa-sm" style="color: #b3ffc9;"></i>
Lighting
</label>
<label> <input type="checkbox" class="custom-checkbox" checked data-key="objects"id="toolbar-camera">
<i id="toolbar-icons" class="fa-solid fa-bullseye fa-sm" style="color: #b3ffc9;"></i>
<i id="toolbar-icons" class="fa-solid fa-camera fa-sm" style="color: #b3ffc9;"></i>
Camera
</label> <br>
<button id="reload" onclick=" window.location.reload()">Reload</button>
<select name="scene"id="save-scene">
<option>Save Scene (todo)</option>
<option>Save Objects</option>
<option>Save Lighting</option>
<option>Save All</option>
</select>
</div>
<div id="camera-translator" class="hover-stats"></div>
<p id="controls" onclick=" window.location.reload()"><br> Press 'C' to enable W-A-S-D Controls & look around mode with
mouse.</p>
<script src="scripts/Models.js" defer></script>
<div id="hud-container">
<div id="objects-translator"></div>
<div id="lighting-translator"></div>
</div>
<script type="module" src="scripts/HUD/HudFactory.js" defer></script>
<script src="scripts/ModelLoader.js" defer></script>
<script src="scripts/Camera/FirstPerson.js"></script>
<script src="scripts/Events.js"></script>
<div id="p5_loading" class="loadingclass">
<h1 style="font-family: 'courier';">Models Loading ...</h1>
</div>
<script src="sketch.js" defer></script>
</body>
</html>