33 lines
545 B
Plaintext
33 lines
545 B
Plaintext
mtllib cube.mtl
|
|
|
|
v 0.000000 2.000000 2.000000
|
|
v 0.000000 0.000000 2.000000
|
|
v 2.000000 0.000000 2.000000
|
|
v 2.000000 2.000000 2.000000
|
|
v 0.000000 2.000000 0.000000
|
|
v 0.000000 0.000000 0.000000
|
|
v 2.000000 0.000000 0.000000
|
|
v 2.000000 2.000000 0.000000
|
|
# 8 vertices
|
|
|
|
g front cube
|
|
usemtl white
|
|
f 1 2 3 4
|
|
# two white spaces between 'back' and 'cube'
|
|
g back cube
|
|
# expects white material
|
|
f 8 7 6 5
|
|
g right cube
|
|
usemtl red
|
|
f 4 3 7 8
|
|
g top cube
|
|
usemtl white
|
|
f 5 1 4 8
|
|
g left cube
|
|
usemtl green
|
|
f 5 6 2 1
|
|
g bottom cube
|
|
usemtl white
|
|
f 2 6 7 3
|
|
# 6 elements
|