-
Notifications
You must be signed in to change notification settings - Fork 69
Material Test Cases
bsupnik edited this page Jan 15, 2016
·
3 revisions
All objects in this test case sub-section are standard scenery objects, e.g. instancing is not indicated.
3 Materials are specified:
- Non-draped, tex A, shiny rat 0.5, poly os off
- Non-draped, tex A, shiny rat 1.0, poly os off
- Non-draped, tex A, shiny rat 1.0, poly os on Expected behavior: project exports, ATTR_shiny_rat and ATTR_poly_os used to change materials on the fly.
3 Materials are used:
- Non-draped, tex A, shiny 0.5
- Non-draped, tex A, shiny 1.0
- Draped, tex B, shiny 0.7 Expected result: project exports, draped uses different texture than day time, ATTR_shiny_rat used for main section and SPECULAR used for draped.
2 Materials are used:
- Non-draped tex A
- Non-draped tex B Expected result: failure. Textures A and B are not compatible within the same non-draped texture slot.
3 materials are used:
- Non-draped tex A
- Draped tex A
- Draped tex B Expected result: failure. Textures A and B can't both be used for draping
3 materials are used:
- Non-draped tex A, specular 1.0
- Draped tex B, specular 0.5
- Draped tex B, specular 0.7 Expected result: failure. The draped texture can't have two different specularities.
2 Materials are used:
- Non-draped texture A
- Panel texture B Expected result: failure. Panel texture is illegal in scenery objects.
These tests apply to an instanced scenery object
The instanced object has two materials:
- Texture A, specularity 0.5, asphalt surface
- Texture A, specularity 0.5, concrete surface Expected result: object exports, GLOBAL_specular used to set up specularit,y ATTR_hard appears in object.
The instanced object has two materials:
- Texture A, specularity 0.5
- Texture A, specularity 1.0 Expected result: export fails, specularity mismatch in an instanced object.
The instanced object has two materials:
- Texture A, not draped, specular 0.5
- Texture B, draped, specular 1.0 Expected result: export passes, specularity and texture set up separately for draped vs not draped objects.
All objects in this test case sub-section are aircraft-attached objects, with a valid panel texture set up for the project.
The object has two materials:
- One panel texture and
- One object texture Expected result: export passes, using ATTR_cockpit
The object has three materials:
- One panel texture
- One object texture
- One draped Expected result: Export fails, draping is not allowed in aircraft-attached object.
The object has two materials:
- One panel texture
- One object texture. The object texture mesh has a manipulator set; the export fails due to a manipulator in a non-cockpit object.