I need to invert a transformation matrix to the exact opposite.
Does anybody have a piece of code that can help me out?
Matrix transformation math is not really my strength.
Thanks!
From: Le Forgeron
Subject: Re: matrix transformation -inversion
Date: 26 Aug 2010 02:33:11
Message: <4c760aa7$1@news.povray.org>
Le 26/08/2010 01:50, CAD-Andi a écrit :
> I need to invert a transformation matrix to the exact opposite.> Does anybody have a piece of code that can help me out?> Matrix transformation math is not really my strength.> Thanks!>
That's what the SDL is made for: add "inverse" after your matrix, inside
the transform block.
http://www.povray.org/documentation/view/3.6.1/49/
--
A: Because it messes up the order in which people normally read text.<br/>
Q: Why is it such a bad thing?<br/>
A: Top-posting.<br/>
Q: What is the most annoying thing on usenet and in e-mail?
Le_Forgeron <lef### [at] freefr> wrote:
> Le 26/08/2010 01:50, CAD-Andi a écrit :> > I need to invert a transformation matrix to the exact opposite.> > Does anybody have a piece of code that can help me out?> > Matrix transformation math is not really my strength.> > Thanks!> >>> That's what the SDL is made for: add "inverse" after your matrix, inside> the transform block.>> http://www.povray.org/documentation/view/3.6.1/49/>> --> A: Because it messes up the order in which people normally read text.<br/>> Q: Why is it such a bad thing?<br/>> A: Top-posting.<br/>> Q: What is the most annoying thing on usenet and in e-mail?
Clear case of "Should have read the Manual!"
Thanks a bunch! Saved me big headaches! Would have been nice though if the
inverse command was mentioned somewhere else and not only in the SYNOPSIS. of
transformations.
Still, Povray rulez!
Thanks again!