World and Projection MAtrix
by Jeremiah Fulbright · in Torque Game Engine Advanced · 10/29/2006 (9:44 pm) · 2 replies
I am working with a third party library which needs to have Projection Matrix and View Matrix set before it does rendering. I have been fooling with various Matrix functions I have seen and other things, but can't seem to find the right one.
I know I am rendering fine, but with wrong matrix values it obviously doesn't do what it should be.
any help appreciated
I know I am rendering fine, but with wrong matrix values it obviously doesn't do what it should be.
any help appreciated
#2
11/16/2006 (8:17 am)
Just off the top of my head but wont this code give you what you want?MatrixF proj = GFX->getProjectionMatrix(); MatrixF view = GFX->getWorldMatrix().inverse();
Torque Owner dylanrw