mtllib ./box.obj.mtl

o test_box
# Vertices
v -1.0 -1.0 -1.0
v -1.0 1.0 -1.0
v 1.0 -1.0 -1.0
v 1.0 1.0 -1.0
v -1.0 -1.0 1.0
v -1.0 1.0 1.0
v 1.0 -1.0 1.0
v 1.0 1.0 1.0

# Normals
vn 1 0 0
vn -1 0 0
vn 0 1 0
vn 0 -1 0
vn 0 0 1
vn 0 0 -1

# Texture coordinates
vt 0.0 0.0
vt 0.0 1.0
vt 1.0 0.0
vt 1.0 1.0

# Polygonal faces
# Each number corresponds to the vertices' definition order.
#
#      6---------8
#     /|        /|
#    / |       / |
#   5--+------7  |
#   |  2------|--4
#   | /       | /
#   |/        |/
#   1---------3
#
#   z  y
#   | /
#   |/
#   +----x
#
usemtl material_0
f 1/1/6 2/2/6 4/4/6 3/3/6
f 1/1/4 3/2/4 7/4/4 5/3/4
f 1/1/2 5/2/2 6/4/2 2/3/2
f 8/1/5 6/2/5 5/4/5 7/3/5
f 8/1/1 7/2/1 3/4/1 4/3/1
f 8/1/3 4/2/3 2/4/3 6/3/3
