How to save memory for the rendering | Cg Blog

How to save memory for the rendering

17
Share with your friends!

( Render: Alessio Fiorini – He attended my training.  This work inspired the current post )

Some months ago I wrote about improving render setting time: how to reduce rendering time.

In this post I’m going to talk about how to save memory in order to avoid any crash. 3ds max could crashes during the rendering due to a lack of memory.. so we need to have some strategy to save as much memory as possibile. Here my suggestions:

* * * SAVE IRRADIANCE MAPS * * *

During the rendering, global illumination informations are stored and reused for the same render. We can easily calculate only the first part of the global illumination: irradiance maps. Save datas and reload them using “from file” option.

  1. Check “Do not render final image”
  2. Click render and wait for it to calculate
  3. Go to the irradiance map and click “SAVE” then save it
  4. Choose “from file” and select the file you just saved

final image

irradiance map

Do the same saving the light cache datas: the procedure is identical.

Then uncheck “do not render final image” and run the final rendering.

.

* * * IRRADIANCE MAP FOR BIG IMAGES * * *

For images to screen size (1200 x 750 for example) is fine to use HIGH preset for irradiance map. But when you render images for posters of 6000 x 4000 this approach is far more than necessary. It may be good to set min and max rate values manually.

IRRADIANCE MAP for posters:
– Min rate = -7  /  Max rate = -4

.

* * * USE STORE WITH IRRADIANCE MAP (V-RAY LIGHT) * * *

Without the check on “store with…” shadows are sharper and more true.

But I advise you not to apply it to all the lights!  Check locally about what lights you need this sharpness of shadows, while the other uses “store with…” option. This save a lot of time!

For the lights in the center of a large room – for example – you can safely use “store”.

store with irradiance map

.

* * * IMPROVE DISPLACEMENT MAP * * *

Especially if you’re applying to a rock, you risk to get a very dotted result. Actually we should not improve the displacement setting, is likely to need the support of NASA! A first step is simply to improve the displacement map.

Please, read my previus post: How to get a perfect displacement map

.

* * * RUN A LOCAL TEST * * *

Do a local test to verify that any approximation does not affect the quality of the final result. Many times, you can accept a small loss of quality when this is a great saving of time! It happens more often than you think.

Use region render to run local tests. CROP Render is more comfortable for large images.

crop render

.

* * * RUN THE FINAL RENDER ON A RENDER FARM * * *

When everything is perfect but you are in hurry, use a render farm! Is the best solution.

How it works? How it costs? An average price for a render farm is 10cents per hour. It means that 1 machine (1Ghz processor) working for 1 hour, costs 10 cents.

The renderfarms usually have workstations with 8 cores (more than 20Ghz in total) so if 1 workstation works for you for 1 hour it will cost aroud 2.2 dollars. It’s great isn’t it?

It’s not expensive but you have to take care about your setting, everything! You risk to let working 100 workstation for 1 hour… total = 220 dollars and the image is not complete yet!!!

This example is rare to happens.. but you can’t use super high settings without brain, because the optimization is a fundamental step for your work, everything!

Optimizing a scene must be your mantra,
both on your PC than on a Render Farm.


/ Also Learn Corona Renderer

17 Responses

  1. alain says:

    Some nice tips there, Ciro!
    Thank you mate!

  2. muneer says:

    hey nice tricks thanks for sharing

  3. taufik says:

    thanks….

  4. Do Tuan Anh says:

    Hello!
    i’m Do Tuan Anh .I’m from Vietnamess. I wan’t to learn 3dsmax (render vray & materials).i find wed’ you = google. you cant’ help me??? please.thanks!!

  5. Do Tuan Anh says:

    please to get in touch me to mail: tuananh_arch1985@yahoo.com. thanks you!

  6. erdenebat says:

    thanks :-)…

  7. Sanja says:

    Thank you…

  8. Timty says:

    Thanks, this really works out. I am not really curious of upgrading my system again, with this and vray proxy. Thanks…

  9. Samitha says:

    Thank you very very very much. You are a great person.

  10. ahmad says:

    hi Ciro great tutor….need your advice my rendering plss

  11. shawez says:

    bro if we dont use lost of segment and dont use the more lines they will bi cached minimun time in rendring

  12. parrot says:

    i’d like to say thank you to you sooo…everything is perfect more than what i thought =)

  13. sonia says:

    THANK YOU FOR ALL THIS HELP YOU GIVE TO US. 🙂

  14. nadeem says:

    this is very use full trick for rendering thankssssssssss

  15. manimaran rajamani says:

    Hey this was great information to reduce rendering time.
    Thanks

  16. kishore raju says:

    how to optimize the scene…

  17. hiren says:

    hey friend,,,i dont understand .please understan easily,,then i render in short time

LEAVE YOUR COMMENT
(contact us at "support@cg-blog.com" for issues)

© 2010 Cg Blog is a trading name of nothing - All rights reserved.
Proudly designed by Theme Junkie.