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.
Section 5.2 of the OpenGL specification: “Selection”.