POV-Ray : Newsgroups : povray.advanced-users : Radiosity flouroescent lighting troubles : Re: Radiosity flouroescent lighting troubles Server Time
29 Jul 2024 14:14:48 EDT (-0400)
  Re: Radiosity flouroescent lighting troubles  
From: Michael Andrews
Date: 29 Nov 2002 09:59:22
Message: <3de780ca@news.povray.org>
Mark Weyer wrote:
> That's what I thought, except I expected the probability to be
> sin(theta)
> (or cos(theta), if theta is the angle between ray and TANGENT), implying
> fewer rays close to normal than close to tangent. Is this a typo?

What you must remember is that you are trying to estimate the lighting 
at a particular point.

If you have a light source almost tangential to the surface it doesn't 
illuminate much and one almost normal to the surface gives high 
illumination. So, if all the samples are weighted the same you want most 
samples from the normal direction and few from tangential to give the 
best estimate.

> 
> Why is the lookup array fixed? It might be calculated at program start,
> allowing for varying length.

I suppose it could be, and I've thought about doing this. However you 
would have to calculate an array for each level of radiosity recursion 
because the code reduces the number of samples taken at each subsequent 
recursion level. And the results wouldn't be very different anyway.

> 
>   Mark

Mike Andrews.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.