POV-Ray : Newsgroups : povray.general : Transformation problems with stellations : Re: Transformation problems with stellations Server Time
7 Aug 2024 19:22:04 EDT (-0400)
  Re: Transformation problems with stellations  
From: Mike Williams
Date: 27 Jun 2001 13:45:11
Message: <ZPr9OHAQUdO7Ew2D@econym.demon.co.uk>
Wasn't it Warp who wrote:
>Paul Brants <pbr### [at] pandorabe> wrote:
>: What am I doing wrong??
>
>  The transpose of a matrix and the inverse of a matrix are two completely
>different things.
>  You are applying the transpose of the matrix to the camera, which has
>nothing to do with the inverse.
>  Calculating the inverse of a matrix is a bit more complicated. You should
>find info in the net about that.

If you use MegaPOV, you can ask it to calculate the inverse of the
matrix for you. So you don't have to do any of the complicated maths
yourself. 

      #declare MatInv = transform {Mat inverse}

It's part of the Transform patch, written by Chris Huff.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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