POV-Ray : Newsgroups : povray.advanced-users : Convert matrix to rotate ? : Re: Convert matrix to rotate ? Server Time
30 Jul 2024 02:19:22 EDT (-0400)
  Re: Convert matrix to rotate ?  
From: Rune
Date: 19 May 2000 19:27:57
Message: <3925cdfd@news.povray.org>
"Peter Popov" wrote:
> "Rune" wrote:
>
> >How do I convert a matrix, or just 3 vectors,
> >into a rotation vector?
>
> >I need a function that can convert any matrix
> >(or just 3 vectors) that follows the
> >requirements into a rotate vector. How could
> >that be done? Is it possible at all?
>
> A matrix can hold any affine transformation.
> Chances are very small that your matrix is a
> rotational one. So briefly, I don't think it's
> possible.

I did say "that follows the requirements".

That is where the x, y, and z vectors are all perpendicular to each other,
and left-handed, and there's no translation.

So is there any way?

Greetings,

Rune

---
Updated April 25: http://rsj.mobilixnet.dk
Containing 3D images, stereograms, tutorials,
The POV Desktop Theme, 350+ raytracing jokes,
miscellaneous other things, and a lot of fun!


Post a reply to this message

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