|
![](/i/fill.gif) |
"Anthony D. Baye" <Sha### [at] spamnomore hotmail com> wrote:
> clipka <ano### [at] anonymous org> wrote:
> > Am 16.08.2013 06:27, schrieb Anthony D. Baye:
> > > I should also be clear that with vrotate(A,B), B is also a vector. So:
> > >
> > > object {
> > > ...
> > > translate vrotate(A, B)
> > > }
> > >
> > > is the same as:
> > >
> > > object {
> > > ...
> > > translate A
> > > rotate B
> > > }
> >
> > Nope. It's rather like
> >
> > rotate <0,0,-B.z>
> > rotate <0,-B.y,0>
> > rotate <-B.x,0,0>
> > translate A
> > rotate B
>
> Then the documentation needs serious clarification. That is not mentioned at
> all.
>
> http://www.povray.org/documentation/view/3.7.0/229/
>
> From: Pov-Ray documentation 2.2.1.4 Vector Expressions --
> "vrotate(A,B) Rotate A about origin by B. Given the x,y,z coordinates of a point
> in space designated by the vector A, rotate that point about the origin by an
> amount specified by the vector B. Rotate it about the x-axis by an angle
> specified in degrees by the float value B.x. Similarly B.y and B.z specify the
> amount to rotate in degrees about the y-axis and z-axis. The result is a vector
> containing the new x,y,z coordinates of the point."
>
> Regards,
> A.D.B.
see example in p.b.i
Regards,
A.D.B
Post a reply to this message
|
![](/i/fill.gif) |