View Full Version : Mouse position inside view

09-15-2000, 11:26 AM
So. OpenGl has rendered my image in 3D.
Now I want to know where my mouse is when
it floats over the view.
(i.e. the line projection from
the mouse through my picture)

Does OpenGL provide any transform at
all for helping me determine this?

Thanks for any suggestions!

Rob The Bloke
09-16-2000, 03:14 PM
try gluUnProject()

does the job, its quite fiddly though, so be prepared for some headaches