I'm tryiing to write a simple script to turn off the preMultiply feature in the Maya software renderer. I know I can just turn it off in the render globals, but I'm trying to set up a pipeline where it's on when working in Maya, but then when I want to render my sequences, my submit script turns it off and that way I never forget. The problem is, I've looked all through the docs, but I can't find a command to do this. There seems to be a command to edit every other setting in the render globals except preMultiply. Maybe they fixed this in Maya6, but I'm still in Maya5 for now.
In the render globals, under Render Options there is a check box titled Premultiply. When I'm working in Maya, I like to keep that box checked, but when I render on the farm I like to have it unchecked. This is why I want to automate the setting with my script that submits the render to the farm.
If I turn on echo all commands it shows the commands:
updateMayaSoftwarePremultiplyCtrl;
control -edit -enable true premultiplyThresholdCtrl;
but when I try and work these into a script nothing happens.
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