-
Notifications
You must be signed in to change notification settings - Fork 0
/
esercizio2.html
45 lines (41 loc) · 1.72 KB
/
esercizio2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Esercitazione 2 - Esercizio 2</title>
<link rel="stylesheet" href="build/style.css">
</head>
<body>
<canvas id="webgl" width="800" height="800">
Please use a browser that supports "canvas"
</canvas>
<div class="link-home">
<div class="esercizio">
<a href="/" title="Torna indietro">
<span>Torna indietro</span>
</a>
</div>
</div>
<div class="radio-model">
<p class="radio-model-title">Select reflection model</p>
<div class="radio-button">
<input id="phong" type="radio" value="0" name="light-model" checked />
<label for="phong">Phong model</label>
</div>
<div class="radio-button">
<input id="mod-phong" type="radio" value="1" name="light-model" />
<label for="mod-phong">Modified Phong model</label>
</div>
<div class="radio-button">
<input id="max-phong" type="radio" value="2" name="light-model" />
<label for="max-phong">Max-Phong model</label>
</div>
</div>
<script type="text/javascript" src="./lib/webgl-utils.js"></script>
<script type="text/javascript" src="./lib/webgl-debug.js"></script>
<script type="text/javascript" src="./lib/cuon-utils.js"></script>
<script type="text/javascript" src="./lib/cuon-matrix.js"></script>
<script type="text/javascript" src="./lib/dat.gui.js"></script>
<script type="text/javascript" src="src/esercizio2.js"></script>
</body>
</html>