Created
October 14, 2019 21:37
-
-
Save bhalonen/2e3dcb79169cb9b66f39ecb0d474904f to your computer and use it in GitHub Desktop.
example obj
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 | |
usemtl 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