Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

How to add input parameter to a node?​

5 ANTWORTEN 5
Antworten
Nachricht 1 von 6
litote
336 Aufrufe, 5 Antworten

How to add input parameter to a node?​

To add, for example, metalness input to an aiStandardSurface node, I right-click on the top of the node to show the option menu and select Edit Custom Attribute List, then click on metalness to add it, but then how do I make it retain this change to the node?

Whatever I do it just reverts to the default node and the parameter I added does not show. What is the last step to make it retain the parameter I add?

5 ANTWORTEN 5
Nachricht 2 von 6
zenop
als Antwort auf: litote

If I click "preview" then and turn off the editing of the custom inputs, it stays

Nachricht 3 von 6
Anonymous
als Antwort auf: litote

once you do that to add metalness or any others parameters, go to C:\Users\XXX\Documents\maya\2018\prefs\viewTemplates and copy "NEaiStandardSurfaceTemplate.xml" to C:\solidangle\mtoadeploy\2018\scripts\mtoa\ui\templates, override the original one.
or just put the .xml file inside a folder like "mtoaTemplate", and add a variable to your OS like
MAYA_CUSTOM_TAMPLATE_PATH =C:\mtoaTemplate

Nachricht 4 von 6
litote
als Antwort auf: litote

Do you have to do this every time you make a change by adding a new input?

Nachricht 5 von 6
litote
als Antwort auf: zenop

Can you be more specific? Exactly what steps to get preview, etc?

Nachricht 6 von 6
Anonymous
als Antwort auf: litote

each time you change or expose another parameter you have to save that .xml template

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report