-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
97 lines (78 loc) · 4.52 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- CSS -->
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="style/style.css" />
<link rel="stylesheet" type="text/css" href="style/gh-fork-ribbon.css">
<link rel="stylesheet" type="text/css" href="style/css_spinner.css">
<!-- Libs -->
<script type="text/javascript" src="libs/sylvester.js"></script>
<script type="text/javascript" src="libs/stats.min.js"></script>
<script type="text/javascript" src="libs/dat.gui.min.js"></script>
<script type="text/javascript" src="libs/screenfull.js"></script>
<script type="text/javascript" src="libs/hdrpng.min.js"></script>
<!-- Utilitaries -->
<script type="text/javascript" src="utils/glUtils.js"></script>
<script type="text/javascript" src="utils/matrix_utility.js"></script>
<script type="text/javascript" src="utils/custom_utils.js"></script>
<!-- Shaders -->
<script type="text/javascript" src="shaders/vertex_shader.vs"></script>
<script type="text/javascript" src="shaders/fragment_shader.fs"></script>
<script type="text/javascript" src="shaders/depth_vertex_shader.vs"></script>
<script type="text/javascript" src="shaders/depth_fragment_shader.fs"></script>
<script type="text/javascript" src="shaders/generate_skybox_vertex_shader.vs"></script>
<script type="text/javascript" src="shaders/generate_skybox_fragment_shader.fs"></script>
<script type="text/javascript" src="shaders/skybox_vertex_shader.vs"></script>
<script type="text/javascript" src="shaders/skybox_fragment_shader.fs"></script>
<script type="text/javascript" src="shaders/generate_irradiance_map_fragment_shader.fs"></script>
<script type="text/javascript" src="shaders/generate_prefilter_map_fragment_shader.fs"></script>
<script type="text/javascript" src="shaders/integrate_brdf_vertex_shader.vs"></script>
<script type="text/javascript" src="shaders/integrate_brdf_fragment_shader.fs"></script>
<!-- 3D models -->
<script type="text/javascript" src="models/mask.js"></script>
<script type="text/javascript" src="models/ball.js"></script>
<script type="text/javascript" src="models/sword.js"></script>
<script type="text/javascript" src="models/sphere.js"></script>
<script type="text/javascript" src="models/gun.js"></script>
<!-- Objects -->
<script type="text/javascript" src="objects/lightsource.js"></script>
<script type="text/javascript" src="objects/mesh.js"></script>
<script type="text/javascript" src="objects/camera.js"></script>
<script type="text/javascript" src="objects/entity.js"></script>
<script type="text/javascript" src="objects/texture.js"></script>
<script type="text/javascript" src="objects/meshMaterial.js"></script>
<!-- Main loop logic -->
<script type="text/javascript" src="main/gui.js"></script>
<script type="text/javascript" src="main/inputs.js"></script>
<script type="text/javascript" src="main/startup.js"></script>
<script type="text/javascript" src="main/main_loop.js"></script>
</head>
<body onload="start()">
<canvas id="glCanvas" width="640" height="480">
Your browser doesn't appear to support the
<code><canvas></code> element.
</canvas>
<div id="loader">
<div class="sk-folding-cube">
<div class="sk-cube1 sk-cube"></div>
<div class="sk-cube2 sk-cube"></div>
<div class="sk-cube4 sk-cube"></div>
<div class="sk-cube3 sk-cube"></div>
</div>
<div id="loadPercent">
0%
</div>
</div>
<a target="_blank" class="github-fork-ribbon left-bottom fixed" href="https://github.com/frguthmann/VirtuaLightJS" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105041515-2', 'auto');
ga('send', 'pageview');
</script>
</html>