PDA

View Full Version : Rendering multiple files


coffeepenguin
09-05-2003, 06:32 PM
Does anyone know if there is a way to set up max so when it's done rendering out a scean it will close that file, open another file, and start rendering that one?

Equinoxx
09-05-2003, 06:36 PM
use network rendering

look it up in the online help [F1] for exact details on how to set it up

markdc
09-05-2003, 07:37 PM
There are several ways to do this. Here is mine:

1. setup network rendering (even if you only have one machine)

2. setup you max files to render to frames (tga, rpf, etc) not avi or mov.

3. create a script: ex.

files = #("F:\\MaxFiles\\SceneFiles\\04_start.max","F:\\MaxFiles\\SceneFiles\\04_start_cam3.max","F:\\MaxFiles\\SceneFiles\\04_who_are_u.max","F:\\MaxFiles\\SceneFiles\\04_fighter_start.max","F:\\MaxFiles\\SceneFiles\\04_fighter_start_cam3.max","F:\\MaxFiles\\SceneFiles\\04_fighter_start_cam4.max")

mgr= netrender.getmanager()
mgr.connect #manual "MachineName"
if mgr.connected then
(
for i in 1 to files.count do
(
loadMaxFile files[i]
job=mgr.newjob()
job.includeMaps=true
job.skipOutputTest=true
job.toFrame=rendEnd
job.skipRenderedFrames=false
job.outputwidth=720
job.outputheight=480
job.renderpixelaspect=0.900001
job.submit servers:#()
saveMaxFile files[i]
)
)

quitMAX #noPrompt

4. startup the manager (one machine) and the server for all
machines.

5. run c:\3dsmax\3dsmax -U MAXScript c:\scripts\nameofscript.ms

notes:
a. MachineName is the name of the machine where the manager is running

b. You can look up the job options in the online maxscript help

c. Always backup your maxfiles before doing this.

CGTalk Moderation
01-16-2006, 01:00 AM
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.