Game Development Community

What are the base Matrixies

by Anthony Rosenbaum · in Torque Game Engine Advanced · 06/24/2004 (3:09 pm) · 1 replies

I figure VC_WORLD_PROJ is the modelview matrix combined with the projection matrix .

In most of my reading there tend to be a normal Matrix, the inverse-transpose of the modeleview matrix upper left 3x3 matrix.

Also what exactly is VC_OBJ_TRANS, I see it being used by the fog calculations

#1
06/25/2004 (2:10 pm)
VC_OBJ_TRANS is the world transform of the object being rendered. The fog code uses it to transform the vertex into world space in order to correspond with the fog texture.