Detecting Bindings in OpenGL Rendering
I was wondering if there is a way to detect touch in OpenGL rendering. I have a set of images that are displayed in my main view. Now if the user touches one of these images (or objects), I would like to know which one was affected - similarly
CGRectContainsPoint(frame, [touch locationInView:self.view]
method.
Is there an easy way to find out? If not, this will help as well.
+2
a source to share
1 answer
See selection and selection of frequently asked questions . This of course assumes you do have a full blown OpenGL implementation, I don't think the OpenGL ES specification (for example) includes selection support.
+1
a source to share