Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 08-05-2008 , 01:49 PM
Registered User
Join Date: May 2005
Posts: 84

Major batch render - any advice?

Okay, I've never rendered anything that took more than like 6 hours.

Tomorrow I'm going to start rendering my biggest project yet--I've done some tests and calculated that I'm looking at probably 4 straight days of render time. :|

Anything you vets can tell me that might come in handy?

Everything's already as optimized as it's gonna get, and I can live with the render time, but I do have a deadline coming up and I'm hoping I've given myself enough wiggle room. So really what I'm asking is are there any problems I've yet to discover when trying to render such a large batch? Do you have trouble with Maya hanging up/freezing? I figure I'll try to break it up into easier-to-digest batches, so I can check on it daily. But I'm sure I'm gonna run into something unknown . . . something I haven't run into and wasn't aware I should prepare for.

Am I making sense? I'm just nervous that something's gonna break or hang up overnight or something. Anything I should be aware of before I get started? Any special prayer or offering that the Maya gods approve of? user added image

# 2 08-05-2008 , 02:22 PM
NeoStrider's Avatar
Registered User
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
render from the command line. since maya isn't open there's more free RAM the Render command can utilize.

optimize the scene and delete all the history you can.

other than that, meh. i've kinda just dealt with long renders.

(if you can, see if you can render some files on other machines, too! - just don't forget to bring a .ma file so you can change it depending on the version of maya, and all the texture files you're using so you can point maya to their new location before saving the file to a .mb so you can batch from those machines... or else you'll get renders of a lot of black objects. learned that one the hard way by forgetting to reconnect files. 400 frames and a few hours down the tubes. ugh.)


Accept no substitutions.
# 3 08-05-2008 , 03:10 PM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Easier than rendering form the command line is, go to the folder where the scene file is right click and then select render form the menu there.

Also cache any file textures youve got (in the file attributes)

Cross your fingers and off you go!


"No pressure, no diamonds" Thomas Carlyle
# 4 09-05-2008 , 12:27 AM
Registered User
Join Date: May 2005
Posts: 84
Thanks to both of you--great advice.

Here goes nuthin . . . user added image

# 5 09-05-2008 , 06:20 AM
alexanderH's Avatar
Subscriber
Join Date: Sep 2007
Location: Mississauga, Ontario, Canada
Posts: 450
Break it up into smaller sections and composite them all together. If you render for say 8 hours overnight and view it then you can make sure everything is on track and in place. Otherwise if you wait till the 4 days are up and notice an error in the first say 400 frames you'd be pretty upset I'm sure.
Plus if you have checkpoints it allows for modification of further possible errors so the next render sessions go off without a hitch. And finally what if during the 4 days the power goes out? That would kill all your work up to that point right?

Good luck!


Peace, love and Anarchy~~~~~~~
______________________________
Wip:
iMac
Full House Project
Arch Viz Reel

My Website is Finally Back up!

“Welcome to the Internet. Where the men are men, the women are men, and the children are FBI agents.”
# 6 09-05-2008 , 07:41 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
One more thing to note about caching, if you have any dynamics in your shot, be sure to go ahead and either bake out the simulations, or setup particle caches for your particle sims as that makes things TONs faster.

Plus, doing that also allows you to render particle simulations on multiple machines or a farm making sure your particles all look the same in the final renderuser added image

Good luck!

PS, when you start rendering shots at 4k, and your rendertimes on the farm get to be around 4+ hours per frame, THEN welcome to the clubuser added image


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 7 09-05-2008 , 11:36 PM
Registered User
Join Date: May 2005
Posts: 84
Follow up question:

I'm using Mental Ray to render. When I try to render from the command line or by right-clicking the file in windows explorer and selecting "render" it's defaulting back to the Maya Software renderer.

I've changed my preferences to Mental Ray being the preferred renderer. That didn't do it, it still wants to render using Maya Software.

Is there a way to render from the command line--or in other words WITHOUT opening Maya--and have it use the Mental Ray renderer?

# 8 10-05-2008 , 09:29 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
if your going form the command line you need to start up mental ray, I cant remember the flag, but off the top of my head if you type render -r you'll get all the flags.


"No pressure, no diamonds" Thomas Carlyle
# 9 10-05-2008 , 09:45 AM
Registered User
Join Date: May 2005
Posts: 84
Sweet--thanks! I'm glad to know it's possible to render MR from the command line, I've been looking for an answer to that all day.

I'll try again tomorrow. Thanks again for your help, all.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads