Game Development Community

DglPointToScreen not working

by Shawn Simas · in Torque Game Engine · 09/25/2006 (7:39 pm) · 0 replies

Howdy,

I'm trying to use dglPointToScreen, and I can't get it to work.
It's returning the same value, with the Z flipped.


After much forum reading I found out its because the Model View and Projection matrices are not set up. But I have no idea how to do that... I've tried a few things, like looking at fxSunight.cc and such, but I can't seem to get it.

Has anyone else attempted this with any success?

Thanks in advance,
Shawn