Posts mit dem Label Oversampling werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Oversampling werden angezeigt. Alle Posts anzeigen

Samstag, 2. Januar 2010

QMC optimized | Oversampling in different Scenarios, highly detailed

What happens if some heavy detail is introduced to the existing lighting scenarios?
The GI testscene offers two checkboxes to add intricate detail on the table as well as on the upper right wall.


click to enlarge


With all these nurnies no wonder rendertimes went up (about threefold, therefore I decreased the resolution to keep me sane..)
Also here making use of oversampling did a good job reducing rendertimes while maintaining quality.


The relative speedgain compared to the undetailed scenes was generally maintained or diminished. Only few were a bit faster to render. But nevertheless oversampling was always faster to render than its non-oversampled equivalent with our provided level of detail. I guess there will be a certain amount of detail where oversampling cannot play out its advantage anymore and relying on other optimizations is advisable. But that needs still to be verified.
So far oversampling has been proved to be very beneficial!

Check out the diagrams for a precise comparison of the different scenarios without/ with detailed geometry:










Dienstag, 22. Dezember 2009

QMC optimized | Oversampling in different Scenarios, low detail

Let me give you a summary of the different scenarios comparing rendertimes between a rendering that used no oversampling and an optimized rendering using oversampling. The optimized version was determined earlier by testing out 5 settings that had shown most promise. The ratios between samplecount and oversampling were generated by applying our rule of thumb to achieve a comparable quality to that of the unoptimized rendering.

(sorry for the gif-parade readers..I know it's not very convenient. Embedding quicktime would be nice if apple finally manages to fix the 64bit bug within browsers)


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




click to enlarge


GI Bounces: 3, GI-Gamma 2.2, without/ with Oversampling, Geometry AA
Scenario: External illumination, small GI Portals


click to enlarge


GI Bounces: 3, GI-Gamma 2.2, without/ with Oversampling, Geometry AA
Scenario: Internal illumination, small Lights


click to enlarge


GI Bounces: 3, GI-Gamma 2.2, without/ with Oversampling, Geometry AA
Scenario: Internal illumination, large Lights 


click to enlarge

GI Bounces: 3, GI-Gamma 2.2, without/ with Oversampling, Geometry AA
Scenario: Internal illumination, multiple Lights


click to enlarge

GI Bounces: 3, GI-Gamma 2.2, without/ with Oversampling, Geometry AA
Scenario: External illumination, large GI Portals and internal illumination, multiple Lights



click to enlarge

GI Bounces: 3, GI-Gamma 2.2, without/ with Oversampling, Geometry AA
Scenario: External illumination, small GI Portals and internal illumination, multiple Lights



click to enlarge



So what's the bottom line here?
Using oversampling we could achieve a decrease in rendertime down to between 7 and 75%.


The manual suggests the smaller the lights the bigger the oversampling ratio should be. I can only confirm this on some of my scenarios. Values between 2 and 16 seem reasonable which would be less than weak to medium if you'd  pick the rate from the presets. I never had to go above medium on my seven scenarios. If you should come across a suitable scene for high oversampling rates please let me know. :-)


Next we're going to take a look at the same scenarios with and without oversampling only this time with some heavy details in the scene.

Sonntag, 13. Dezember 2009

QMC optimized | Oversampling, Rule of Thumb

So we know that we can achieve clean results with sufficient samplecount and scenes with high contrasting illumination values need more samples.
Sometimes rendertimes can get out of hand so how can we optimize the renderspeed by maintaining the same or even enhanced quality?

Make use of Oversampling if you have GI portals and/ or illuminated objects within the scene!

You can get away with fewer samples and still have less noise. Be aware though that oversampling can also be a speedhit if wrong settings are applied! There are a couple of oversampling options available in the rendersettings as well as in the material settings.
A little explanation is due here:
Oversampling sends out additional rays but the smart thing about it is that these rays will be ignored if they don't target towards an illuminated object (or gi portal). This results in a cleaner pic.
There are three different kinds of oversampling available:

The first one is accessed through the rendersettings, the other two modes are are assigned per material. Again, you can only take advantage of oversampling by having either gi portals or luminant objects in your scene.


click to enlarge
Material-> Illumination -> Sampling Mode
If it is set to oversampling the oversampling value from the rendersettings menu will be applied. The other two modes will overwrite whatever is set in the rendersettings even if the oversampling in the rendesettings is set to none! The last mode Per-Pixel QMC Sampling is redundant when using QMC GI as I gathered.
Let's take a look first at the oversampling enabled by the rendersettings. The strength can be picked either from the presets dropdown menu or entered in numerically. The ratio describes the amount of rays in relation to the samplecount. A useful rule of thumb would be:

Multiply the samplecount with the ratio. That resulting value would be the samplecount you'd have to use to achieve approximately the same quality without oversampling.

There is a specific ratio for every scenario that works best. So this time we keep the quality "constant" (using the rule of thumb) and look which samplecount/ oversampling ratio setting was the fastest to render.
We later come back to the oversampling enabled by the material settings and see how that works for the different lighting scenarios. My renderqueue is stuffed - ROCK'N'ROLL!!