|12 December 2011||#1|
Born Ready Games
Brighton, United Kingdom
Join Date: Feb 2010
Saving rendered image with MEL always saves .iff? - Solved
I'm working on a script to automate the process of rendering out a skybox from a 3d scene. It's all going well so far except i'm having problems saving out the images I render to the correct format.
I got the script by just cut and pasting what I see in the Script Editor when I save a rendered image. It seems to specify the image format but when I run the script I find it's saved the render as an .IFF file.
Last edited by polypixel : 12 December 2011 at 05:54 PM. Reason: Issue solved.
|12 December 2011||#3|
R&D & pipeline engineer
Join Date: Dec 2006
you can do this programatically also. I have it in python but it the same in mel:
#i save the format of the user (so i don't mess up his preferences)
renderGlobals = cmds.getAttr("defaultRenderGlobals.imageFormat")
#i set it to something different like png
#i do my playblast or render or whatever
#i set the options back for the user
|12 December 2011||#4|
Join Date: Sep 2003
Thread automatically closed
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|