-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
76 lines (69 loc) · 2.66 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
<!doctype html>
<html>
<head>
<title>Shape Carving Editor</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<!-- <script src="vendor/three.js/Three.js"></script> -->
<!-- <script src="vendor/three.js/Detector.js"></script> -->
<!-- <script src="vendor/three.js/Stats.js"></script> -->
<!-- <script src="vendor/threex/THREEx.screenshot.js"></script> -->
<!-- <script src="vendor/threex/THREEx.FullScreen.js"></script> -->
<!-- <script src="vendor/threex/THREEx.WindowResize.js"></script> -->
<!-- <script src="vendor/threex.dragpancontrols.js"></script> -->
<script src="jscolor/jscolor.js"></script>
<!--Mesh algorithms-->
<script src="./dist/main.js"></script>
<link href="css/main.css" rel="stylesheet"/>
</head>
<body>
<!-- three.js container -->
<div id="container"></div>
<!-- info on screen display -->
<div id="info">
<div class="top">
Shape Carving Editor
</div>
<div class="bottom" id="inlineDoc" >
- <i>p</i> for screenshot
</div>
<div class="controls">
<table>
<tr>
<td> Front: <input type="checkbox" id="frontSelect" /> </td>
<td> Back: <input type="checkbox" id="backSelect" /> </td>
</tr>
<tr>
<td> <canvas id="frontCanvas" class="editCanvas" > </canvas> </td>
<td> <canvas id="backCanvas" class="editCanvas" > </canvas> </td>
</tr>
<tr>
<td> Top: <input type="checkbox" id="topSelect" /> </td>
<td> Bottom: <input type="checkbox" id="bottomSelect" /> </td>
</tr>
<tr>
<td> <canvas id="topCanvas" class="editCanvas" > </canvas> </td>
<td> <canvas id="bottomCanvas" class="editCanvas" > </canvas> </td>
</tr>
<tr>
<td> Left: <input type="checkbox" id="leftSelect" /> </td>
<td> Right: <input type="checkbox" id="rightSelect" /> </td>
</tr>
<tr>
<td> <canvas id="leftCanvas" class="editCanvas" > </canvas> </td>
<td> <canvas id="rightCanvas" class="editCanvas" > </canvas> </td>
</tr>
</table>
<p> Paint: <input class="color" id="paintColor" value="ffffff"/> </p>
<p> <input type="button" id="clearSelected" value="Clear Selected" /> Show Guides: <input type="checkbox" id="showGuides" checked="checked" /> </p>
<p>
<input type="button" id="saveImage" value="Save Image" />
<input type="button" id="loadImage" value="Load Image" />
<input type="button" id="exportMesh" value="Export Mesh" />
</p>
</div>
</div>
<script type="text/javascript">
</script>
</body>
</html>