create a bvh or fbx recorder with kinect and max ?

physmodoben's icon

i am using the kinect and Max for a while now. I was wondering if you guys think that's possible to record the data of a kinect with max but all the datas are saved has bvh or fbx format ? Like a type of animation recorder ?

Thanx,

Benoit

MrMaarten's icon

Hi Bonoit

Max Patch
Copy patch and select New From Clipboard in Max.

I just use a coll for that. It has worked well for me. It is human readable like BVH. You can even specify extra columns for storing other relevant info that needs to be in sync with the animation data.

It is also easy to loop a certain part with the metro/ counter pair that drives the coll. And you can even delete parts of the coll that you don't like.
Also playback speed can be easily varied by changing the speed of the driving metro.
To playback in a loop seamlessly you can get the 'length' of a coll upon reading and set that as the maximum for the playback counter.

See the coll reference for more info...

I didn't need to import directly in other software packages so I haven't looked at at those specs (from briefly looking at BVH it didn't look that complicated). For the brief demo's I did in Blender and Cinema 4D I just played it back in realtime over OSC...

physmodoben's icon

Thank you !!!! I will check that after work !!!

Thanx,

Benoit

physmodoben's icon

Hi MR Maarten !!!! Thanks for posting the patch.... It's just I never use them, but the r kinect -start-recording and r kinect-user 1 are send from where ? If it's possible to post the complete patch with the jit.openni object that will help me a lot to make work your patch.