|
|
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
> 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.
#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
Post a reply to this message
|
|