PDA

View Full Version : Reduce Memory Usage To Render high memory


rebolt
05-11-2006, 03:29 PM
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-weight: bold;"><span style="text-decoration: underline;">Reducing Memory Usage To Render A Memory Hungry Scene<br><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-weight: bold;"><span style="text-decoration: underline;"><span style="text-decoration: underline;"><br></span></span></span></span></span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-weight: bold;">By Neil Blevins:<br><br></span></span></span></span><p style="font-weight: bold; font-family: Arial,Helvetica,sans-serif;">Here are a few tips to help you render a really large scene, or to
render a really large bitmap of your scene in 3dstudio max. It's quite
common to work on a scene for quite some time, doing 640x480 test
renders, and then reaching a point where you want to render the scene
at 2048 pixels or higher. You hit render, and bam, you get the out of
memory error, and max crashes. Here's a few things to try.<br>
</p>
<p style="margin-left: 40px; font-weight: bold; font-family: Arial,Helvetica,sans-serif;">1) Close all other applications. Seems
obvious, but it's surprising how much RAM other small applications can
take up. For example, iTunes seems to gobble up about 0.1 of a Gig of
RAM, even though common sense seems to suggest it wouldn't take up too
much memory.<br>
</p>
<p style="margin-left: 40px; font-weight: bold; font-family: Arial,Helvetica,sans-serif;">2) Turn off the vfb and render to file.
The "Virtual Frame Buffer" (vfb) which is now called the "Rendered
Frame Window" takes up a lot of memory. So for the privilege of seeing
a preview of your render, you're giving up potentially 200 to 300 meg
of RAM, especially if you're rendering a 2k or 3k image. Go to the
renderer options and uncheck the Rendered Frame Window Checkbox. If
using a 3rd party renderer like Brazil, make sure you turn off it's
frame buffer as well. Then set the renderer to save the result as a
file in the Render Output section. This will save you tons of RAM.<br>
</p>
<p style="margin-left: 40px; font-weight: bold; font-family: Arial,Helvetica,sans-serif;">3) Do a netrender. Even for still frames,
even if you only have one computer, using backburner or a different
netrenderer can save tons of RAM, because it doesn't need to fully load
max to render your scene. So I usually set up my home computer as both
the manager and the server, I go into max, I set off a netrender,
making sure I have the "Initially Suspended" checkbox checked, then
close max, then go into the Monitor and initialize the job (if you
forget to submit the job uninitialized, your computer will try and load
2 copies of the scene, one in the netrender, and the copy of the scene
that's already open in max, and that's a very bad thing). Check the
manual for more info on using backburner, or whatever network renderer
you choose.<br>
</p>
<p style="margin-left: 40px; font-weight: bold; font-family: Arial,Helvetica,sans-serif;">4) Command Line Rendering. You can also
use commandline rendering to render your file. Just look up Command
Line Rendering in the help file.<br>
</p>
<p style="margin-left: 40px; font-weight: bold; font-family: Arial,Helvetica,sans-serif;">5) Turn off bitmaps displayed in the
viewport. This doesn't reduce memory for a netrender, but if you want
to do an interactive render inside max, it's quite possible that a
bunch of your memory is being eaten up displaying maps in your scene in
the viewport (I was surprised the other day when I found out about half
a GIG of RAM was being used up displaying a bunch of large maps in the
viewport). Just go to the Views Menu and click on the "Deactivate All
Maps" option.<br>
</p><span style="font-weight: bold; font-family: Arial,Helvetica,sans-serif;">
Hopefully some of these tips will help you render those hard to render
scenes.<br><br>Thanks<br style="font-weight: bold; font-family: Arial,Helvetica,sans-serif;"></span><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-weight: bold;"><span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"></span><span style="text-decoration: underline;"><span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"><span style="text-decoration: underline;"><span style="text-decoration: underline;"></span></span></span><span style="text-decoration: underline;"><span style="text-decoration: underline;"><br></span></span></span><span style="text-decoration: underline;"><span style="text-decoration: underline;"></span><br><span style="font-style: italic;"><span style="font-weight: bold;"><br><span style="font-weight: bold;"><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-weight: bold;"></span></span></span><br></span></span></span></span></span>