-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressing notes and refactor 'experimental' files to unit test locat…
…ions.
- Loading branch information
Showing
27 changed files
with
67 additions
and
174 deletions.
There are no files selected for viewing
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
3 changes: 3 additions & 0 deletions
3
.../experimental/struct/struct_texcoord.mtlx → ...Suite/stdlib/structs/struct_texcoord.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
2 changes: 2 additions & 0 deletions
2
...rimental/struct/struct_texcoordGroup.mtlx → .../stdlib/structs/struct_texcoordGroup.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 12 additions & 12 deletions
24
...aries/experimental/experimental_defs.mtlx → ...tSuiteLibraries/structs/structs_defs.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,35 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.38"> | ||
<!-- | ||
Copyright Contributors to the MaterialX Project | ||
SPDX-License-Identifier: Apache-2.0 | ||
Declarations of experimental data types and nodes | ||
--> | ||
|
||
<!-- name clashes with variable names will hopefully be resolved by | ||
recommending struct type names be suffixed with `_struct` --> | ||
recommending struct type names be suffixed with `_struct` --> | ||
|
||
<typedef name="texcoord_struct"> | ||
<member name="ss" type="float" value="0.5"/> | ||
<member name="tt" type="float" value="0.5"/> | ||
</typedef> | ||
|
||
<nodedef name="ND_extract_s_texcoord" node="extracts" nodegroup="shader" > | ||
<input name="in" type="texcoord_struct" value="{0.1;0.1}" /> | ||
<output name="out" type="float" value="0.0" /> | ||
</nodedef> | ||
|
||
|
||
<!-- name clashes with variable names will hopefully be resolved by | ||
recommending struct type names be suffixed with `_struct` --> | ||
|
||
<typedef name="texcoordGroup_struct"> | ||
<member name="st_0" type="texcoord_struct" value="{0.1;0.1}"/> | ||
<member name="st_1" type="texcoord_struct" value="{0.5;0.5}"/> | ||
<member name="st_2" type="texcoord_struct" value="{0.9;0.9}"/> | ||
</typedef> | ||
|
||
<nodedef name="ND_extract_s_texcoord" node="extracts" nodegroup="shader" > | ||
<input name="in" type="texcoord_struct" value="{0.1;0.1}" /> | ||
<output name="out" type="float" value="0.0" /> | ||
</nodedef> | ||
|
||
<nodedef name="ND_extract_s_texcoordGroup" node="extractsgroup" nodegroup="shader" > | ||
<input name="in" type="texcoordGroup_struct" value="{{0.1;0.2};{0.3;0.4};{0.5;0.6}}"/> | ||
<input name="index" type="integer" value="0"/> | ||
<output name="out" type="float" value="0.0" /> | ||
</nodedef> | ||
|
||
|
||
|
||
</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
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
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
Oops, something went wrong.