[Sidefx-houdini-list] HDK : Matrix Inverse Problem

Jaideep Khadilkar iamjaideep80 at yahoo.com
Fri Aug 1 07:29:05 EDT 2008


Hi.....



For a Vray procedural that I am writing, there is a object in camera
space. Its transformation Matrix is Matrix A. I want to transform the
object to the centre , rotate it and transform to the original position.

Lets say B = A inverse

R = Rotation matrix



So the final transform is F = A*R*B



But the problem is that, I am not getting "B" right.

My Matrix A is 

1 0 0 0 0 1 0 0 0 0 -1 0 0 0 20 1

I am using A.invert(B) to invert A and place the result in B.

When I print B, it is same as A

1 0 0 0 0 1 0 0 0 0 -1 0 0 0 20 1



Why I am not getting the right inverse???



Plz Help



----iamjaideep80

(Jaideep Khadilkar)


      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/


More information about the Sidefx-houdini-list mailing list