Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix door model UV for open and close (#2372)
Introduce _c and _d door types to correctly render the texture faces for the open and closed state.
- Loading branch information
Showing
5 changed files
with
155 additions
and
37 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Blender v2.79 (sub 0) OBJ File: '' | ||
# www.blender.org | ||
mtllib door_a2.mtl | ||
o door_a2 | ||
v -0.499000 1.499000 -0.499000 | ||
v -0.499000 -0.499000 -0.499000 | ||
v -0.499000 -0.499000 -0.375000 | ||
v -0.499000 1.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.375000 | ||
v 0.499000 1.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.499000 | ||
v 0.499000 1.499000 -0.499000 | ||
vt 0.894737 1.000000 | ||
vt 0.894737 0.000000 | ||
vt 0.842105 0.000000 | ||
vt 0.842105 1.000000 | ||
vt 0.421052 1.000000 | ||
vt 0.421052 0.000000 | ||
vt 0.000001 0.000000 | ||
vt 0.000001 1.000000 | ||
vt 0.894737 1.000000 | ||
vt 0.894737 0.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.947368 1.000000 | ||
vt 0.842105 1.000000 | ||
vt 0.842105 0.000000 | ||
vt 0.421052 0.000000 | ||
vt 0.421052 1.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.947368 0.500000 | ||
vt 1.000000 0.500000 | ||
vt 1.000000 0.000000 | ||
vt 1.000000 1.000000 | ||
vt 1.000000 0.500000 | ||
vt 0.947368 0.500000 | ||
vt 0.947368 1.000000 | ||
vn -1.0000 -0.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 0.0000 -1.0000 0.0000 | ||
vn 0.0000 1.0000 0.0000 | ||
usemtl None.009 | ||
s 1 | ||
f 1/1/1 2/2/1 3/3/1 4/4/1 | ||
f 4/5/2 3/6/2 5/7/2 6/8/2 | ||
f 6/9/3 5/10/3 7/11/3 8/12/3 | ||
f 8/13/4 7/14/4 2/15/4 1/16/4 | ||
f 2/17/5 7/18/5 5/19/5 3/20/5 | ||
f 8/21/6 1/22/6 4/23/6 6/24/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,50 @@ | ||
# Blender v2.76 (sub 0) OBJ File: 'door_b.blend' | ||
# Blender v2.79 (sub 0) OBJ File: '' | ||
# www.blender.org | ||
mtllib door_b.mtl | ||
o Cube_Cube.001 | ||
v -0.499000 -0.499000 -0.499000 | ||
v -0.499000 1.499000 -0.499000 | ||
v -0.499000 -0.499000 -0.375000 | ||
v -0.499000 1.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.499000 | ||
o door_b | ||
v 0.499000 1.499000 -0.499000 | ||
v 0.499000 -0.499000 -0.375000 | ||
v 0.499000 1.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.499000 | ||
v -0.499000 1.499000 -0.375000 | ||
v -0.499000 -0.499000 -0.375000 | ||
v -0.499000 1.499000 -0.499000 | ||
v -0.499000 -0.499000 -0.499000 | ||
vt 0.894736 1.000000 | ||
vt 0.947368 1.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.894736 0.000000 | ||
vt 0.842105 1.000000 | ||
vt 0.842105 0.000000 | ||
vt 0.894737 0.000000 | ||
vt 0.894737 1.000000 | ||
vt 0.421053 1.000000 | ||
vt 0.421053 0.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.947368 1.000000 | ||
vt 0.842105 0.000000 | ||
vt 0.842105 1.000000 | ||
vt 0.894736 1.000000 | ||
vt 0.894736 0.000000 | ||
vt 0.842105 0.000000 | ||
vt 0.421053 1.000000 | ||
vt 0.000000 1.000000 | ||
vt 0.000000 0.000000 | ||
vt 1.000000 0.000000 | ||
vt 0.421053 0.000000 | ||
vt 1.000000 0.500000 | ||
vt 0.947368 0.500000 | ||
vt 0.947368 1.000000 | ||
vt 1.000000 1.000000 | ||
vn -1.000000 0.000000 0.000000 | ||
vn 0.000000 0.000000 1.000000 | ||
vn 1.000000 0.000000 0.000000 | ||
vn 0.000000 0.000000 -1.000000 | ||
vn 0.000000 -1.000000 0.000000 | ||
vn 0.000000 1.000000 0.000000 | ||
usemtl None | ||
s off | ||
f 2/1/1 1/2/1 3/3/1 4/4/1 | ||
f 4/5/2 3/6/2 7/2/2 8/1/2 | ||
f 8/4/3 7/3/3 5/7/3 6/8/3 | ||
f 6/9/4 5/10/4 1/6/4 2/5/4 | ||
f 1/11/5 5/12/5 7/13/5 3/7/5 | ||
f 6/8/6 2/13/6 4/12/6 8/14/6 | ||
vt 1.000000 0.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.947368 0.500000 | ||
vt 1.000000 0.500000 | ||
vn 1.0000 0.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 0.0000 -1.0000 0.0000 | ||
vn 0.0000 1.0000 0.0000 | ||
usemtl None.007 | ||
s 1 | ||
f 1/1/1 2/2/1 3/3/1 4/4/1 | ||
f 2/5/2 5/6/2 6/7/2 3/8/2 | ||
f 5/9/3 7/10/3 8/11/3 6/12/3 | ||
f 7/13/4 1/14/4 4/15/4 8/16/4 | ||
f 4/17/5 3/18/5 6/19/5 8/20/5 | ||
f 7/21/6 5/22/6 2/23/6 1/24/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Blender v2.79 (sub 0) OBJ File: '' | ||
# www.blender.org | ||
mtllib door_b2.mtl | ||
o door_b2 | ||
v 0.499000 1.499000 -0.499000 | ||
v 0.499000 1.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.375000 | ||
v 0.499000 -0.499000 -0.499000 | ||
v -0.499000 1.499000 -0.375000 | ||
v -0.499000 -0.499000 -0.375000 | ||
v -0.499000 1.499000 -0.499000 | ||
v -0.499000 -0.499000 -0.499000 | ||
vt 0.842105 1.000000 | ||
vt 0.894737 1.000000 | ||
vt 0.894737 0.000000 | ||
vt 0.842105 0.000000 | ||
vt 0.421052 1.000000 | ||
vt 0.000001 1.000000 | ||
vt 0.000001 0.000000 | ||
vt 0.421052 0.000000 | ||
vt 0.894737 1.000000 | ||
vt 0.947368 1.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.894737 0.000000 | ||
vt 0.842105 1.000000 | ||
vt 0.421052 1.000000 | ||
vt 0.421052 0.000000 | ||
vt 0.842105 0.000000 | ||
vt 1.000000 0.500000 | ||
vt 0.947368 0.500000 | ||
vt 0.947368 1.000000 | ||
vt 1.000000 1.000000 | ||
vt 1.000000 0.000000 | ||
vt 0.947368 0.000000 | ||
vt 0.947368 0.500000 | ||
vt 1.000000 0.500000 | ||
vn 1.0000 0.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 0.0000 -1.0000 0.0000 | ||
vn 0.0000 1.0000 0.0000 | ||
usemtl None.010 | ||
s 1 | ||
f 1/1/1 2/2/1 3/3/1 4/4/1 | ||
f 2/5/2 5/6/2 6/7/2 3/8/2 | ||
f 5/9/3 7/10/3 8/11/3 6/12/3 | ||
f 7/13/4 1/14/4 4/15/4 8/16/4 | ||
f 4/17/5 3/18/5 6/19/5 8/20/5 | ||
f 7/21/6 5/22/6 2/23/6 1/24/6 |