Animate 3D model with OpenNI + OF

Dear All,

Is it possible to do something like this,

http://www.youtube.com/watch?v=Zl6O-Rf52Co&feature=related

in OpenFrameworks with OpenNI and NITE?

I can map the skeleton coordinates to a 2D model, but I don’t have much idea how to load and animate a 3D model in Openframeworks. I want to get this done in a Linux environment.

Really appreciate your help!
Thanks in advance!
-Lahiru.

1 Like

Openframeworks only has built in support of meshes without bones or animation data. Maybe you could do it with collada, which supports skeletal animations and skinning. Take a look at this: http://code.google.com/p/ofxcolladaloader/ or search the forum.

in 007 the assimpLoader addon has support for skeletal animations and skinning. by default it can load a model which already has an animation and play it but you can access the assimp scene with getAssimpScene() to do generative animation using assimp functions

take a look at the updateAnimation method in the addon to know how to use it

uh nice! didn’t know that yet, saw assimpModelLoader but never googled it :slight_smile:

Thanks a lot for your replies!

I was actually checking collada, but was having problems with generative animations.

Thanks a lot for letting us know about the assimpLoader. I will have a look.

Best Regards,
-Lahiru.

any success in animating a model (with bones) with openni?

I’m also interested in this. Any success?

Anyone managed to resolve this … ?