View Full Version : Inverse Matrix
08-08-2005, 03:31 PM
Hi, can anyone actually point out why, what and where the inverse matrix is used in openGL and why it is useful? thanks! :)
08-09-2005, 01:25 AM
you can use the inverse matrix M^-1 of matrix M when you want the changes that M did want to be undone.
If you want another answer then please specify your question
08-09-2005, 02:17 AM
Ooh right thanks :) What about the determinant of a matrix, how is that useful in 3d graphics/games?
The determinant almost serves for calculating the inverse of a matrix.
08-10-2005, 06:13 AM
It is used to determine whether a polygon is backfacing.
08-10-2005, 09:20 AM
could you possibly explain how? The thoery behind it? :) If it's too lengthy explanation it doesn't matter :)
08-10-2005, 11:27 AM
The explanation is a bit involved and it requires some knowledge of Linear Algebra.
I won't get into all of that here but I can refer you to this (http://www.cs.berkeley.edu/~ug/slide/pipeline/assignments/backfacecull.shtml)
should you care to read up on it.
08-11-2005, 12:54 AM
The inverse transformation matrix is necessary for vertex normal transformation.
The vertex itself is multiplied with the modelview-projection-matrix. Normals need to be multiplied with the inverse transpose of that matrix to stay correct.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.