[Radiance-general] Re: Adding the sun to image based lightingenvironment

Lars O. Grobe grobe at gmx.net
Mon Nov 23 05:40:03 PST 2009


Hi!
>  That is probably also why adding the sun source is not making any
> difference, if you are measuring from inside the sphere (the source is
> outside).

Ok, after all the debugging of the scene syntax, with Santiago's reply
we got the conceptual problem - the sun source is "outside" the sky
sphere. The rule of thumb is that the source object is enclosing the
whole scene's octree - in other words, it catches rays sent out that did
not hit anything else to get them reflected back or absorbed.

So if you wanted to model with a sphere representing the sky, you'd have
to go with a disk (ring with inner radius 0) for the sun. You do not
want this. Instead, use source for both. And again - do not start using
mksource before you got the scene running without. Optimization is great
sometimes, but only once everything is working fine.

So good luck, and once again, the wonderful many ways to get confused
and hide some nasty bugs in a radiance scene ;-)

Cheers, Lars.



More information about the Radiance-general mailing list