PDA

View Full Version : Screen pixel to its location in global coordinate.



jxruan
07-26-2001, 07:12 AM
How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).

Thank you

jxruan
07-26-2001, 08:11 AM
I found the answer my self.
Using gluUnproject(...)


Originally posted by jxruan:
How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).

Thank you