Controlling Render parameters with Maxscript

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2009
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 January 2009
make sure you commit and save the changes before submitting?

if that doesn't help, try setting the job properties before submitting
<netjob>.fromFrame
<netjob>.toFrame
<netjob>.nthFrame
 
  01 January 2009
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 January 2009
'fraid not - PiXEL_MoNKeY may pitch in here on how to do that with 3dsmaxcmd (see: http://forums.cgsociety.org/showpos...75&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 January 2009
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 on how I was doing a similar thing with EXR file config settings.

-Eric

Edit: Unfotunately PNG is not one of the supported formats with 3dsmaxcmd, the support formats are BMP, JPG, TGA, TIFF, EXR, RPF, and RLA.
__________________
"The Evil Monkey hiding in your closet."

Last edited by PiXeL_MoNKeY : 01 January 2009 at 04:54 PM.
 
  01 January 2009
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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:47 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.