-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
74 lines (63 loc) · 2.38 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
70
71
72
73
74
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Procedural Terrain Generation (Cmps290B Project)</title>
<meta charset="utf-8">
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container"></div>
<div id="info">
Terrain generation using <a href="#" target="_blank">3D Perlin Noise</a>,
<a href="#" target="_blank">3D Simplex Noise</a>,
<a href="#" target="_blank">Diamond Square</a>, and a couple of hybrid ones.
</div>
<div id="viewport"></div>
<div id="loading">Loading...</div>
<div id="footer">
<div class="c">
day / night: <span class="h">n</span>
</div>
<div class="c">
generate terrain: <span class="h">g</span>
</div>
<div class="c">
move forward: <span class="h">↑</span>
</div>
<div class="c">
move to the right: <span class="h">→</span>
</div>
<div class="c">
move backwards: <span class="h">↓</span>
</div>
</div>
<script src="js/lib/Three.js"></script>
<script src="js/Terrain/FirstPersonNavigationControls.js"></script>
<script src="js/Terrain/PerlinNoise.js"></script>
<script src="js/Terrain/SimplexNoise.js"></script>
<script src="js/lib/Detector.js"></script>
<script src="js/Terrain/Morphs.js"></script>
<script src="js/Terrain/TextureHelper.js"></script>
<script src="js/lib/RequestAnimationFrame.js"></script>
<script src="js/lib/Stats.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js/lib/jquery.mousewheel.min.js"></script>
<script src="js/Terrain/ShaderTerrain.js"></script>
<script src="js/Terrain/ShaderExtras.js"></script>
<script src="js/Terrain/postprocessing/EffectComposer.js"></script>
<script src="js/Terrain/postprocessing/RenderPass.js"></script>
<script src="js/Terrain/postprocessing/BloomPass.js"></script>
<script src="js/Terrain/postprocessing/ShaderPass.js"></script>
<script src="js/Terrain/postprocessing/MaskPass.js"></script>
<script src="js/Terrain/postprocessing/SavePass.js"></script>
<script src="js/Terrain/postprocessing/DiamondSquare.js"></script>
<script src="js/lib/dat.gui.min.js"></script>
<script src="js/Terrain/Algorithms.js"></script>
<script src="js/Terrain.js"></script>
<script>
var terrain = new Terrain();
terrain.start();
</script>
</body>
</html>