|
![](/i/fill.gif) |
On 11/14/2009 11:27 PM, SharkD wrote:
> I have a matrix:
>
> matrix
> <
> CamR.x, CamR.y, CamR.z,
> CamU.x, CamU.y, CamU.z,
> CamD.x, CamD.y, CamD.z,
> CamL.x, CamL.y, CamL.z
> >
>
> What is the inverse?
>
> Thanks.
>
> Mike
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
Post a reply to this message
|
![](/i/fill.gif) |