Log in or register to post comments

Frame animation

November 3, 2013 - 11:54pm #1

Hi, I had trying to integrate frame animation into AR, where an this animation frame will be show on the target image.

I am using this: http://developer.android.com/guide/topics/resources/animation-resource.html#Frame as example and add GUIManager from Dominoes.

        overlayView = View.inflate(context, R.layout.anim, null);
        overlayView.setBackgroundResource(R.drawable.animation_list);

        AnimationDrawable animation = (AnimationDrawable) overlayView.getBackground();
        animation.start();

I only can display the frame animation after click the start button.

How should I call in the .cpp file?

Frame animation

November 4, 2013 - 5:37am #4

This sounds more like a Unity-programming  question than a Vuforia-specific one... have you serached on the Unity website ?

 

Frame animation

November 4, 2013 - 5:16am #3

Hi There,

i'm trying to get an animation going i created with maya. I also have it in cinema 4d. Basically it's not even a real animation it's more like a 3d stopmotion. Because i have a different model for every frame like you would get from e.g. Realflow. So i only need to "animate" (switch on/off) the visibillity of my models frame by frame. It ist working in Maya and Cinema but Unity3d just does't recognize this kind of animation i guess. I already managed to make own markers and place own 3d models in the AR scene. But i really need to get this animation to work. I'm not a big coder so i'm really helpless right now.

Help us obi wan kenobi you're our only hope. :)

Gregor

Skype: juxus1

Frame animation

November 4, 2013 - 12:49am #2

This article shows how to interact between C++ and Java:

https://developer.vuforia.com/resources/dev-guide/java-native-interface

 

Log in or register to post comments