Message Boards Message Boards

An importer for motion capture files. Infinite fun possibilities

Posted 10 years ago

Admit it...

You always wanted to play with those motion capture files that you can find for free by the thousands on places like the Advanced Computing Center for the Arts and Design or the cgspeed site which contains BVH conversions of the 2500-motion Carnegie-Mellon motion capture dataset.

Well, now you can.

I have written an importer package for the BVH (Biovision hierarchical data) motion capture format, which you can find as an answer on Just three of the possibilities:


out = Import[ "C:\\Female1_D6_CartWheel.bvh"]

enter image description here

Generate movies:

out["AnimatedGIF", "C:\\cartwheel.gif"]

enter image description here

Analyse motion:

  {Opacity[0.8], Hue[#2[[1]]/out["FrameCount"]], 
    GraphicsComplex[#1, Line /@ out["Bones"]]} &,
 Boxed -> False

enter image description here

etc. etc.

Combined with all the graphical power of Mathematica the possibilities for fun projects are endless. How about this?

enter image description here

POSTED BY: Sjoerd de Vries
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract