POV-Ray : Newsgroups : povray.advanced-users : matrix transformation -inversion Server Time
23 Dec 2024 12:19:08 EST (-0500)
  matrix transformation -inversion (Message 1 to 3 of 3)  
From: CAD-Andi
Subject: matrix transformation -inversion
Date: 25 Aug 2010 19:55:00
Message: <web.4c75ac4ab5f974c8fdfcf7500@news.povray.org>
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!


Post a reply to this message

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?


Post a reply to this message

From: CAD-Andi
Subject: Re: matrix transformation -inversion
Date: 26 Aug 2010 15:45:00
Message: <web.4c76c37a694106b9bf952ed30@news.povray.org>
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!


Post a reply to this message

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