|
|
In article <3c6ab2e8@news.povray.org>,
"Bill DeWitt" <bde### [at] cflrrcom> wrote:
> #declare Sphere1 = x;
> #declare I = 0;
> #while ( I < 1 )
>
> #declare Sphere2 = vaxis_rotate(Sphere1, 1, 360*I) ;
> // the object
> sphere { Sphere1, 0.4 pigment { checker scale .1 } }
> // the rotated object
> sphere { 0, 0.2 pigment { checker scale .1 } translate Sphere2 }
> // box rotated twice as far out
> box { -0.25, 0.25 pigment { bozo scale .1 } translate Sphere2*2 }
> // the arbitrary axis
> cylinder { 0, 1, 0.25 pigment { rgb y } }
> // insert your own fractal here...
> #declare I = I + 0.1;
> #end
None of those are rotated at all, they all stay in their original
orientation. All translate will do is change their location. You can
make a ring of them, but you can't rotate them with vaxis_rotate().
Now, you could use vaxis_rotate together with the Reorient_Trans()
macro, but that's just making it hard for yourself...why not just use
the Axis_Rotate_Trans() macro?
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|