Thursday, December 20, 2012

BVH Motion Reassigner

This is a project that has been abandoned for months. When the first time I revisited this project, I could not recall what the purpose of the software. But the name, BVH Re-Assign, suggests that it will enable us to reassign motion data from one joint to another.

Later, I recalled that I began developing this software when I played around with MakeHuman and Blender. MakeHuman, after imported into Blender, accept BVH data, but not all BVH acceptable to MakeHuman. So I thought, what if I develop a software that can copy motion data from any BVH to a BVH structure (or in Blender called empties) that has been proven to be acceptable to MakeHuman.

...Something happened and I abandoned the project.

Although I have left the world of 3D, but I guess I will return and need this functionaly. So here I am, continuing the project.

In this stage, the software can copy or swap motion data between two joints. It’s not there yet but It’s getting there. How it works? Those who familiar with Visual Basic 6 can download the project here. Those who familiar with different programming language, the workflow is as follow:
First, extract joint information and motion data into two different table. My tables are: JOINTS_INFO and MOCAP.
The former is created manually in MS Access, the later is created during the runtime, because I never know how many joints the software will deal with.
When the user select joints to copy from and to copy to, the software will copy the xrot, yrot, dan zrot fields of both joints. Then, depending on which operation choosen by the user, the software will copy or swap the motion data dan copy them back to original table.

Finally, the software will create an output BVH based on modified data. BVH Hacker showed me so far so good.

Stay tune, hopely I can make it.