|  |  | DuH!.. 
Is see now.. I wasn't even think cos, and sin.. 
And I didn't EVER think of rotate, rotate might be nicer on the loop.
Thanks all
Christoph Hormann <chr### [at] gmx de> wrote:
> dav### [at] intrepid  voygr  com wrote:
>> 
>> Okay all, just a little bit of help.. I've been trying to come
>> up with this formula for a while loop to create a round
>> set of small cylinders.
>> 
>> [...]
> How about:
> #declare Angle=0;
> #while (Angle < 2*pi)
>   #declare Point=<cos(Angle), sin(Angle), 0>;     
>   #declare Angle=Angle+(2*pi/50);
>   #declare Point2=<cos(Angle), sin(Angle), 0>; 
>   cylinder { Point, Point2, 0.05 }
> #end
> Note that you can also use 'rotate' instead of trigonometry.
> Christoph
> -- 
> Christoph Hormann <chr### [at] gmx  de>
> IsoWood include, radiosity tutorial, TransSkin and other 
> things on: http://www.schunter.etc.tu-bs.de/~chris/ Post a reply to this message
 |  |