View Full Version : Using the Mouse?

Aaron Prescott
12-02-2005, 08:38 PM
This may not belong here, but I'm going to ask it anyway. Is there a capability for OpenGL to get the point on the screen where the user clicks the mouse and OpenGL returns a polygon number or vertecies of the polygon where the user clicked or something like that? I have several applications in mind where this kind of thing would come in handy. I have no idea about the inner workings of OpenGL, so forgive me.

Tom Nuydens
12-05-2005, 12:20 AM

Section 5.2 of the OpenGL specification: "Selection".