Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 20-08-2009 , 01:58 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

scripting shader variations

In Renderman, it's easy to use a per object float attribute to affect a shader network in Slim. Can the same be done in the hypershader? Basically I'd like to add a float attribute to a whole bunch of objects and then use the remapHSV node to do something like:

remapHsv.value[1].value_FloatValue = $objName.variation;

Should be simple, but I've never actually done it in Maya before. I tried setting up a switch node, but that seems to force me to input foo1.variation, foo3.variation, foo3.variation manually for each of the hundreds of objects in my scene.

Thanks for the help,
-tarmy

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads