hi,everyone.
when i want to display points using OpenTK. How to convert screen coordinate to real world corrdinate.following is example data:
650000,4768900,2500
650000,4769000,2300
650200,4768900,2800
651000,4763400,2500
.......
Thanks.
Posted Thursday, 24 January, 2008 - 18:03 by the Fiddler
I am not sure what you wish to do (shouldn't screen coordinates be like (x,y) instead of (x,y,z)?), but these two functions are probably the answer. Man pages. :)
Comments
You may want to look at the
You may want to look at the OpenGL GLU functions gluProject and gluUnProject.
I am not sure what you wish
I am not sure what you wish to do (shouldn't screen coordinates be like (x,y) instead of (x,y,z)?), but these two functions are probably the answer. Man pages. :)