OpenGL: Screen Coords to World Coods..

Started by
0 comments, last by Syntax 23 years, 4 months ago
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
-Lucas
Advertisement
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!
Paul Grovespauls opengl page

This topic is closed to new replies.

Advertisement