Hi, can anyone actually point out why, what and where the inverse matrix is used in openGL and why it is useful? thanks!![]()
Hi, can anyone actually point out why, what and where the inverse matrix is used in openGL and why it is useful? thanks!![]()
...People Who Say It Can't Be Done Are Passed By Those Who Are Doing It...
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
Ooh right thanksWhat about the determinant of a matrix, how is that useful in 3d graphics/games?
...People Who Say It Can't Be Done Are Passed By Those Who Are Doing It...
The determinant almost serves for calculating the inverse of a matrix.
It is used to determine whether a polygon is backfacing.
could you possibly explain how? The thoery behind it?If it's too lengthy explanation it doesn't matter
![]()
...People Who Say It Can't Be Done Are Passed By Those Who Are Doing It...
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
should you care to read up on it.
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.
355/113 -- Not the famous irrational number PI, but an incredible simulation!