How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).
Thank you
How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).
Thank you
I found the answer my self.
Using gluUnproject(…)
Originally posted by jxruan:
[b]How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).
Thank you[/b]