-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
104 lines (87 loc) · 2.75 KB
/
index.html
File metadata and controls
104 lines (87 loc) · 2.75 KB
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
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>VSTOOLS</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="ui-sidebar">
<div class="ui-panel app-file">
<h2>File</h2>
<p>
<label>
Select SHP, WEP, ZUD, ZND, or ARM<br>
<input type="file" class="file1">
</label>
</p>
<p>
<label>
Select SEQ or MPD<br>
<input type="file" class="file2">
</label>
</p>
<p>
<button class="load">Open</button>
</p>
</div>
<div class="ui-panel app-animation">
<h2>Animation</h2>
<p>
<button class="prev"><</button>
<input class="animation" size="3">
<button class="next">></button>
<span class="animation-count"></span>
</p>
</div>
<div class="ui-panel app-textures">
<h2>Textures</h2>
<div class="textures"></div>
</div>
<div class="ui-panel app-settings">
<h2>Settings</h2>
<p>
<label>
<input type="checkbox" class="wireframe"> Wireframe
</label>
</p>
<p>
<label>
<input type="checkbox" class="no-vertex-colors"> Disable Vertex Colors
</label>
</p>
<p>
<label>
<input type="checkbox" class="no-texture"> Disable Texture
</label>
</p>
<p>
<label>
<input type="checkbox" class="normals"> Use Normal Material
</label>
</p>
<p>
<label>
<input type="checkbox" class="skeleton"> Show Skeleton
</label>
</p>
</div>
<div class="ui-panel app-export">
<h2>Export</h2>
<!-- <p><button id="exportCollada">Export Collada</button></p> -->
<p><button class="export-obj">Export OBJ</button></p>
<p><small>Exports the geometry <em>as is</em>, without skeleton and animations.</small></p>
</div>
</div>
<script type="module" src="https://unpkg.com/three@0.116.1/build/three.module.js" crossorigin></script>
<script type="module" src="https://unpkg.com/three@0.116.1/examples/jsm/controls/OrbitControls.js" crossorigin></script>
<script type="module" src="https://unpkg.com/three@0.116.1/examples/jsm/exporters/OBJExporter.js" crossorigin></script>
<script type="module" src="src/Viewer.js"></script>
<script type="module">
import { Viewer } from "./src/Viewer.js";
const viewer = new Viewer();
viewer.run();
</script>
</body>
</html>