how to save memory for the rendering

4
How to save memory for the rendering  Lesson by Ciro Sannino - Auth on November 23, 2010, filed in:  V-Ray Tutorials Share with your friends! ( Render: Alessio Fiorini   He attended my training. This work inspired t he 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 p ossibile. 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. Cli ck re nder and wait for i t to c alc ula te 3. Go to the irradiance map and click “SAVE” then save it 4. Choose “from file” and select the file you just sav ed

Upload: natalie-williams

Post on 14-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to Save Memory for the Rendering

7/27/2019 How to Save Memory for the Rendering

http://slidepdf.com/reader/full/how-to-save-memory-for-the-rendering 1/4

How to save memory for the rendering

 Lesson by Ciro Sannino - Auth on November 23, 2010, filed in: V-Ray Tutorials 

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 maxcould 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

Page 2: How to Save Memory for the Rendering

7/27/2019 How to Save Memory for the Rendering

http://slidepdf.com/reader/full/how-to-save-memory-for-the-rendering 2/4

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 thissharpness 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”. 

Page 3: How to Save Memory for the Rendering

7/27/2019 How to Save Memory for the Rendering

http://slidepdf.com/reader/full/how-to-save-memory-for-the-rendering 3/4

.

* * * 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 happensmore often than you think.

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

Page 4: How to Save Memory for the Rendering

7/27/2019 How to Save Memory for the Rendering

http://slidepdf.com/reader/full/how-to-save-memory-for-the-rendering 4/4

 

.

* * * 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 yourmantra 

,both on your PC than on a Render Farm.