3ds force save file?

I just downloaded deadline and am evaluating it for use on my farm. Seems to do everything I’d like it to do. I can’t figure out one thing though is there a way to force 3ds max to save render output even if “save file” is not checked in the 3ds render dialog. I found out how to change the output using the “renderoutput” option. But it doesn’t save anything if the save file is not checked. And I’m submitting from the commandline.

Jeff

Hi Jeff,

Not at the moment. We’re currently just checking the scene file if it’s set to save output, and if it’s not, we don’t save the main output image. Perhaps we can look at adding an option to override this flag in a future version of Deadline.

Cheers,

  • Ryan

Yes, if it is possible this would be a handy thing to have. As it is I would have to go in and fix it myself or send it back to the artist, and if there are alot of submitted files… well it be much simpler to deal with as an override. If you’re going through trouble of specifying an output, odds are the user wants something output right :slight_smile: Any chance of getting that in with the 2010 update?

You could fix it temorarily yourself by editing the customize.ms file found in the plugins/3dsmax folder on the repository.
That file is run after the scene is loaded and before it is rendered by Deadline.
You could add something like

rendSaveFile = rendOutputFilename != “”

which will set the save file checkbox to checked as long as the output filename is not an empty string.

The reason we are not enforcing this is because sometimes you want NOT to save the output, for example if running a MAXScript job or if only the output of Render Elements is required and the standard output would be just a waste of space.

Any chance of getting that in with the 2010 update?

It is on the wish list for this update, but there are a few bigger issues with higher priority that we will be addressing first, so we will try to get it in there.

We will probably just make the “Save File” option a toggle option, and for submissions from within max, we will just use the value that is defined in the scene file. You would then be able to override it in your command line submission by setting something like “SaveFile=true” in the plugin info file.

Cheers,

  • Ryan

I’ve been using this and just noticed something. When manually specifying the output path the filesize ended up vastly different on each machine. I found that the compression settings were whatever the last used were on that machine. Obviously this is no good, you need your frame quality to match. Fortunately the bitmap io is availabe thru maxscript. I did a test and modified the customize.ms to check and sure enough it works. But that file is used on every job, I would need to specify the io options per job. So my question is what’s the best way to go about that. It doesn’t seem you can specify your own maxscript through any of the default options. Then I thought that perhaps I could execute it the same what that the customize.ms is, thru the 3dsmax.py. Would this be the best way to do this?

I imagine that this could be done using a pre-load, post-load, or pre-frame script:
franticfilms.com/software/su … pt_Scripts

Cheers,

  • Ryan

Ah very true…though now I actually have to sit down and learn python, and how to make it interact with 3ds.

Actually, the link above is for the maxscript pre/post script options, so you should be able to just tweak your existing maxscript. :slight_smile:

Ohhhh. Well that makes it much easier then.

You could fix it temorarily yourself by editing the customize.ms file found in the plugins/3dsmax folder on the repository.
That file is run after the scene is loaded and before it is rendered by Deadline.
You could add something like

rendSaveFile = rendOutputFilename != “”

which will set the save file checkbox to checked as long as the output filename is not an empty string.

The reason we are not enforcing this is because sometimes you want NOT to save the output, for example if running a MAXScript job or if only the output of Render Elements is required and the standard output would be just a waste of space.
how can i setup the “rendSaveFile = rendOutputFilename != “””,where can i find the option???

Looks like you posted a similar question on another thread. Check out my response here:
viewtopic.php?f=11&t=2327&p=12203#p12203