Page 1 of 1
Octane Maya Plugin Script Editor output
Posted: Thu Apr 04, 2019 11:13 am
by Lala_Ghost
If I create an Octane shader and edit some of its values, the script editor gives me no output about the changes.
I would like to write some code that changes the shader values of an Octane shader, but how do I do that?
Re: Octane Maya Plugin Script Editor output
Posted: Thu Apr 04, 2019 12:23 pm
by calus
Lala_Ghost wrote:If I create an Octane shader and edit some of its values, the script editor gives me no output about the changes.
I would like to write some code that changes the shader values of an Octane shader, but how do I do that?
The maya plugin implementation of the color swatch/greyscal slider in Octane materials are just a terrible hack
= the widgets are not linked to any node attribute, values are only stored in the Attribute Editor UI
You need to use the dedicated command "octane -pin" to edit them,
for usage, execute "octane -help" in the mel editor.
Or you can just avoid this by connecting a RGBspetrum or Greyscal color node in the texture input,
then you would have a regular Maya color attribute to tweak from script.