forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify render test suite (AcademySoftwareFoundation#1717)
- Loading branch information
1 parent
bbaeaba
commit 1d5ac95
Showing
12 changed files
with
33 additions
and
387 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
2 changes: 1 addition & 1 deletion
2
resources/Materials/TestSuite/pbrlib/bsdf/generalized_schlick.mtlx
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
25 changes: 0 additions & 25 deletions
25
resources/Materials/TestSuite/pbrlib/bsdf/wedge_conductor.mtlx
This file was deleted.
Oops, something went wrong.
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
52 changes: 26 additions & 26 deletions
52
resources/Materials/TestSuite/pbrlib/surfaceshader/surfacematerial_with_graph.mtlx
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,53 +1,53 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.38"> | ||
<surfacematerial name="SurfaceMaterial_All_Mapped_NodeGraph_Mapped" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodegraph="Surf_Displace_NodeGraph" output="out" /> | ||
<input name="displacementshader" type="displacementshader" nodegraph="Surf_Displace_NodeGraph" output="displacementshader" /> | ||
</surfacematerial> | ||
<nodegraph name="Surf_Displace_NodeGraph"> | ||
<nodegraph name="NG_Blue"> | ||
<standard_surface name="standard_surface" type="surfaceshader"> | ||
<input name="base_color" type="color3" value="0.3, 0.3, 1" /> | ||
</standard_surface> | ||
<displacement name="displacement" type="displacementshader" /> | ||
<output name="out" type="surfaceshader" nodename="standard_surface" /> | ||
<output name="displacementshader" type="displacementshader" nodename="displacement" /> | ||
</nodegraph> | ||
<surfacematerial name="SurfaceMaterial_PinkNodeGraph" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodegraph="Pink_surface_shader_in_graph" /> | ||
<input name="displacementshader" type="displacementshader" value="" /> | ||
<surfacematerial name="M_Blue" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodegraph="NG_Blue" output="out" /> | ||
<input name="displacementshader" type="displacementshader" nodegraph="NG_Blue" output="displacementshader" /> | ||
</surfacematerial> | ||
<nodegraph name="Pink_surface_shader_in_graph"> | ||
|
||
<nodegraph name="NG_Magenta"> | ||
<standard_surface name="standard_surface1" type="surfaceshader"> | ||
<input name="base_color" type="color3" value="1, 0, 1" /> | ||
</standard_surface> | ||
<output name="out" type="surfaceshader" nodename="standard_surface1" /> | ||
</nodegraph> | ||
<nodegraph name="White_SurfaceMaterial_In_NodeGraph"> | ||
<surfacematerial name="White_SurfaceMaterial" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="White_Shader" /> | ||
<input name="displacementshader" type="displacementshader" value="" /> | ||
</surfacematerial> | ||
<standard_surface name="White_Shader" type="surfaceshader" /> | ||
<surfacematerial name="M_Magenta" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodegraph="NG_Magenta" /> | ||
</surfacematerial> | ||
|
||
<standard_surface name="SR_Orange" type="surfaceshader"> | ||
<input name="base_color" type="color3" value="1, 0.3, 0" /> | ||
</standard_surface> | ||
<surfacematerial name="M_Orange" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="SR_Orange" /> | ||
</surfacematerial> | ||
|
||
<nodegraph name="NG_White"> | ||
<ramp4 name="ramp4" type="color3"> | ||
<input name="valuetl" type="color3" value="0, 0, 1" /> | ||
<input name="valuetr" type="color3" value="1, 0, 0" /> | ||
<input name="valuebl" type="color3" value="0, 1, 0" /> | ||
<input name="valuebr" type="color3" value="0, 1, 1" /> | ||
</ramp4> | ||
<output name="out" type="material" nodename="White_SurfaceMaterial" /> | ||
<standard_surface name="SR_White" type="surfaceshader" /> | ||
<surfacematerial name="M_White" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="SR_White" /> | ||
</surfacematerial> | ||
<output name="out" type="material" nodename="M_White" /> | ||
</nodegraph> | ||
<surfacematerial name="Orange_Top_Level_SurfaceMaterial" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="Orange_Top_level_surface_shader" /> | ||
<input name="displacementshader" type="displacementshader" value="" /> | ||
</surfacematerial> | ||
<standard_surface name="Orange_Top_level_surface_shader" type="surfaceshader"> | ||
<input name="base_color" type="color3" value="1, 0.3, 0" /> | ||
</standard_surface> | ||
<surfacematerial name="Fail_surfacematerial_No_Shader" type="material"> | ||
|
||
<surfacematerial name="M_EmptySurface" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" value="" /> | ||
<input name="displacementshader" type="displacementshader" value="" /> | ||
</surfacematerial> | ||
<volumematerial name="Fail_volumematerial_unsupported" type="material"> | ||
<volumematerial name="M_EmptyVolume" type="material"> | ||
<input name="volumeshader" type="volumeshader" value="" /> | ||
</volumematerial> | ||
</materialx> |
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
Oops, something went wrong.