- Fri Jun 16, 2006 5:45 pm
#161935
Hey All,
(EDIT)New Feature Added!! Kabe's MXI filesize calculation has been added to show you the MXI file size of your render based on the resolution and number of multi-lights. Also calculates for when you render an mxi without -ml. Thanks and enjoy!
After manually creating batch files over and over I thought I would script up a little tool to make batch life easier! So I offer you the Maxwell Batch Script Generator V1.0 (MBSG)
Get it here!
http://www.infusionstudios3d.com/dwnlds/MBSG.zip.
At the moment MBSG is geared towards the tedious task of creating batch files of animations. So file numbers are formatted with leading zeros. This is the way Max exports the .mxs files if this isn't the case for other Apps let me know and I can add those numbering schemes in some day. You can set a range of 1 to 1 if you want to render one file, just make sure your name ends 0001.mxs.
The basic options are in there but I hope to get around to adding more soon.
So the steps.
1.Run mbsg.exe and Enter all the info you need.
2.Hit generate.
the batch script will be displayed in the lower text box like this:

3.Copy and paste the newly generated text into a new text file with the extension .bat

Here are the corresponding files that max generated. The batch file can be save anywhere and as long as the paths are correct it will work.

Now you can see why the leading zeros are important.
4.Run the .bat file you just created and boom your rendering. The -nowait switch is enabled so maxwell will continue through the entire list of files until they are done. I am thinking of adding the option to have the script jump to other scripts in case you want to run multiple batches in sequences without doing a thing.
So here is what will pop up when you run the .bat file:

That's it! Hope this is helpfull for those who love to batch render or for those who always wanted to batch render but never understood how. Thanks!
(EDIT)New Feature Added!! Kabe's MXI filesize calculation has been added to show you the MXI file size of your render based on the resolution and number of multi-lights. Also calculates for when you render an mxi without -ml. Thanks and enjoy!
After manually creating batch files over and over I thought I would script up a little tool to make batch life easier! So I offer you the Maxwell Batch Script Generator V1.0 (MBSG)
Get it here!
http://www.infusionstudios3d.com/dwnlds/MBSG.zip.
At the moment MBSG is geared towards the tedious task of creating batch files of animations. So file numbers are formatted with leading zeros. This is the way Max exports the .mxs files if this isn't the case for other Apps let me know and I can add those numbering schemes in some day. You can set a range of 1 to 1 if you want to render one file, just make sure your name ends 0001.mxs.
The basic options are in there but I hope to get around to adding more soon.
So the steps.
1.Run mbsg.exe and Enter all the info you need.
2.Hit generate.
the batch script will be displayed in the lower text box like this:

3.Copy and paste the newly generated text into a new text file with the extension .bat

Here are the corresponding files that max generated. The batch file can be save anywhere and as long as the paths are correct it will work.

Now you can see why the leading zeros are important.
4.Run the .bat file you just created and boom your rendering. The -nowait switch is enabled so maxwell will continue through the entire list of files until they are done. I am thinking of adding the option to have the script jump to other scripts in case you want to run multiple batches in sequences without doing a thing.
So here is what will pop up when you run the .bat file:

That's it! Hope this is helpfull for those who love to batch render or for those who always wanted to batch render but never understood how. Thanks!
Last edited by sconlogue on Fri Jun 30, 2006 7:17 pm, edited 1 time in total.