|
|
In article <3c6a07f0$1@news.povray.org>,
"Bill DeWitt" <bde### [at] cflrrcom> wrote:
> Maybe I misunderstood the question.
>
> #declare Sphere1 = x;
> #declare Sphere2 = vaxis_rotate(Sphere1, 1, 360*clock);
>
> sphere { Sphere1, 0.4 pigment { rgb x } } // the object
> sphere { Sphere2, 0.5 pigment { rgb y } } // the rotated object
> cylinder { 0, 1, 0.25 pigment { rgb z } } // the arbitrary axis
Now rotate a sphere with a patterned texture. Or rotate a box, or a
julia fractal.
Vectors aren't always enough, which is why the axial rotation macro is
included with 3.5.
--
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
|
|