POV-Ray : Newsgroups : povray.binaries.images : Area light idiosyncrasies : Re: Area light idiosyncrasies Server Time
7 Nov 2024 04:53:56 EST (-0500)
  Re: Area light idiosyncrasies  
From: Mike Horvath
Date: 2 Oct 2016 15:57:09
Message: <57f16695$1@news.povray.org>
On 10/1/2016 11:09 AM, Cousin Ricky wrote:
> The area_illumination option in POV-Ray 3.7 has given me the opportunity
> to see how area_light distributes its points.  File
> area_illumination.jpg shows a simple 5x5 grid, scaled to a 2x2 fill
> area.  Fair enough.
>
> But is it?
>
> The points extend all the way to the edge of the fill area.  This has
> less than ideal consequences.  File area_light_jitter1.jpg shows a
> jittered 5x5 grid.  The
> light extends beyond the grid area.  This is easy to correct in SDL,
> however, using the formula:
>    axis_length * (number_of_points - 1) / number_of_points
>
> Less easy to work around is the circular pattern.  File
> circular_light05.jpg shows the 5x5 circular pattern.  The points are not
> evenly spaced.  The 17x17 pattern in circular_light17.jpg shows clearly
> the uneven lighting effect, although I don't know how much visual impact
> this has on a scene.


How do you evenly space points within a circle? Using a spiral? Or maybe 
a hexagonal/triangular grid? I'm not sure it's possible.

http://stackoverflow.com/questions/33510979/generator-of-evenly-spaced-points-in-a-circle-in-python

Mike


Post a reply to this message

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