Batch rendering multiple MAX file

Batch rendering multiple MAX file

Dchimenti
Enthusiast Enthusiast
2,354 Views
9 Replies
Message 1 of 10

Batch rendering multiple MAX file

Dchimenti
Enthusiast
Enthusiast

 

Hello.

 

I have 35 .MAX files that need rendering and I can't babysit them.

I used to use Backburner for this but it looks like Arnold wants to put a watermark on my renders when I do this.

 

What is Autodesk's solution for this? It's a pretty basic request.

 

Thanks!

 

-derek

0 Likes
2,355 Views
9 Replies
Replies (9)
Message 2 of 10

MartinBeh
Advisor
Advisor

AFAIK Arnold requires an additional license for offline rendering.

Have you tried Rendering > Batch Render?

 

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 3 of 10

Dchimenti
Enthusiast
Enthusiast

 

From what I can see, batch render only lets you render multiple views from within a single file. I've yet to find a way to use that across multiple MAX files.

0 Likes
Message 4 of 10

MartinBeh
Advisor
Advisor

If nothing else you can export to .bat file and run from there...?

Edit: nevermind, this will also result in watermarks...

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 5 of 10

MartinBeh
Advisor
Advisor

Hm.

 

How about a little MAXScript that loads up one .max file after the other into the current 3ds Max session and renders it out?

 

Found this: https://www.splinedynamics.com/free-3dsmax-scripts/ (scroll down to "Quick Batch Render") - old but maybe still useful?

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 6 of 10

MartinBeh
Advisor
Advisor

These people here talk about using Deadline and forcing it to "workstation mode"...?

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 7 of 10

MartinBeh
Advisor
Advisor

This is pretty primitive but maybe it gets you started:

(
	sourceFolder = @"C:\tmp\batchrendertest\"	-- where all the .max files to be rendered are stored
	targetFolder = @"C:\tmp\batchrendertest\"	-- where to render images to (into subfolders using .max filename base)
	
	allMaxFiles = getFiles (sourceFolder + "*.max")
	for f in allMaxFiles do (
		resetMaxFile #noPrompt
		format "Loading '%'\n" f
		loadMaxFile f useFileUnits:true quiet:true		-- todo: better handling of "missing X"
		if not rendSaveFile then (
			format "Renderer configured to NOT save image(s). Skipping...\n"
		) else (
			if targetFolder != "" then (
				local oldSave = rendOutputFilename
				local newBase = targetFolder + (getFilenameFile maxFileName) + "\\"
				makeDir newBase
				rendOutputFilename = newBase + (filenameFromPath oldSave)
			)
			format "Saving renderings to %\n" rendOutputFilename
			-- todo: override image sizes using renderWidth and renderHeight 
			skipRenderedFrames = true
			max quick render
		)
	)
)

 

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 8 of 10

Dchimenti
Enthusiast
Enthusiast

 

Martin- thank you so much for all the suggestions and attention. 

 

What's funny is that I think the answer to my original question is "No."

No, Autoesk has no solution for someone who needs to batch-render multiple files using Arnold.

I guess it's unreasonable to expect that? I don't know.  

 

I tried a script called "Overnight Batch Render".  It seems to work well but Arnold keeps crashing now. On multiple systems. Even while not using the script. Guess I'm, just cursed. 🙂

0 Likes
Message 9 of 10

MartinBeh
Advisor
Advisor

@Dchimenti wrote:

 

What's funny is that I think the answer to my original question is "No."

No, Autoesk has no solution for someone who needs to batch-render multiple files using Arnold.

They do. But you need to buy Arnold license(s).

Or try Deadline. Or try my little script...?

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 10 of 10

Dchimenti
Enthusiast
Enthusiast

 

Yeah- sorry. I mean an off-the-shelf solution.  The script I found seems to "fool" the system into letting me easily batch render the way I need to with a nice GUI interface.  I'm just oh so tired of workarounds with this company.

0 Likes