Welcome to CGarchitect.com Untitled Document

Go Back   CGarchitect.com > 3D SOFTWARE > 3ds Max

Notices

3ds Max Autodesk 3ds Max

Reply
 
LinkBack Thread Tools Display Modes
Old July 3rd, 2008   #1 (permalink)
Veteran Member
 
Brian Smith's Avatar
 
Join Date: Mar 2005
Location: Sarasota, FL
Age: 36
Posts: 1,061

Name: Brian Smith


United_States 


Default Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

I recently mentioned this tip in a class and based on the fact that no one knew it, I thought it would be worthwhile here. If you are rendering a very large scene and are getting close to running out of RAM, here's a way that will save you a few hundred extra MBs from being consumed without slowing down rendering at all like other procedures (such as rendering in dynamic mode or with proxies).

Simply save the scene in wireframe mode with one maximized viewport and reload the scene. As soon as you change to Smooth+Highlights mode, you should see a lot of RAM consumed, with more being consumed for larger scenes. If you switch to Smooth+Highlights mode before you render, you are basically giving away that RAM, and there is no way to get it back. But if you just load a scene and immediately render without going into Smooth+Highlights first, you will have all that extra RAM to render with. Open your Task Manager and monitor your RAM consumption to verify. The larger the scene, the more RAM you save. Roughly speaking, you should expect to see a savings of 100MB for every 1million polygons your scene contains.
__________________
Brian Smith
www.3dats.com
3D Architectural Training Solutions
Brian Smith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #2 (permalink)
Veteran Member
 
FlytE's Avatar
 
Join Date: Dec 2005
Location: Glasgow
Posts: 575

Name: Andy Pennington


Scotland 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Its the little things! Nice one Brian, thanks!
__________________
"How many polygons does the real world push?"
FlytE is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #3 (permalink)
Veteran Member
 
Claudio Branch's Avatar
 
Join Date: Dec 2005
Location: Arlington, Texas
Age: 43
Posts: 870

Name: Claudio Branch


United_States 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Great tip, thanks!
Claudio Branch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #4 (permalink)
Ray
Veteran Member
 
Ray's Avatar
 
Join Date: Oct 2003
Location: California
Posts: 529

Name: Raymond Fiore


United_States 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Thank you, Brian! Keep 'em coming.
Ray is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old July 3rd, 2008   #5 (permalink)
Veteran Member
 
Brian Smith's Avatar
 
Join Date: Mar 2005
Location: Sarasota, FL
Age: 36
Posts: 1,061

Name: Brian Smith


United_States 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Quote:
Originally Posted by Ray View Post
Thank you, Brian! Keep 'em coming.
Ok, how about this. Take it a little further. When it's time to render, go to the Display panel and in the Hide by Category rollout, select everything but Geometry. This hides all the lights, shapes, cameras extra that all consume RAM. Then select all the geometry and enable 'Display as Box'. Save then reload and you can see another few hundred MBs less RAM consumed.
__________________
Brian Smith
www.3dats.com
3D Architectural Training Solutions
Brian Smith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #6 (permalink)
Member
 
odouble's Avatar
 
Join Date: Apr 2006
Location: Boston
Posts: 82

Name: Tunde Agunbiade


United_States 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Really interesting... I am going to try it right now. Thanks
odouble is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #7 (permalink)
Veteran Member
 
Join Date: Jun 2002
Location: Tampa
Age: 38
Posts: 619

Name: John Dollus


United_States 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

or use the batch renderer and eliminate the entire overhead associated with the UI....
John Dollus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #8 (permalink)
Senior Member
 
Dave Buchhofer's Avatar
 
Join Date: May 2002
Location: Philadelphia
Posts: 281

Name: Dave Buchhofer


United_States  Send a message via AIM to Dave Buchhofer


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Quote:
Originally Posted by Brian Smith View Post
I recently mentioned this tip in a class and based on the fact that no one knew it, I thought it would be worthwhile here. If you are rendering a very large scene and are getting close to running out of RAM, here's a way that will save you a few hundred extra MBs from being consumed without slowing down rendering at all like other procedures (such as rendering in dynamic mode or with proxies).

