POV-Ray : Newsgroups : povray.text.scene-files : Fractal Macro : Re: Fractal Macro Server Time
28 Jul 2024 14:21:51 EDT (-0400)
  Re: Fractal Macro  
From: Tony Micklus
Date: 9 May 2000 14:08:51
Message: <39185433$1@news.povray.org>
Hi Samuel,

I am new to this newsgroup I have been playing with POV-Ray for about 6
months. I am trying to understand fractals and I came across your code which
has helped a lot but I have a few questions to ask if you would answer them.

1..Your cone statement has a radius of (.125*.6) why are the numbers
seperated why not make the radius .075?

2...When rendering  the image the radii of the cones and torii get
progressively smaller yet I all your radii are constants. What is it that
causes them to get smaller?

>
>#macro Curser( L )
>
>  cone{<0,0,0>,.125,<0,1,0>,(.125*.6) pigment{rgb 1}}
>
>  #if (L > 0)
>    #local New_L = L - 1;
>
>    union{
>     Curser(New_L) sphere{0,.01 pigment{rgb 0}}
>     scale .65 rotate y*45 translate y*1
>    }
>    union{
>     Curser(New_L) sphere{0,.01 pigment{rgb 0}}
>     scale .65 rotate<0,45,90> translate y*1
>    }
>    union{
>     Curser(New_L) sphere{0,.01 pigment{rgb 0}}
>     scale .65 rotate<0,45,-90> translate y*1
>    }
>
>  #end
>
>  #if(New_L<1) torus{.2,.1 pigment{rgb<.15 .8 .3>} finish{diffuse .9}
>translate y*1} #end
>
>#end
>


Post a reply to this message

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