Introduction - If you have any usage issues, please Google them yourself
One to explore the use OPENGL from a screen point to the three-dimensional point conversion paper provides an algorithm for your reference.
The use of OPENGL from a screen to point to the three-dimensional point conversion.pdf