LongJumper
2003.10.09, 02:03 PM
If you're facing down the z-axis, at z = 0 the screen is 1 unit across and 1 unit up and down. Therefore, -.5 is the left hand side and +.5 is the right hand side, and similar for the y axis.
This would also mean that if z was pushed one unit into the screen, I could use probably pythaghoweveryouspellit's theorem to figure the amount of units it is across at that point(that are viewable).
And would this also mean that I could take the resolution of monitor(since it is fullscreen) and the global(or local to the fullscreen window?) coordinates of the mouse location to figure out it's GL coordinates?
Correct me on any bad logic :)
This would also mean that if z was pushed one unit into the screen, I could use probably pythaghoweveryouspellit's theorem to figure the amount of units it is across at that point(that are viewable).
And would this also mean that I could take the resolution of monitor(since it is fullscreen) and the global(or local to the fullscreen window?) coordinates of the mouse location to figure out it's GL coordinates?
Correct me on any bad logic :)