Posts mit dem Label External Illumination werden angezeigt. Alle Posts anzeigen
Posts mit dem Label External Illumination werden angezeigt. Alle Posts anzeigen

Samstag, 12. Dezember 2009

QMC | Internal + External illumination, differently sized GI portals

Now let's put it all together combining external and internal illumination.
There won't be no big surprises here since both scenarios obey to the same rules in terms of having a wider range of light contrast requires a higher samplecount.

GI Bounces: 3, GI-Gamma 2.2, Geometry AA
Scenario: Internal + External illumination, large GI Portals



click to enlarge
With the additional light from the inside we contribute to an evenly lit situation. Internal and external light intensities are within comparable ranges. This leads to a very clean render at 4096 samples.

GI Bounces: 3, GI-Gamma 2.2, Geometry AA
Scenario: Internal + External illumination, small GI Portals

click to enlarge
Though this is a more evenly lit situation than compared to the same scene without internal lights there's much more grain visible here compared to the upper picture. External and internal lightintensities are not within the same range. The external light is about ten times brighter than the internal light which gives shadingpoints a much wider brightnessrange to sample from. 4096 samples are not sufficient to even the noise out. This looks only a tad bit cleaner than the same scene without internal lights.

Phew, that took aaawfully long. Now it's about time we talk about optimization!

Donnerstag, 10. Dezember 2009

QMC | External Illumination Type

GI Bounces: 3, GI-Gamma 2.2, Geometry AA
Scenario: External Illumination only (illum. color, Physky, HDRI) large GI portals


There is difference in rendertime depending on which source of external illumination you choose. In this case (!)
HDRI being the fastest,
illumination color almost identical and
Physky being the slowest which makes sense since it contains a sky and a sun.

click to enlarge

Reducing the GI portals' size increases rendertime slightly when using the same amount of samples. But you would need higher settings with the small portals anyway as we already discovered and see again here.
Most likely the results can vary depending on the sun angle when choosing Physky or the type of HDRI for image based lighting. 



Scenario: External Illumination only (illum. color, Physky, HDRI) small GI portals



click to enlarge

To give you a better overview of this situation take a look at the diagram:



click to enlarge

Mittwoch, 9. Dezember 2009

QMC | External illumination only, small GI portals

GI Bounces: 3, GI-Gamma 2.2, Geometry AA
Scenario: External illumination only, small GI portals

The illumination of the sky material had to be 10 times higher to compensate the brightness for the small amount of light coming in.















click to enlarge

This is a good proof that scenes with small but intense lights (the GI portal in this case) need way higher settings which is why 4096 samples worked good for the previous pic but not sufficiently for this one.
By making the GI Portals smaller on one hand and increasing the brightness from outside on the other hand this scene carries a much larger contrast in it. Thus chances of a shadingpoint sampling very different brightness values increases giving an overall grainier look. To smoothen it out even more samples would be necessary. (Rendertimes getting out of hand now but we'll get to the optimization later)
Also the Gamma2.2 setting comes more into play here in darker corners in terms of more grain since this scene is generally darker.

QMC | External Illumination only, big GI Portals

GI Bounces: 3, GI-Gamma 2.2, Geometry AA
Scenario: External Illumination only, big GI Portals















click pic to enlarge




So with the insane amount of 4096 samples per shadingpoint (which is every pixel in QMC, that's why it's called brute force method) this scene looks almost perfect, a little bit of grain is still noticeable especially in darker areas. Why don't we get an even noise distribution throughout the whole picture? That is because of the GI gamma of 2.2. If you use a Gamma of 1 you'll get an evenly  distributed noise but the light decay wouldn't look as realistic. Best thing would be to adapt a linear workflow but that is another huge topic. If you're interested check out http://cgpov.com/?p=103 and http://www.thirdpartyplugins.com/degamma/DeGammaDoc.pdf . For now just be aware that raising the GI gamma will give you more grain in darker areas, so you should definetely testrender those spots!
But back to sampling:
How will 4096 samples do in other scenarios, will that be a universal valid samplecount for an almost grainfree render? We're about to find out in the following examples....