jbravado
06-29-2009, 09:43 PM
Does anyone know how to change the mental ray image format via mel? In software, all the image formats correspond to a number. To change format, you can type:
setAttr "defaultRenderGlobals.imageFormat" 3; // this would change the format to tiff
When you switch to mentalRay, the numbers method only works for standard image formats. The lesser common ones, like EXR, default to the number 51 so you end up with multiple formats being 51.
The maya docs say that the image format for mentalray are stored in the mentalrayFramebuffer node though I still can't seem to locate it. Does anyone have an answer to changing the mental ray output image format in mel? Thanks
setAttr "defaultRenderGlobals.imageFormat" 3; // this would change the format to tiff
When you switch to mentalRay, the numbers method only works for standard image formats. The lesser common ones, like EXR, default to the number 51 so you end up with multiple formats being 51.
The maya docs say that the image format for mentalray are stored in the mentalrayFramebuffer node though I still can't seem to locate it. Does anyone have an answer to changing the mental ray output image format in mel? Thanks
