Recently I have been working on a new mocap tool for Blender. The old one had grown to large to keep in a single file, so I had to split up the code into separate files to keep it manageable.
Perhaps the main new feature is the possibility to edit motions. The animation below was created from CMU 49/08, which consists of a single flip. Using the tools in the Mocap:Adjust panel, the motion was displaced to make feet and hands rest on the ground (more or less well, I was using FK), and then the F-curves between active markers were looped and repeated. The point is that the repeated flips fit together seamlessly, something that I was unable to do before.
The new mocap tool is the entire folder importers/mhx/mh_mocap_tool, which must be copied to Blender's addons folder (blender/2.58/scripts/addons) before start-up. Under Linux you can alternatively keep it somewhere else and put a link to it in the addons folder, but this does not work under Windows (Blender does not recognize Windows shortcuts). The mocap tool must then be enabled user preferences; it is found in the Animation category.
The main entry is the Load, retarget, simplify button in the Mocap:Old retarget panel. There is also a New retarget panel, which uses code that I have stolen from Blender's Pepper branch. However, it does not really work, or rather it works too well. In particular, the pelvis bone is rotated into the same global direction as in the bvh file. If the pelvises' rest poses differ (e.g. Accad down, Mhx up), some really ugly hip deformation result.
Preliminary documentation is available at https://sites.google.com/site/makehumandocs/blender-export-and-mhx/new-mocap-tool. Since this is work in progress, things may change without notice.
Blender 2.58? The current version is 2.59 since Aug 13 (3 days before this post was made). See http://www.blender.org/download/get-blender/
ReplyDeleteWas this addon tested with the current version of Blender?