-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
39 lines (34 loc) · 1.45 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Visor3D</title>
<style>
body { margin: 0; }
canvas { width: 100%; height: 100% }
</style>
</head>
<body>
<!-- Hidden file input -->
<input type="file" id="files" name="files[]" />
<!-- Drag and drop target -->
<div id="drop_zone">Drop a .stl or .dae file directly here</div>
<!-- Checkbox to enable/disable anaglyph view -->
<div>
<input type="checkbox" id="checkAnaglyph" name="checkAnaglyph" value="Anaglyph view" />
Anaglyph view
<input type="checkbox" id="checkBBox" name="checkBBox" value="View Bounding Box" />
View Bounding Box
</div>
<script src="js/three.js"></script>
<script src="js/fonts/optimer_regular.typeface.js"></script>
<script src="js/Detector.js"></script>
<script src="js/loaders/STLLoader.js"></script>
<script src="js/loaders/ColladaLoader.js"></script>
<script src="js/libs/stats.min.js"></script>
<script src="js/controls/OrbitControls.js"></script>
<script src="js/org/yombo/visor3d/shaders.js"></script>
<script src="js/org/yombo/visor3d/main.js"></script>
</body>
</html>