PDA

View Full Version : Picking a point using OpenGl



lola
1st September 2011, 15:35
Hi, I have an application that draws a triangular mesh using OpenGL, and I need to be able to pick up (select) a vertex of the mesh with a mouse click, I mean, I need to know which vertex was clicked.
Does anyone knows how to do this???? :confused:
Thanks

wysota
1st September 2011, 20:20
http://nehe.gamedev.net/tutorial/picking_alpha_blending_alpha_testing_sorting/16005/