POV-Ray : Newsgroups : povray.general : Help: Place objects within a circle : Re: Place objects within a circle Server Time
4 Aug 2024 00:18:24 EDT (-0400)
  Re: Place objects within a circle  
From: Marc Champagne
Date: 12 Sep 2003 18:17:20
Message: <Xns93F4B9A185951POVMIKA@204.213.191.226>
"Bill DeWitt" <bdw### [at] cflrrcom> wrote in news:3f6136b1$2@news.povray.org:

> /// If you don't mind possible overlaps
> 
> #declare Name =
> sphere
>    { 0, 1
>      pigment { rgb < 1.0, 0.0, 0.0 > }
>    }
> #declare R1 = seed(123);
> #declare Radius = 25;
> #declare Step = 0.05;
> #declare I = 0;
> #while (I < 1)
>    #declare Placement = rand(R1)*Radius;
>    object { Name translate < sin(I*(2*pi))*Placement, 0.0,
> cos(I*(2*pi))*Placement >  }
>    #declare I = I +Step;
> #end
> 
> 


Well the declared item will be a sphere for blob use, overlaping
should not be a problem.

I'll give your example a try.

Thanks a 1000 scale 1000 !



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


Post a reply to this message

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