POV-Ray : Newsgroups : povray.general : Camera angles problem : Re: Camera angles problem Server Time
29 Jul 2024 08:16:35 EDT (-0400)
  Re: Camera angles problem  
From: Nekar Xenos
Date: 16 Aug 2013 15:05:26
Message: <op.w1xba9frufxv4h@xena>
On Fri, 16 Aug 2013 20:08:52 +0200, Anthony D. Baye  
<Sha### [at] spamnomorehotmailcom> wrote:

> clipka <ano### [at] anonymousorg> 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.
>

No wonder I got confused. i thought it was just me...

-- 
-Nekar Xenos-


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.