OpenGL Picking in 3D - Schabby's Blog | Reserve Orbital Defence Commander
This blog post explains a common and versatile approach to OpenGL picking called "ray picking". An example in pseudo-code is given below. Picking is the process of finding objects in your scene based on user input. Most commonly, you want to determine wha...