PDA

View Full Version : GluMouseCallback HELP



chuge
10-05-2000, 05:39 PM
Hello,

I need to get input from my mouse but the problem is GluMouseCallback returns the mouse coordinates in relation to Windows - window. I need to get the coordinates in terms of my landscape (in the window). Does anybody have any ideas how to do this? Is the only way for me to create another object and have the mouse control it (while keeping the behaviour of a mouse.. ie... the pointer can be seen as you're moving the mouse around). Please help! Thanks.

-c

nic
10-06-2000, 12:43 PM
Check out gluUnProject. It should get you where you want to go.

Later, Guy

chuge
10-09-2000, 07:28 PM
Awesome!.. thanks!

-c