POV-Ray : Newsgroups : povray.general : Convert 313 Cartesian Euler Angles to POV-Ray Coordinates : Re: Convert 313 Cartesian Euler Angles to POV-Ray Coordinates Server Time
5 Oct 2022 14:37:33 EDT (-0400)
  Re: Convert 313 Cartesian Euler Angles to POV-Ray Coordinates  
From: kurtz le pirate
Date: 11 Sep 2022 06:07:54
Message: <631db37a$1@news.povray.org>
On 10/09/2022 17:16, LAP wrote:
> 
> Yes, but the orginal matrix is in Cartesian coordinates [x, y, z].
> 
> The POV Ray matrix operates on its own [x,y,z] coordinates which would be
> equivalent to the Cartesian [y, z, -x].
> 
> Thus, the matrix needs to be changed to:
> 
> < d , g, -a,
>   e,  h, -b,
>   f,  i, -c,
>   0,  0,  0 >
> 
> So far this seems to work.

Hum... yes this is because POVRay use *left-handed system*
Look at this page <http://www.povray.org/documentation/view/3.7.1/15/>

If you want to use *right-handed system* you can change camera settings
See *2.3.1.1.7 Handedness* in
<http://www.povray.org/documentation/view/3.6.1/246/>





-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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