-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #687. Checkboxes and layer property assaignment now complete
- Loading branch information
Showing
9 changed files
with
220 additions
and
7 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
22 changes: 22 additions & 0 deletions
22
tests/importer/directives/fixtures/attr_lod_good_additive_1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
I | ||
800 | ||
OBJ | ||
|
||
GLOBAL_cockpit_lit | ||
POINT_COUNTS 3 0 0 3 | ||
|
||
VT 1 0 1 -0 -1 -0 0.625 1 | ||
VT 1 0 -1 -0 -1 -0 0.625 0.75 | ||
VT -1 0 1 -0 -1 -0 0.375 1 | ||
|
||
IDX 0 | ||
IDX 1 | ||
IDX 2 | ||
|
||
# Unit Test Overview | ||
# This tests that a basic use of 3 additive LODs works | ||
# Having tests 3 and 4 shows we don't ever accidentally simply select all and pass | ||
ATTR_LOD 0 200 | ||
TRIS 0 3 | ||
|
||
# Build with Blender 2.80 (sub 75) (build b'f6cb5f54494e'). Exported with XPlane2Blender 4.1.0-beta.1+101.NO_BUILD_NUMBR |
26 changes: 26 additions & 0 deletions
26
tests/importer/directives/fixtures/attr_lod_good_additive_3.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
I | ||
800 | ||
OBJ | ||
|
||
GLOBAL_cockpit_lit | ||
POINT_COUNTS 3 0 0 3 | ||
|
||
VT 1 0 1 -0 -1 -0 0.625 1 | ||
VT 1 0 -1 -0 -1 -0 0.625 0.75 | ||
VT -1 0 1 -0 -1 -0 0.375 1 | ||
|
||
IDX 0 | ||
IDX 1 | ||
IDX 2 | ||
|
||
# Unit Test Overview | ||
# This tests that a basic use of 3 additive LODs works | ||
# Having tests 3 and 4 shows we don't ever accidentally simply select all and pass | ||
ATTR_LOD 0 200 | ||
TRIS 0 3 | ||
ATTR_LOD 0 400 | ||
TRIS 0 3 | ||
ATTR_LOD 0 600 | ||
TRIS 0 3 | ||
|
||
# Build with Blender 2.80 (sub 75) (build b'f6cb5f54494e'). Exported with XPlane2Blender 4.1.0-beta.1+101.NO_BUILD_NUMBR |
28 changes: 28 additions & 0 deletions
28
tests/importer/directives/fixtures/attr_lod_good_additive_4.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
I | ||
800 | ||
OBJ | ||
|
||
GLOBAL_cockpit_lit | ||
POINT_COUNTS 3 0 0 3 | ||
|
||
VT 1 0 1 -0 -1 -0 0.625 1 | ||
VT 1 0 -1 -0 -1 -0 0.625 0.75 | ||
VT -1 0 1 -0 -1 -0 0.375 1 | ||
|
||
IDX 0 | ||
IDX 1 | ||
IDX 2 | ||
|
||
# Unit Test Overview | ||
# This tests that a basic use of 4 additive LODs works | ||
# | ||
ATTR_LOD 0 200 | ||
TRIS 0 3 | ||
ATTR_LOD 0 400 | ||
TRIS 0 3 | ||
ATTR_LOD 0 600 | ||
TRIS 0 3 | ||
ATTR_LOD 0 800 | ||
TRIS 0 3 | ||
|
||
# Build with Blender 2.80 (sub 75) (build b'f6cb5f54494e'). Exported with XPlane2Blender 4.1.0-beta.1+101.NO_BUILD_NUMBR |
21 changes: 21 additions & 0 deletions
21
tests/importer/directives/fixtures/attr_lod_good_selective_1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
I | ||
800 | ||
OBJ | ||
|
||
GLOBAL_cockpit_lit | ||
POINT_COUNTS 3 0 0 3 | ||
|
||
VT 1 0 1 -0 -1 -0 0.625 1 | ||
VT 1 0 -1 -0 -1 -0 0.625 0.75 | ||
VT -1 0 1 -0 -1 -0 0.375 1 | ||
|
||
IDX 0 | ||
IDX 1 | ||
IDX 2 | ||
|
||
# Unit Test Overview | ||
# This tests that a basic use of 3 selective LODs works. | ||
ATTR_LOD 200 400 | ||
TRIS 0 3 | ||
|
||
# Build with Blender 2.80 (sub 75) (build b'f6cb5f54494e'). Exported with XPlane2Blender 4.1.0-beta.1+101.NO_BUILD_NUMBR |
26 changes: 26 additions & 0 deletions
26
tests/importer/directives/fixtures/attr_lod_good_selective_3.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
I | ||
800 | ||
OBJ | ||
|
||
GLOBAL_cockpit_lit | ||
POINT_COUNTS 3 0 0 3 | ||
|
||
VT 1 0 1 -0 -1 -0 0.625 1 | ||
VT 1 0 -1 -0 -1 -0 0.625 0.75 | ||
VT -1 0 1 -0 -1 -0 0.375 1 | ||
|
||
IDX 0 | ||
IDX 1 | ||
IDX 2 | ||
|
||
# Unit Test Overview | ||
# This tests that a basic use of 3 selective LODs works. | ||
# Having 3 tests we don't accidentally just select the 4th | ||
ATTR_LOD 0 200 | ||
TRIS 0 3 | ||
ATTR_LOD 200 400 | ||
TRIS 0 3 | ||
ATTR_LOD 400 600 | ||
TRIS 0 3 | ||
|
||
# Build with Blender 2.80 (sub 75) (build b'f6cb5f54494e'). Exported with XPlane2Blender 4.1.0-beta.1+101.NO_BUILD_NUMBR |
28 changes: 28 additions & 0 deletions
28
tests/importer/directives/fixtures/attr_lod_good_selective_4.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
I | ||
800 | ||
OBJ | ||
|
||
GLOBAL_cockpit_lit | ||
POINT_COUNTS 3 0 0 3 | ||
|
||
VT 1 0 1 -0 -1 -0 0.625 1 | ||
VT 1 0 -1 -0 -1 -0 0.625 0.75 | ||
VT -1 0 1 -0 -1 -0 0.375 1 | ||
|
||
IDX 0 | ||
IDX 1 | ||
IDX 2 | ||
|
||
# Unit Test Overview | ||
# This tests that a basic use of 4 selective LODs works | ||
# | ||
ATTR_LOD 0 200 | ||
TRIS 0 3 | ||
ATTR_LOD 200 400 | ||
TRIS 0 3 | ||
ATTR_LOD 400 600 | ||
TRIS 0 3 | ||
ATTR_LOD 600 800 | ||
TRIS 0 3 | ||
|
||
# Build with Blender 2.80 (sub 75) (build b'f6cb5f54494e'). Exported with XPlane2Blender 4.1.0-beta.1+101.NO_BUILD_NUMBR |