Simply save the scene in wireframe mode with one maximized viewport and reload the scene. As soon as you change to Smooth+Highlights mode, you should see a lot of RAM consumed, with more being consumed for larger scenes. If you switch to Smooth+Highlights mode before you render, you are basically giving away that RAM, and there is no way to get it back. But if you just load a scene and immediately render without going into Smooth+Highlights first, you will have all that extra RAM to render with. Open your Task Manager and monitor your RAM consumption to verify. The larger the scene, the more RAM you save. Roughly speaking, you should expect to see a savings of 100MB for every 1million polygons your scene contains.
close the material editor also, as those bitmaps also get loaded into ram at startup/open.

another way without reopening max to do roughly the same thing is to:
Code:
in the little pink maxscript bar at the bottom left hand corner type:
freescenebitmaps()
hit enter
gc()
hit enter again
minimize max
maximize max
:)
Also be aware that the real memory ram usage number you're looking for isn't visible by default in the task manager, if go to View, Select Columns, and look for VM Size. thats the combined RAM+Virtual memory. if you're in max 32bit, and that number hits 1,700,000 roughly, you can kiss max goodbye slowly thats becoming less of an issue with 64bit, but not everyone has taken that plunge.
__________________
Dave.
TD / EwingCole DMG
Dave Buchhofer is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #9 (permalink)
Veteran Member
 
Brian Smith's Avatar
 
Join Date: Mar 2005
Location: Sarasota, FL
Age: 36
Posts: 1,061

Name: Brian Smith


United_States 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

Quote:
Originally Posted by Dave Buchhofer View Post
Also be aware that the real memory ram usage number you're looking for isn't visible by default in the task manager, if go to View, Select Columns, and look for VM Size. thats the combined RAM+Virtual memory. if you're in max 32bit, and that number hits 1,700,000 roughly, you can kiss max goodbye slowly thats becoming less of an issue with 64bit, but not everyone has taken that plunge.
I find it much easier to just monitor the Available RAM under the Performance tab.
__________________
Brian Smith
www.3dats.com
3D Architectural Training Solutions
Brian Smith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 3rd, 2008   #10 (permalink)
Invalid User Profile
 
Ruramuq's Avatar
 
Join Date: Feb 2005
Location: -
Posts: 1

Name: notyourbusiness notyourbusiness either


Peru 


Default Re: Tip: How to save hundreds of MBs of RAM on large scenes without slowing rendering

I can't notice a difference with this tip, this memory issues seems to be more about textures and geometry :
› Global Viewport rendering settings : standard display

Max loads viewport textures only when they are visible, so, perhaps moving the viewport away would give similar memory improvements

Another thing to notice, is that if max is minimized,a big amount of 3dsmax memory will be released, or marked as free, which means that virtual memory will be used, thats the reason why I try to never minimize max when I'm working with it, (I don't want xp reading the paging file)

but even if you release a lot of memory deactivating textures, etc.. the most likely is that if the render engine needs more ram, windows will paginate automatically, and the memory used for the viewport will need to be reloaded by max when the render ends, in other words, it's likely that these tips might not be a big benefit for the render..

another thing is that big textures seems to be loaded completely, and with several textures displayed on the viewport, textures sizes matters. it is probably a good idea to reduce the texture size of objects that are far away or too little(this for render and viewports).

I tested with different color depth and it seems that there is a benefit in the viewport but not when rendering

there are a couple of tools i use
› Process explorer(much better than task manager) and › RAMpage, it displays and is able to release or defragment automatically the memory to avoid crashes.
I also read that memory fragmentation is another cause of max crashes.

my first post
Ruramuq is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting 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
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Price of V-Ray Stand Alone Version? GaryR50 VRay Render 45 April 2nd, 2008 11:57 PM
rendering large scenes, very large scenes guyhaviv 3ds Max 3 September 30th, 2003 02:46 AM


All times are GMT -7. The time now is 03:09 PM.





Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
© Copyright 2001 – 2008 CGarchitect Digital Media Corp. All Rights Reserved.