POV-Ray : Newsgroups : povray.general : Help: Place objects within a circle : Re: Place objects within a circle Server Time
4 Aug 2024 00:25:07 EDT (-0400)
  Re: Place objects within a circle  
From: Marc Champagne
Date: 12 Sep 2003 18:16:42
Message: <Xns93F4B986040E0POVMIKA@204.213.191.226>
Warp <war### [at] tagpovrayorg> wrote in news:3f618f2c@news.povray.org:

> > Slime <fak### [at] emailaddress> wrote:
> > To counteract this, you need to "pull" the objects closer to the outer
> > edge of the circle. The correct way to do this involves calculus (I
> > think), but I'm pretty sure that it will turn out that you want to
> > take the square root of the X-value you get.

> This is a very good guess.
> The scene below demonstrates that sqrt indeed works very well as a
> correcting function.
> The first circle (at the left of the image) uses this method to place
> The spheres randomly onto it.
> The second circle (at the right) is for comparison: It uses a bit
> slower method to truely distribute spheres randomly onto the circle.
> The difference in distribution evenness is practically none.

I see you tried already, I will study your method to understand how you
came about it. 

Thanks Warp

-- 
Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

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