Created
July 10, 2019 08:31
-
-
Save baratgabor/3a6f667920c25b8f99ad3a375758013a to your computer and use it in GitHub Desktop.
Simple sample ASCII Obj mesh file variations for Obj importer testing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Vertices: 8 | |
# Points: 0 | |
# Lines: 0 | |
# Faces: 6 | |
# Materials: 1 | |
o 1 | |
# Vertex list | |
v -0.5 -0.5 0.5 | |
v -0.5 -0.5 -0.5 | |
v -0.5 0.5 -0.5 | |
v -0.5 0.5 0.5 | |
v 0.5 -0.5 0.5 | |
v 0.5 -0.5 -0.5 | |
v 0.5 0.5 -0.5 | |
v 0.5 0.5 0.5 | |
# Point/Line/Face list | |
usemtl Default | |
f 4 3 2 1 | |
f 2 6 5 1 | |
f 3 7 6 2 | |
f 8 7 3 4 | |
f 5 8 4 1 | |
f 6 7 8 5 | |
# End of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Vertices: 8 | |
# Points: 0 | |
# Lines: 0 | |
# Faces: 6 | |
# Materials: 1 | |
o 1 | |
# Vertex list | |
v -0.5 -0.5 0.5 | |
v -0.5 -0.5 -0.5 | |
v -0.5 0.5 -0.5 | |
v -0.5 0.5 0.5 | |
v 0.5 -0.5 0.5 | |
v 0.5 -0.5 -0.5 | |
v 0.5 0.5 -0.5 | |
v 0.5 0.5 0.5 | |
# Point/Line/Face list | |
usemtl Default | |
f 4 3 2 1 | |
f 2 -3 -4 1 | |
f 3 -2 -3 2 | |
f -1 -2 3 4 | |
f -4 -1 4 1 | |
f -3 -2 -1 -4 | |
# End of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cube.obj | |
# | |
o cube | |
v -0.500000 -0.500000 0.500000 | |
v 0.500000 -0.500000 0.500000 | |
v -0.500000 0.500000 0.500000 | |
v 0.500000 0.500000 0.500000 | |
v -0.500000 0.500000 -0.500000 | |
v 0.500000 0.500000 -0.500000 | |
v -0.500000 -0.500000 -0.500000 | |
v 0.500000 -0.500000 -0.500000 | |
g cube | |
s 1 | |
f 1 2 3 | |
f 3 2 4 | |
s 2 | |
f 3 4 5 | |
f 5 4 6 | |
s 3 | |
f 5 6 7 | |
f 7 6 8 | |
s 4 | |
f 7 8 1 | |
f 1 8 2 | |
s 5 | |
f 2 8 4 | |
f 4 8 6 | |
s 6 | |
f 7 1 5 | |
f 5 1 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cube.obj | |
# | |
o cube | |
v -0.500000 -0.500000 0.500000 | |
v 0.500000 -0.500000 0.500000 | |
v -0.500000 0.500000 0.500000 | |
v 0.500000 0.500000 0.500000 | |
v -0.500000 0.500000 -0.500000 | |
v 0.500000 0.500000 -0.500000 | |
v -0.500000 -0.500000 -0.500000 | |
v 0.500000 -0.500000 -0.500000 | |
vn 0.000000 0.000000 1.000000 | |
vn 0.000000 1.000000 0.000000 | |
vn 0.000000 0.000000 -1.000000 | |
vn 0.000000 -1.000000 0.000000 | |
vn 1.000000 0.000000 0.000000 | |
vn -1.000000 0.000000 0.000000 | |
g cube | |
s 1 | |
f 1//1 2//1 3//1 | |
f 3//1 2//1 4//1 | |
s 2 | |
f 3//2 4//2 5//2 | |
f 5//2 4//2 6//2 | |
s 3 | |
f 5//3 6//3 7//3 | |
f 7//3 6//3 8//3 | |
s 4 | |
f 7//4 8//4 1//4 | |
f 1//4 8//4 2//4 | |
s 5 | |
f 2//5 8//5 4//5 | |
f 4//5 8//5 6//5 | |
s 6 | |
f 7//6 1//6 5//6 | |
f 5//6 1//6 3//6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cube.obj | |
# | |
o cube | |
v -0.500000 -0.500000 0.500000 | |
v 0.500000 -0.500000 0.500000 | |
v -0.500000 0.500000 0.500000 | |
v 0.500000 0.500000 0.500000 | |
v -0.500000 0.500000 -0.500000 | |
v 0.500000 0.500000 -0.500000 | |
v -0.500000 -0.500000 -0.500000 | |
v 0.500000 -0.500000 -0.500000 | |
vt 0.000000 0.000000 | |
vt 1.000000 0.000000 | |
vt 0.000000 1.000000 | |
vt 1.000000 1.000000 | |
g cube | |
s 1 | |
f 1/1 2/2 3/3 | |
f 3/3 2/2 4/4 | |
s 2 | |
f 3/1 4/2 5/3 | |
f 5/3 4/2 6/4 | |
s 3 | |
f 5/4 6/3 7/2 | |
f 7/2 6/3 8/1 | |
s 4 | |
f 7/1 8/2 1/3 | |
f 1/3 8/2 2/4 | |
s 5 | |
f 2/1 8/2 4/3 | |
f 4/3 8/2 6/4 | |
s 6 | |
f 7/1 1/2 5/3 | |
f 5/3 1/2 3/4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cube.obj | |
# | |
o cube | |
v -0.500000 -0.500000 0.500000 | |
v 0.500000 -0.500000 0.500000 | |
v -0.500000 0.500000 0.500000 | |
v 0.500000 0.500000 0.500000 | |
v -0.500000 0.500000 -0.500000 | |
v 0.500000 0.500000 -0.500000 | |
v -0.500000 -0.500000 -0.500000 | |
v 0.500000 -0.500000 -0.500000 | |
vt 0.000000 0.000000 | |
vt 1.000000 0.000000 | |
vt 0.000000 1.000000 | |
vt 1.000000 1.000000 | |
vn 0.000000 0.000000 1.000000 | |
vn 0.000000 1.000000 0.000000 | |
vn 0.000000 0.000000 -1.000000 | |
vn 0.000000 -1.000000 0.000000 | |
vn 1.000000 0.000000 0.000000 | |
vn -1.000000 0.000000 0.000000 | |
g cube | |
s 1 | |
f 1/1/1 2/2/1 3/3/1 | |
f 3/3/1 2/2/1 4/4/1 | |
s 2 | |
f 3/1/2 4/2/2 5/3/2 | |
f 5/3/2 4/2/2 6/4/2 | |
s 3 | |
f 5/4/3 6/3/3 7/2/3 | |
f 7/2/3 6/3/3 8/1/3 | |
s 4 | |
f 7/1/4 8/2/4 1/3/4 | |
f 1/3/4 8/2/4 2/4/4 | |
s 5 | |
f 2/1/5 8/2/5 4/3/5 | |
f 4/3/5 8/2/5 6/4/5 | |
s 6 | |
f 7/1/6 1/2/6 5/3/6 | |
f 5/3/6 1/2/6 3/4/6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment