|
|
"Warp" <war### [at] tagpovrayorg> wrote in message
news:49e396b5@news.povray.org...
> clipka <nomail@nomail> wrote:
>> As a side note, I think a "rotate" statement in a new POV SDL should
>> *not*
>> follow that nasty "rotate about x then about y then about z" approach,
>> but
>> instead allow for rotations about arbitrary axes.
>
> 1) Having to always specify the axis of rotation can be tedious.
I disagree, I almost always specify the axis (rotate y*45 for instance) and
intuitively I would expect something like "rotate <1,1,0>*45" to rotate 45
degrees around the <1,1,0> vector, not 45 degrees around the x-vector
followed by a 45 degrees rotation around the y-axis
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
|