forked from the3deer/android-3D-model-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcube2.obj
53 lines (48 loc) · 785 Bytes
/
cube2.obj
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
mtllib cube.mtl
# vertex indexes start at 1
#
# (3)------(7)
# /| /|
# / | / |
# (4)------(8) |
# | | | |
# | (1)----|-(5)
# | / | /
# |/ |/
# (2)------(6)
v 0.0 0.0 0.0
v 0.0 0.0 1.0
v 0.0 1.0 0.0
v 0.0 1.0 1.0
v 1.0 0.0 0.0
v 1.0 0.0 1.0
v 1.0 1.0 0.0
v 1.0 1.0 1.0
vn 0.0 0.0 1.0
vn 0.0 0.0 -1.0
vn 0.0 1.0 0.0
vn 0.0 -1.0 0.0
vn 1.0 0.0 0.0
vn -1.0 0.0 0.0
vt 0.0 0.0
vt 1.0 0.0
vt 1.0 1.0
vt 0.0 1.0
g cube
usemtl face1
f 1/4/2 7/2/2 5/3/2
f 1/4/2 3/1/2 7/2/2
usemtl face2
f 1/1/6 4/3/6 3/4/6
f 1/1/6 2/2/6 4/3/6
usemtl face3
f 3/1/3 8/3/3 7/4/3
f 3/1/3 4/2/3 8/3/3
usemtl face4
f 5/2/5 7/3/5 8/4/5
f 5/2/5 8/4/5 6/1/5
usemtl face5
f 1/1/4 5/2/4 6/3/4
f 1/1/4 6/3/4 2/4/4
usemtl face6
f 4/1/1 2/4/1 8/2/1 6/3/1