View Full Version : Controlling Render parameters with Maxscript
I'm making a script that net renders a scene, and I need a way to control certain elements of the render, namely the start and end frames and the nth frame settings. I've just been placing rendtimetype = 2 and rendNthFrame = 2 into my code. It there a step I'm missing?
01-12-2009, 08:23 PM
make sure you commit and save the changes before submitting?
if that doesn't help, try setting the job properties before submitting
Thanks a lot! Those worked great.
I don't suppose you know how to set PNG settings for a net render? I really need 8-bit files, but I can't get the output to be anything but the default settings
01-16-2009, 02:48 PM
'fraid not - PiXEL_MoNKeY may pitch in here on how to do that with 3dsmaxcmd (see: http://forums.cgsociety.org/showpost.php?p=5605075&postcount=14 ). I don't think I've had any reliable way of setting the file output parameters dynamically. It *might* work if you set the PNGio bits up first, then set the rendOutputFilename to a .png extension path, save, and submit..but that's total guesswork.
01-16-2009, 04:37 PM
The only way I know how to force settings is kind of a pain. Open max make your changes to the settings. Then you need to copy the changed png.cfg file from your user plugcfg folder to the corresponding folder on the render machines (you will need to know whether you are using the user config folders or the max root config folders). This can be done through backburner using batch files, see my post here (http://forums.cgsociety.org/showpost.php?p=5059474&postcount=6) on how I was doing a similar thing with EXR file config settings.
Edit: Unfotunately PNG is not one of the supported formats with 3dsmaxcmd, the support formats are BMP, JPG, TGA, TIFF, EXR, RPF, and RLA.
01-16-2009, 04:37 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.
vBulletin v3.0.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.