Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Grouping [attr name] into dropdown panels (mtd file)

3 REPLIES 3
Reply
Message 1 of 4
mkesson
173 Views, 3 Replies

Grouping [attr name] into dropdown panels (mtd file)

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.

Tags (1)
Labels (1)
3 REPLIES 3
Message 2 of 4
Stephen.Blair
in reply to: mkesson

That is handled by the attribute editor templates



// Stephen Blair
// Arnold Renderer Support
Message 3 of 4
mkesson
in reply to: mkesson

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

Message 4 of 4
mkesson
in reply to: mkesson

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


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report