Monday, November 29, 2010

[android-developers] Detect touch event on a OpenGL object

Hi there!
I have developed an Augmented Reality App using OpenGL ES 1.1. It's
really cool and I'm very happy for that, because Im' an opengl
beginner.
Now I have a problem... :( I'd like to detect touch events on some
opengl objects. I know I can't use View.EventListener with those,
because these objects don't inherit from View class. They are simply
subclasses of Object that implement an opengl draw function.

I've read about "picking" in OpenGL, but before to take this way, I
want to understand if there are other solutions.

So, which can the solution be to do that?

Thanks in advance.

Paolo

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate