-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
52 lines (46 loc) · 1.7 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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D Software Renderer</title>
<link rel="stylesheet" href="styles.css">
<script src="scripts/main.js" type="module"></script>
</head>
<body>
<div class="head">
<p class="title">3D Software Renderer</p>
<p id="frame_counter">0fps</p>
</div>
<div class="body">
<canvas id="canvas" width="960px" height="540px"></canvas>
<div class="resbox">
<div class="opt" id="res1"></div>
<div class="opt" id="res2"></div>
<div class="opt" id="res4"></div>
<div class="opt" id="res5"></div>
<div class="opt" id="res8"></div>
<div class="opt" id="res10"></div>
<div class="opt" id="res20"></div>
</div>
<div class="resbox">
<div class="opt" id="psp1"></div>
<div class="opt" id="psp2"></div>
<div class="opt" id="psp3"></div>
<div class="opt" id="psp4"></div>
<div class="opt" id="psp5"></div>
</div>
</div>
<div class="foot">
<h3>{w, a, s, d, space, c, shift} to Move</h3>
<h3>{click and drag} to Rotate around</h3>
<h3>{q, e, r, f} to Rotate directional light</h3>
<h3>{i, o} to increase or decrease the brightness of the directional light</h3>
<h3>{n} to toggle render face normal</h3>
<h3>{t} to toggle render face tangent, bitangent</h3>
<h3>{m} to toggle normal mapping enabled</h3>
<h3>{l} to toggle lighting</h3>
<h3>{b} to toggle render skybox</h3>
<h3>{Esc} to Pause</h3>
</div>
</body>
</html>