PDA

View Full Version : Render Setting Change using Mel


inder3d
11-06-2008, 04:38 AM
I want to change the render setting (eg. maya software to mental ray) by using mel.
and how to find the current render setting (eg. current setting is maya software or mental ray) by using mel script.

GiantG
11-06-2008, 08:22 AM
setAttr "defaultRenderGlobals.currentRenderer" -type "string" "mayaSoftware";
setAttr "defaultRenderGlobals.currentRenderer" -type "string" "mentalRay";
setAttr "defaultRenderGlobals.currentRenderer" -type "string" "mayaHardware";


currentRenderer;
Cheerz... ;)

CGTalk Moderation
11-06-2008, 08:22 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.