forked from stephomi/sculptgl
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
82 lines (73 loc) · 2.65 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
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<meta name='description' content='SculptGL is a small sculpting application powered by JavaScript and webGL.'>
<meta name='author' content='stéphane GINIER'>
<title> SculptGL - A WebGL sculpting app </title>
<link rel='stylesheet' href='css/style.css' type='text/css' />
<script src='lib/jquery-2.0.3.min.js'></script>
<script src='lib/jquery.mousewheel.js'></script>
<script>
'use strict';
$(document).ready(function ()
{
var sculptgl = new SculptGL();
sculptgl.start();
});
</script>
</head>
<!--
____ _ _ ____ _
/ ___| ___ _ _| |_ __ | |_ / ___| |
\___ \ / __| | | | | '_ \| __| | _| |
___) | (__| |_| | | |_) | |_| |_| | |___
|____/ \___|\__,_|_| .__/ \__|\____|_____|
|_|
A tiny sculpting application. This is basically a port in JavaScript/WebGL
from a previous C++/OpenGL application that I made.
Stéphane GINIER
-->
<body oncontextmenu='return false;'>
<input type='file' id='fileopen' style='display: none'/>
<input type='file' id='backgroundopen' style='display: none'/>
<canvas id='canvas'></canvas>
<!-- wacom tablet plugin -->
<object id="tablet-plugin" type="application/x-wacomtabletplugin"></object>
<!-- 3rd party libraries -->
<script src='lib/dat.gui.min.js'></script>
<script src='lib/filesaver.min.js'></script>
<script src='lib/gl-matrix-min.js'></script>
<script src='lib/poly2tri.min.js'></script>
<!-- 3D and math stuffs -->
<script src='math3d/camera.js'></script>
<script src='math3d/geometry.js'></script>
<script src='math3d/picking.js'></script>
<script src='math3d/grid.js'></script>
<!-- mesh related stuffs -->
<script src='object/mesh.js'></script>
<script src='object/aabb.js'></script>
<script src='object/triangle.js'></script>
<script src='object/vertex.js'></script>
<script src='object/octree.js'></script>
<script src='object/render.js'></script>
<script src='object/shader.js'></script>
<script src='object/states.js'></script>
<script src='object/background.js'></script>
<!-- sculpting and topology stuffs -->
<script src='editor/sculpt.js'></script>
<script src='editor/topology.js'></script>
<script src='editor/subdivision.js'></script>
<script src='editor/decimation.js'></script>
<script src='editor/adaptive.js'></script>
<script src='editor/cut.js'></script>
<!-- misc -->
<script src='misc/import.js'></script>
<script src='misc/export.js'></script>
<script src='misc/utils.js'></script>
<!-- misc -->
<script src='gui/gui.js'></script>
<!-- main -->
<script src='sculptgl.js'></script>
</body>
</html>