-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (99 loc) · 1.89 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
98
99
<!doctype html>
<html>
<head>
<title>MoreMaterials Pro-Editor</title>
<style>
html, body {
background: #000000;
margin: 0;
padding: 0;
}
canvas {
display: block;
float: right;
}
input {
background-color: #000000;
border: 0px;
border-bottom: 1px solid #808080;
color: #00ff00;
display: block;
height: 17px;
padding: 0px;
padding-bottom: 2px;
position: absolute;
width: 200px;
z-index: 1;
}
textarea {
background-color: #000000;
border: 0px;
color: #00ff00;
display: block;
position: absolute;
top: 20px;
width: 200px;
}
.controls {
color: #ffffff;
text-align: right;
position: absolute;
right: 0px;
z-index: 1;
}
</style>
<script src="js/yaml.js"></script>
<script src="js/three.js"></script>
<script src="js/detector.js"></script>
<script src="js/manipulatortool.js"></script>
<script src="js/customquad.js"></script>
<script src="js/editor.js"></script>
</head>
<body>
<div class="controls">
Mouse 1 = rotate<br/>
Mouse 3 = zoom<br/>
</div>
<input value="texture.png" alt="img/texture.png"/>
<textarea>
BoundingBox: "0 0 0 1 1 1"
Shapes:
- Texture: 0
Coords: |
0 1 1
1 1 1
1 1 0
0 1 0
- Texture: 1
Coords: |
0 0 1
0 1 1
0 1 0
0 0 0
- Texture: 2
Coords: |
1 0 1
1 1 1
0 1 1
0 0 1
- Texture: 3
Coords: |
1 0 0
1 1 0
1 1 1
1 0 1
- Texture: 4
Coords: |
0 0 0
0 1 0
1 1 0
1 0 0
- Texture: 5
Coords: |
1 0 1
0 0 1
0 0 0
1 0 0
</textarea>
</body>
</html>