View Full Version : selecting open exr via mel

03 March 2009, 05:15 PM
Does any one have any idea of how to select open exr format in renderglobals vial mel

i tried setAttr defaultRenderGlobals.imageFormat 51;

it does change the image extension but not the format to exr

I even went though defaultRenderGlobals and when i selected using the above command, it changed the image format to custom image format ....

Does anyone have any solutions to this ...


edited ....

Well i found an alternative to this :lightbulb

using custom file extension ...
here is the script

// To change image file format to exr

setAttr "defaultRenderGlobals.imageFormat" 51;
setMayaSoftwareFrameExt(3 , 0);
setAttr defaultRenderGlobals.outFormatControl 2;
setAttr -type "string" defaultRenderGlobals.outFormatExt "exr";
setMayaSoftwareFrameExt(3 , 0);

I hope there is an alternative to using custom file extension ..

CGTalk Moderation
03 March 2009, 05:15 PM
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.