POV-Ray : Newsgroups : povray.advanced-users : Inverse of matrix? : Re: Inverse of matrix? Server Time
1 Jul 2024 05:43:08 EDT (-0400)
  Re: Inverse of matrix?  
From: SharkD
Date: 15 Nov 2009 02:54:50
Message: <4affb3ca$1@news.povray.org>
On 11/15/2009 2:45 AM, SharkD wrote:
> Nevermind. I found some code to do it here:
>
> http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/index.htm
>
>
> Do I need to flip the POV-Ray matrix first? In POV-Ray, translation
> occurs in the last *row*, whereas in the page I linked to translation
> occurs in the last *column*.
>
> Mike

Also, when applying the matrix to a vector instead of an object (i.e. 
using an array), do I multiply by a 1x3 matrix? Is this matrix vertical 
or horizontal?

Mike


Post a reply to this message

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