Skip to content

Commit

Permalink
Added Y-flipped cube for video texture testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cwoffenden committed Feb 28, 2024
1 parent a358875 commit 6f036fc
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions dat/cube-video.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#
# object Cube (for video textures)
#

v -5.0000 0.0000 5.0000
v -5.0000 0.0000 -5.0000
v 5.0000 0.0000 -5.0000
v 5.0000 0.0000 5.0000
v -5.0000 10.0000 5.0000
v 5.0000 10.0000 5.0000
v 5.0000 10.0000 -5.0000
v -5.0000 10.0000 -5.0000
# 8 vertices

vn 0.0000 -1.0000 -0.0000
vn 0.0000 1.0000 -0.0000
vn 0.0000 0.0000 1.0000
vn 1.0000 0.0000 -0.0000
vn 0.0000 0.0000 -1.0000
vn -1.0000 0.0000 -0.0000
# 6 vertex normals

vt 1.0000 1.0000 0.0000
vt 1.0000 0.0000 0.0000
vt 0.0000 0.0000 0.0000
vt 0.0000 1.0000 0.0000
# 4 texture coords (flipped Y)

o Cube
g Cube
s 2
f 1/1/1 2/2/1 3/3/1
f 3/3/1 4/4/1 1/1/1
s 4
f 5/4/2 6/1/2 7/2/2
f 7/2/2 8/3/2 5/4/2
s 8
f 1/4/3 4/1/3 6/2/3
f 6/2/3 5/3/3 1/4/3
s 16
f 4/4/4 3/1/4 7/2/4
f 7/2/4 6/3/4 4/4/4
s 32
f 3/4/5 2/1/5 8/2/5
f 8/2/5 7/3/5 3/4/5
s 64
f 2/4/6 1/1/6 5/2/6
f 5/2/6 8/3/6 2/4/6
# 12 faces

0 comments on commit 6f036fc

Please sign in to comment.