How do I determine what is touched in 3D space from the screen?

Posted by Omega on Stack Overflow See other posts from Stack Overflow or by Omega
Published on 2010-03-21T16:05:45Z Indexed on 2010/03/21 16:11 UTC
Read the original article Hit count: 273

Filed under:
|

How do I use gl.gluUnproject in my OpenGL ES 1.1 android app to determine what is selected when the user touches the screen?

My understanding is that the touch event results in a line and I have to find the first "thing" it intersects with.

Are there any tutorials on how to do this?

© Stack Overflow or respective owner

Related posts about android

Related posts about opengl-es