OpenGL: Screen Coords to World Coods..
I need some help with Converting Screen Coordinates to World Coords, I want a Object in 3D space to follow my mouse cursor (or basically be a 3D mouse cursor..basically give it the 2D screen Coords, and have it move to that spot in 3D space,
I am Having some issues on what to do, any help or pointers to references would be nice,
Thanx alot
Edited by - Syntax on 11/28/00 5:34:53 PM
You could use gluUnProject:
http://trant.sgi.com/opengl/docs/man_pages/hardcopy/GL/html/glu/unproject.html
I''m trying to figure this out NOT using the GLU library and could do with some pointers too!
http://trant.sgi.com/opengl/docs/man_pages/hardcopy/GL/html/glu/unproject.html
I''m trying to figure this out NOT using the GLU library and could do with some pointers too!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement