• Advertisement

Archived

This topic is now archived and is closed to further replies.

Mouse

This topic is 6431 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Under Win32, I made 2 vars that contains the position of the mouse, but, if I am in an OGL scene, How can I know where is the cursor (over which object it is) (in windowed mode)?

Share this post


Link to post
Share on other sites
Advertisement
hi

take a look at

http://www.itknowledge.com/reference/archive/1571690735/ch19/591-593.html#Heading2 ( this is opengl superbible chapter 19)

hope that help

lunasol

Share this post


Link to post
Share on other sites
I don''t think there is anything in "pure" win32 code that will let you select what is on the screen and return it''s coordinates...

Share this post


Link to post
Share on other sites
there MUST be :o)

I know how to get mouse coordinates but not how to bring them back to GL

Share this post


Link to post
Share on other sites
err yeah three is try reading the stuff on this web site about OGL WIN32 + MOUSE

~prevail by daring to fail~

Share this post


Link to post
Share on other sites

  • Advertisement