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
One thought I had was to cache the results of calling gluProject. This might only be practical when you are dealing with a fixed camera. At the end of any change in camera perspective, I can regenerate this cache of "touchables".
This also has the added benefit of ensuring that I'm only testing input against things that will respond to being touched.
I'd appreciate any thoughts on this approach!