I have 72 triangles that act as ‘selection’ objects for the rubiks cube Im doing. The triangles are arranged on the cube, 12 to a side.
Im working with the selection code in Chapter 13 in the ‘OpenGL Programming Guide’ and my question is this.
Its possible for 2 or more of these selection triangles to overlap (as they are on opposite sides of the cube) and when the selection process occurs, does the computer automatically select the triangle closest to the camera? Or does it select all of them in that line of sight?