Saturday, 22 January 2011

POST 6: The Realism of Leaves (RE/DEV)

After many hours of researching I found a solution to create realistic foliage. Although foliage seems like a trivial thing to spend a lot of time on, it is the main element in my project - so I have to get it perfect. I found a blog from Roy Achkar. He explains how to use reflection, refraction, transparency and sub-surface scattering - the main ingredients to make good realistic looking leafs.

Here is a sample of his test.


These trees used a particular material with a daylight lighting. Using the setting he suggests - you can get the right effect.


This image above gives somewhat a good instruction to create the settings. Here is my attempt to create the leaves with just diffuse (texture), bump (mico-detail), reflection, refraction and reflection.


Because I took this shot from a darkened angle I did could not illustrate the difference between the reflection and refraction. The translucency is obvious though. This is probably the most important attribute of the leaf's material.

Here are a few more tests with a fewer leaves:


Because the image above has fewer leaves more light can hit and pass them. This illustrates the power of the material.


These leaves are looking good but they still don't have that organic look that makes the translucency as good as it could be. There is something called sub-surface scattering (SSS). When light hit an object like a car's metallic surface the light bounces straight off of it. On the other hand when light hits an object like wax (e.g. candle wax) the light not only bounces off but bounces inside then out of the wax. This is what gives candles their glow. 'Sub' means below the 'surface' - so in this context we are talking about the light passing the surface of the object into the 'sub-surface.' Light when in the sub-surface scatters and bounces out again to generate that glow.

Most organic object have SSS.





Although there may not be much difference, it will be more obvious in different lighting situations. Here is SSS on the test tree:


Finally here is a large full image of the tree with SSS.


Here a few tests during a sunset setting:



A larger and high resolution image:


Sebastian

No comments:

Post a Comment