SDK Version: Arnold-6.0.0.0
Is it possible when writing a .mtd file for a shader to include "hints" about how the shader parameters should be grouped into panels in Hypershade? For example, if I wanted the first three "attr" to be displayed in a panel named "color_selections" that is initially closed.
[attr frontColor]
maya.name STRING "frontColor"
maya.panel STRING "color_selections"
maya.panel.open BOOL false
[attr rearColor]
maya.name STRING "rearColor"
maya.panel STRING "color_selections"
[attr swap]
maya.name STRING "swap"
maya.panel STRING "color_selections"
My use of,
maya.panel
maya.panel.open
is fictional.
I have looked at all the .mtd descriptions of the factory Arnold nodes and I cannot see how HyperShade is directed to group their parameters.
That is handled by the attribute editor templates
I will look for some examples. If I have a shader named "mkTest.so" and a mtd file named "mkTest.mtd" and they both in the directory pointed to by ARNOLD_PLUGIN_PATH would I put the template file named "mkTest.py" in that directory? Or do they go into another location.
For examples of attribute editor templates I am looking at the files in,
/Applications/Autodesk/Arnold/mtoa/2020/scripts/mtoa/ui/ae/
I assume these are attribute editor templates.
Is there any documentation about these files?
Many thanks for your very fast response.
Malcolm
Stephen we (myself and my students) have got the templates working for Maya but not for Houdini. Is there a different way of doing it for Houdini?
Malcolm