Mouse

Started by
4 comments, last by SKSlayer 23 years, 10 months ago
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)?
(you can find me on IRC : #opengl on undernet)
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
:o)
Yeah, but, the bible uses glut !
I want pure Win32 Code
(you can find me on IRC : #opengl on undernet)
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...

||--------------------------||Black Hole Productionshttp://bhp.nydus.netResident expert on stuffmax621@barrysworld.com||--------------------------||
there MUST be :o)

I know how to get mouse coordinates but not how to bring them back to GL
(you can find me on IRC : #opengl on undernet)
err yeah three is try reading the stuff on this web site about OGL WIN32 + MOUSE

~prevail by daring to fail~

This topic is closed to new replies.

Advertisement