-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d672c6
commit 944de5d
Showing
3 changed files
with
47 additions
and
10 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
35 changes: 35 additions & 0 deletions
35
resources/Materials/TestSuite/stdlib/texture/image_transform.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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.38"> | ||
<nodegraph name="test_place2d"> | ||
<image name="image_number_1" type="color3"> | ||
<input name="file" type="filename" value="resources/Images/grid.png" /> | ||
<input name="default" type="color3" value="1.0, 0.0, 0.0" /> | ||
<input name="texcoord" type="vector2" nodename="a_place2d" /> | ||
</image> | ||
<output name="out" type="color3" nodename="image_number_1" /> | ||
<texcoord name="texcoord1" type="vector2" /> | ||
<place2d name="a_place2d" type="vector2"> | ||
<input name="texcoord" type="vector2" nodename="texcoord1" /> | ||
<input name="offset" type="vector2" value="0.0, 0.0" /> | ||
<input name="rotate" type="float" value="30.0" unittype="angle" unit="degree" /> | ||
<input name="scale" type="vector2" value="2.0, 1.0" /> | ||
<input name="pivot" type="vector2" value="0.5, 0.5" /> | ||
</place2d> | ||
</nodegraph> | ||
<nodegraph name="test_place2dframe"> | ||
<image name="image_number_1" type="color3"> | ||
<input name="file" type="filename" value="resources/Images/grid.png" /> | ||
<input name="default" type="color3" value="1.0, 0.0, 0.0" /> | ||
<input name="texcoord" type="vector2" nodename="a_place2d" /> | ||
</image> | ||
<output name="out" type="color3" nodename="image_number_1" /> | ||
<texcoord name="texcoord1" type="vector2" /> | ||
<place2dframe name="a_place2d" type="vector2"> | ||
<input name="texcoord" type="vector2" nodename="texcoord1" /> | ||
<input name="offset" type="vector2" value="0.2, 0.2" /> | ||
<input name="rotate" type="float" value="30.0" unittype="angle" unit="degree" /> | ||
<input name="scale" type="vector2" value="2.0, 1.0" /> | ||
<input name="pivot" type="vector2" value="0.5, 0.5" /> | ||
</place2dframe> | ||
</nodegraph> | ||
</materialx> |