-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (56 loc) · 2.22 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
<!--Grupo 00-->
<!--Rodrigo Correia - 58180-->
<!--Laura Cunha - 58188-->
<!--João Pereira - 58189-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Projeto 2 - Grupo 00</title>
<link rel="stylesheet" href="index.css">
<script defer src="index.js" type="module"></script>
</head>
<body>
<div class="loading-screen">
<h1>LOADING SCENE</h1>
<progress max="100" value="0"></progress>
<p id="loading-text">Loading Planets</p>
</div>
<canvas class="hidden" tabindex="0">
</canvas>
<div class="overlay hidden">
<div class="options-menu">
<h1>Options Menu</h1>
<p id="fps-counter">FPS: 60</p>
<h2>Light:</h2>
<label for="shader-select">Shader type:</label>
<select id="shader-select" name="">
<option value="phong">Phong</option>
<option value="gouraud">Gouraud</option>
</select>
<div class="specular-slider">
<label for="specular-slider">Specular ammount:</label>
<div class="specular-slider-container">
<input type="range" min="0" max="100" value="10" class="slider" id="specular-slider"
name="specular-slider">
<div class="specular-slider-range-values-container">
<label for="specular-slider">0</label>
<label for="specular-slider">10</label>
</div>
</div>
<label for="specular-slider" id="specular-slider-value-label">1</label>
</div>
<input type="checkbox" id="diffuse-light" checked="true">
<label for="diffuse-light"> Diffuse light</label>
<input type="checkbox" id="ambient-light" checked="true">
<label for="ambient-light"> Ambient light</label>
<h2>Extras:</h2>
<div class="stop-planets-div">
<input type="checkbox" id="stop-planets">
<label for="stop-planets"> Stop planets & asteroids</label>
</div>
</div>
</div>
</body>
</html>