I am trying to play an animation over a marker, something like https://play.google.com/store/apps/details?id=com.paultons.peppapig. Any sample apps available for this or can I modify the ImageTarget app somehow to achive the animation running on a marker?
- Sort Posts
- 4 replies
- Last post
Playing animation over the marker
Playing animation over the marker
Hello, I am working with the native Android SDK. I have read the article you are proposing but i find it difficult to apply that code to Android :S.
The GLKViewController Class ,that the code starts with ,doesn't even exists in android..Who could i work with that "transformation"? Could you advice me step by step into that? I am noob in c++ and mobile Apps.
I have found here the code of the above example http://code.google.com/p/iphonebits/source/browse/trunk/src/BouncyBall/Classes/GLViewController.m?r=17&spec=svn17
Thanks a lot,
Eva
Playing animation over the marker
Here's a project that you might be interested in - https://ar.qualcomm.at/content/vuforia-integration-gamekit
They've integrated GameKit w/ Ogre to Vuforia. You can author your animations using Blender and import them as .blend files.
Developing or integrating an animation engine on your own, w/o any C++ experience is going to be a challenge. The example that I'd linked shows the necessary OpenGL operations, but you'll need to adapt these to the rendering context that's demonstrated in the samples.
Playing animation over the marker
@Kamlameet, evaggelia: I am also trying the same thing..any success..??
Are you working with the native Android SDK , or the Unity Android Extension?
Accomplishing this will be easier in Unity. For native Android, you'll need to implement the animation code yourself in OpenGL. Here is a tutorial for iPhone that's applicable to Android for this purpose - http://iphonedevelopment.blogspot.com/2009/12/opengl-es-from-ground-up-part-9a.html
Alternatively you could use our Video Playback capability and manipulate the playhead to control the animation sequence. See the VideoPlayback sample for an example of how video is handled w/ Vuforia.