Game Development Community

Projecting 3D point onto the Screen?

by UW System Academic ADL Co-Lab · in Torque Game Engine · 05/24/2007 (7:27 pm) · 3 replies

I've tried using dglPointToScreen, but it doesn't seem to work properly. It simply negates the Z coordinate! I realize projecting a 3D point onto a 2D screen is quite a complex operation, but could anyone point me in the right direction or to a helpful resource?

Thanks.

#1
05/24/2007 (7:40 pm)
Check out how it's done for player names in the GuiShapeNameHud,
or you might be interested in this resource.
#2
05/25/2007 (11:15 am)
That resource helped a lot, thanks Orion!
#3
05/25/2007 (11:15 am)
My pleasure!