[Radiance-general] Ambient parameters optimization/tweaking

Lars O. Grobe grobe at gmx.net
Wed Apr 2 06:29:29 PDT 2014


Hi Vaib,

I highly recommend the well-known "Rendering with Radiance" which describes the way the calculations are implemented as well as crucial parameters. For the ambient calculation, all parameters beginning with the letter "a" are of importance. Runnning any Radiance command with the option "-defaults" will show the default values applied unless you override them with setting command-line parameters.

For a Nort-facing room on the Northern hemisphere (Vienna), direct sun will never be observed in the inside. The (diffuse) starts to contribute only if you set the number of bounces for the ambient calculation to at least 1 (which will consider the contribution from the sky to interior surfaces with sky visibility). To enable interreflection of the room-surfaces, the -ab setting must be higher. Try -ab 1 to -ab 6 and see at which setting your illuminance readings stabilize.

Unless you follow a very specific rendering strategy, in most cases "rad" will find rather well-tuned parameters according to the scene and the settings you configure in a "rif"-file. I would start from here, with reasonable values for indirect, detail and quality. If you want to try out the effect of a specific command line parameter, you can specify those in the "rif"-file as well using the "render" keyword. Please see the manpage and above mentioned book for details.

The setting for "-ar" seam to be low in your examples. "-ad" is high at 2048 - by pure guesswork I would have started with -ad 256 -as 128 -aa .1 -ar 64 for a room with simple windows, but this is not a good recommendation without knowing the scene. The settings for "-aa", "-ad", "-as" are interrelated and depend on the detail in the illuminance distribution that would be expected to affect your results. Again, see the book for details.

Cheers, Lars.


More information about the Radiance-general mailing list