Description: Use opengl own glReadPixels (as well as gluUnProject () function and the points fall within the vector triangle to determine IntersectTriangle then transformed into three-dimensional coordinates of the two ways to obtain the screen click on the scene coordinates, found by comparing its value is the same.
File list (Check if you may need any files):
MYSDOPENGL
..........\glut.h
..........\glut32.dll
..........\glut32.lib
..........\MAINFRM.CPP
..........\MAINFRM.H
..........\MYSDOPENGL.APS
..........\MYSDOPENGL.CLW
..........\MYSDOPENGL.CPP
..........\MySDOpenGL.dsp
..........\MYSDOPENGL.DSW
..........\MYSDOPENGL.H
..........\MYSDOPENGL.NCB
..........\MYSDOPENGL.OPT
..........\MYSDOPENGL.PLG
..........\MYSDOPENGL.RC
..........\MYSDOPENGLDOC.CPP
..........\MYSDOPENGLDOC.H
..........\MYSDOPENGLVIEW.CPP
..........\MYSDOPENGLVIEW.H
..........\ntdll.dll
..........\OPENGL.DLL
..........\README.TXT
..........\RES
..........\...\MYSDOPENGL.RC2
..........\RESOURCE.H
..........\STDAFX.CPP
..........\STDAFX.H