By fatanku
on Fri, 06/28/2013 - 17:07
Hi all, and dear moderator,
i have an issue with AR android interaction,
the case is : i want to make interaction from 3D object by tapping it so 2D object and the 3 buttons came up automaticly after tapping it .
could you please help me..
regards,,
me
3D interaction
Hi, you could have a look at the VideoPlayback sample, which contains code showing how to tap on a 3D object and perform some custom actions in response to the tap event.
Relevant code is in VideoPlayback.java and VideoPlayback.cpp.
3D interaction
hi Al,
thanks to pointed that solution, but please could you more spesific in which part.
because, i try the videoplaybak i got error (unexpectely error)
here is the log
3D interaction
Make sure to ndk-build and refresh the eclipse project.
3D interaction
i fixed the problem, that was from my device, and i set to OPENGLES 1.0, and it's look OK
but could you spesify which part of videoplayback.cpp and .java should i add into my image target
thanks,
regards
3D interaction
Hi, you can take a look at the method called isTapOnScreenInsideTarget, which is used in VideoPlayback.java and defined in native code in VideoPlayback.cpp