Search This Blog

Welcome to Rendering Tutorial Site

Welcome to Rendering Tutorial site. This site is develop to help artist, architects, advertisers, visual artists and hobbyist a place to share, gain and learn from tutorial writers, important knowledge, tricks and tips in using rendering and image processing software. Some of the link here were cross posted from other sites, some of them were develop for this site, and some of them were shared wholeheartedly by different individuals.

Saturday 14 January 2012

Optimizing the rendering

Here is a nifty entry at www.cg-blog.com "optimizing the rendering. I really enjoy this site especially their premium tutorials that shows different techniques when it comes to vray. By only 9USD a month you will be ablr to see and download tons of resources.

How to save memory for the rendering


( Render: Alessio Fiorini )
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!

No comments:

Post a Comment