Game Development Community


#1
09/05/2005 (12:36 pm)
That's not quite the way it's supposed to work. The modelview being passed in should essentially be the same thing as the world. It's just looking for a camera transform and a perspective transform.

So rather than pass in a world and modelview (not sure how you are differentiating these), just multiply them together and pass the result into the "modelview" parameter.
#2
09/05/2005 (7:03 pm)
Alright, yeah, I was just confused with the GFX->get___Matrix functions. I think I was just passing GFX->getViewMatrix() through as the modelview parameter, so no wonder.