Skip to content

Commit

Permalink
Merge pull request #5938 from murraystevenson/arnoldIntNodules
Browse files Browse the repository at this point in the history
Arnold metadata : Show int parameters in Graph Editor
  • Loading branch information
johnhaddon authored Jul 5, 2024
2 parents 31bb222 + 1fa2b27 commit 0c74fa0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ Improvements

- Cryptomatte : Renamed `__manifestScene` plug to `manifestScene` so it is no longer considered to be private.
- EditScopePlugValueWidget : Width can now be configured via `<layoutName>:width` metadata. This enables customisation of the Edit Scope menu width by registering metadata in a startup file, such as `Gaffer.Metadata.registerValue( GafferSceneUI.RenderPassEditor.Settings, "editScope", "layout:width", 450 )` to double the standard width of the Edit Scope menu in the Render Pass Editor.
- ArnoldShader : The `data_input` parameter of the `color_jitter` shader is now visible in the GraphEditor.
- ArnoldShader :
- The following parameters are now visible in the GraphEditor :
- The `aov_input` parameter of the `aov_write_int` shader.
- The `data_input` parameter of the `color_jitter` shader.
- The `input_int` and `seed` parameters of the `random` shader.
- The `index` parameters of the `switch_rgba` and `switch_shader` shaders.
- The `default` parameter of the `user_data_int` shader.
- The following parameters can now be made visible in the GraphEditor :
- The `flake_layers` parameter of the `car_paint` shader.
- The `data_seed`, `proc_seed`, `obj_seed`, and `face_seed` parameters of the `color_jitter` shader.

Fixes
-----
Expand Down
16 changes: 16 additions & 0 deletions arnoldPlugins/gaffer.mtd
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,8 @@

gaffer.nodeMenu.category STRING "AOV"

[attr aov_input]
linkable BOOL true

[node aov_write_rgb]

Expand Down Expand Up @@ -1095,6 +1097,7 @@
page STRING "Flake"
[attr flake_layers]
page STRING "Flake"
linkable BOOL true
[attr flake_normal_randomize]
page STRING "Flake"
[attr flake_coord_space]
Expand Down Expand Up @@ -1257,6 +1260,7 @@
page STRING "User Data"
[attr data_seed]
page STRING "User Data"
linkable BOOL true

[attr proc_gain_min]
page STRING "Procedural"
Expand All @@ -1272,6 +1276,7 @@
page STRING "Procedural"
[attr proc_seed]
page STRING "Procedural"
linkable BOOL true

[attr obj_gain_min]
page STRING "Object"
Expand All @@ -1287,6 +1292,7 @@
page STRING "Object"
[attr obj_seed]
page STRING "Object"
linkable BOOL true

[attr face_gain_min]
page STRING "Face"
Expand All @@ -1302,6 +1308,7 @@
page STRING "Face"
[attr face_seed]
page STRING "Face"
linkable BOOL true
[attr face_mode]
page STRING "Face"

Expand Down Expand Up @@ -2230,10 +2237,13 @@

[attr input_int]
gaffer.layout.activator STRING "isInt"
linkable BOOL true
[attr input_float]
gaffer.layout.activator STRING "isFloat"
[attr input_color]
gaffer.layout.activator STRING "isColor"
[attr seed]
linkable BOOL true

[node range]

Expand Down Expand Up @@ -2766,12 +2776,16 @@
primaryInput STRING "input0"
gaffer.nodeMenu.category STRING "Utility"

[attr index]
linkable BOOL true

[node switch_shader]

primaryInput STRING "input0"
gaffer.nodeMenu.category STRING "Surface"

[attr index]
linkable BOOL true

[node toon]

Expand Down Expand Up @@ -2983,6 +2997,8 @@

gaffer.nodeMenu.category STRING "Utility"

[attr default]
linkable BOOL true

[node user_data_rgb]

Expand Down

0 comments on commit 0c74fa0

Please sign in to comment.