Jump to content
Hash, Inc. - Animation:Master

BVH files


mtpeak2

Recommended Posts

I started working on a project that I started awhile back, rerigging the kong model with the squetch rig (still lots to do). Unfortunately, at the time I didn't realize that materials are lost during import of the model into the rig, so he has no fur, will rerig at some point. I saw the post by MrBones for the bvh files (thanks) and tried it out using Andy's tut (and thank you) on using them with the squetch rig. Here's the test, I think he had a few too many.

BVH_test.mov

Link to comment
Share on other sites

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 years later...
and tried it out using Andy's tut

Mark do you have a link to that tut or Will Suttons tut on bvh ,I can't seem to find it anywhere .Im using .bvh with the 2q08 rigg and its working well just need to be able to keep the rigg in there and use a differant bvh file without putting the rigg in everytime

Link to comment
Share on other sites

and tried it out using Andy's tut

Mark do you have a link to that tut or Will Suttons tut on bvh ,I can't seem to find it anywhere .Im using .bvh with the 2q08 rigg and its working well just need to be able to keep the rigg in there and use a differant bvh file without putting the rigg in everytime

 

It's offline for some time now, but luckily I have saved the text while it was still in Google's cache (no pictures but this info is quite clear IMO):

 

If you've ever wanted to use motion capture for any of your A:M models, but thought that it was probably too complicated, then this tutorial is for you.

 

In this tutorial, I will show you how to add a calibration pose into your model that will allow you to import and use motion capture data with the click of the mouse. While I'm going to be using BVH files for this tuitorial, you can repeat the set-up for several different types of motion capture devices. NOTE: version 9 of A:M doesn't support motion capture but it was restored in Version 10. This tutorial is done in version 8.5p+

Step 1

 

Import the model or skeletal rig that you want to use motion capture with. In this example, I'm going to apply this set-up to a basic skeleton. At Zandoria Studios, we use default skeletons that are set-up with spherical limits, kinematic constraints, and fan bones. Since these poses are assigned to a simple skeletal model (with no geometry), you can use the "import model" command to bring in an appropriate skeleton with all of the rigging set up. Once this motion capture pose is created, all of the models that use this rig will be automatically set-up for motion capture. In A:M version 10, there is an "autoassign bones" feature, that makes this workflow even faster!

 

Create a new Action. Right-click and choose New>Motion Capture Device>BioVision BVH File.

 

 

 

Right-click The "shortcut to BioVision BVH File1" and choose "Capture Sequence". This will load the BVH file into the Action.

 

Scale the BVH so that the markers roughly line-up with your skeleton, It is important to try and match the lengths of the legs with your skeleton so that the "stride" will be correct.

 

Step 2

 

Now you have to make some Constraints that will make your skeleton move and orient like the BVH file.

Use a "Translate to" to lock the hip of your skeleton to the hip of the BVH. Follow this constraint with an "Orient like"-- Use "compensate mode" to keep your skeletons hip/pelvis from moving when you apply the constraint.

 

Align the legs of your skeleton to the BVH, by using "Aim like two" constraints. Use the drop-down list of bones to pick the targets for your constraints. Target 1 is where the small end of the constrained bone points. Target 2 is where the base of the constrained bone points. In the illustration below the Calf bone of the model skeleton is constrained to aim at the RightAnkle and RightKnee of the BVH.

 

In this example, I used "Orient like" constraints to align the bones of the torso and upper body to the BVH skeleton. You can pick the constraint targets with the eyedropper tool, just as you normally do when making a constraint.

Step 3

 

Once your skeleton is constrained to follow the motion capture, create a Pose from the Action. Be sure that the Key filters are set as shown below. Name your pose "BVH" and save your model. This pose will now be usable to load any BVH file that is set-up the same way.

 

Step 4

 

To load a new motion capture file for your model, create a new action and drag-and-drop the "BVH" pose into the action. Version 10 of A:M will support motion capture, but Version 9 does not...

 

Right-click the channel for the "shortcut to BioVision BVH File1". NOTE: Do not right-click the shortcut, make sure that it's the channel. Choose "Capture sequence" and load the BVH file that you wish to use.

 

Your model will follow the new BVH file, it doesn't matter which file you used for making your constraints, just be sure that the BVH file was set up the same way. You can find lots of free BVH files on the web to practice with.

 

Your browser does not support inline frames or is currently configured not to display inline frames.

 

Here is a look at "Eugene" using motion capture. You can find Eugene on your Animation:Master CD or on the Hash FTP site.

Link to comment
Share on other sites

Yup, thats FUN!

 

I'd LOVE to see what would happen if you made a 'stomach' bone and weighted some of his gut CPs to it and gave it a 'dynamic constraint'. Right now, it's looking a little rigid- and a little recoil may do it some good.

Link to comment
Share on other sites

Hehe, do you realize this test was done over 2 years ago. I was redoing the hair material and rerigging this model with the lasted squetch rig recently, but I haven't finished the rerigging yet. Maybe I'll rerender this project with hair and dynamics when I'm done. The squetch rig already has a bone that I can add the dynamics to for the belly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...