diff options
Diffstat (limited to 'share/hackvr/meshes/cube.obj')
-rw-r--r-- | share/hackvr/meshes/cube.obj | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/share/hackvr/meshes/cube.obj b/share/hackvr/meshes/cube.obj new file mode 100644 index 0000000..e04b7a8 --- /dev/null +++ b/share/hackvr/meshes/cube.obj @@ -0,0 +1,47 @@ +# cube.obj +# source: https://gist.githubusercontent.com/noonat/1131091/raw/3ef186720b1bb6e704c46aebf57a42677d1638af/cube.obj + +o cube +mtllib cube.mtl + +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 |