Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Conditional statements in .mtd file

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
zenop
233 Views, 2 Replies

Conditional statements in .mtd file

Hi,

Is it possible to use conditional statements in a shaders' metadata file?

E.g, for different options in a dropdown, I'd like to specify different min/max values for other parameters.

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

No, the metadata is basically just IDENTIFIER=value, there's no conditional statements.

That kind of thing has to be handled in the custom UI code of the DCC (eg the ae templates in maya)



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

Thought so, thanks for confirming.

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

Post to forums  

Autodesk Design & Make Report