Wasn't it Warp who wrote:
>Paul Brants <pbr### [at] pandora be> 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
|