Warp wrote:
> This is exactly the mistake made in the original code.
> That doesn't distribute the points evenly. There will be more spheres
> near the z-axis than elsewhere.
> You can test that if you like. Create LOTS of spheres with that algorithm.
> You'll notice how they will concentrate near the z-axis.
Will the points be evenly distributed if the latitudes are redistributed using
the function 1-cos(latitude*pi/2), assuming the latitude ranges from -1 to 1?
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|