PDA

View Full Version : How to set HardwareRenderer as renderer?


TranquilBoy
06-05-2006, 01:25 PM
Hi,
I'm pretty new to Mel, and unfortunately I could not find anything that helps me out..

How can I switch the renderer used from Software to Hardware with a melcommand?
(instead of setting it up manually in the Renderglobals)

Using hwRender; only gives me blank frame.

Thanks in advance.

unsmoothed
06-06-2006, 05:42 AM
You can change the renderer via the "defaultRenderGlobals" attributes...

setAttr -type "string" defaultRenderGlobals.currentRenderer mayaSoftware;

hope that helps

unsmoothed
06-06-2006, 05:45 AM
rather....

setAttr -type "string" defaultRenderGlobals.currentRenderer mayaHardware;

for harware renderer.

TranquilBoy
06-06-2006, 08:51 AM
Thanks alot, that worked :)

CGTalk Moderation
06-06-2006, 08:51 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.