Tutorial 6: Working with Motion Capture Data
With high-frequency motion, such as sprinting, you can lose the nuances of the motion if you use the default filter settings. In this lesson, you will minimize key reduction on the legs of a sprinter so the legs follow the raw motion data more closely. You will also learn to loop a motion file in the Motion Capture Parameters dialog.
Loading a file
Reset 3DS MAX.
In the Front viewport, create a biped.
On the Motion panel, on the Motion Capture rollout, click Load Motion Capture File. Choose .csm as the file type.
The Motion Capture Parameters dialog is displayed.
Choose Footstep Extraction and Use Key Reduction.
The clip loads but has no footsteps.
On the Display rollout, turn on Bones and turn off Objects.
On the Motion Capture rollout, turn on Show Buffer.
The red stick figure represents the raw motion capture data. The other stick figure represents the filtered data. Note that you can't use In Place mode with Show Buffer.
Maximize the Left viewport.
Comparing the data
The filtered data lags behind the raw data in the feet, making the sprint look more like a fast shuffle.
Tip: Right-click the Play button and turn on Real Time and 1/4x Speed in the Time Configuration dialog to slow down the motion. Key bracketing can confuse the view. You can turn off key bracketing by choosing Customize > Preferences > Animation > Key Bracket Display group > None.
The filtered data lags behind the unfiltered data.
On the Motion Capture rollout, click Convert from Buffer.
The Motion Capture Buffer contains raw motion capture data. You'll enter parameters to correct the lagging and to extract footsteps.
Footstep Extraction and Use Key Reduction should both be chosen.
In the Footstep Extraction area set Extraction Tolerance to 1.23.
In the Key Reduction Settings group change the Minimum Key Spacing for both legs to 1. Click OK.
The filtered legs match the raw legs during the sprint. The legs have a key at almost every frame, but the rest of the biped has key reduction.
The filtered data is identical to the unfiltered data.
On the Motion Capture rollout, click Load Motion Capture File. Choose .csm as the file type.
The Motion Capture Parameters dialog is displayed. All the settings on the Motion Capture Parameters dialog should be the ones you entered previously.
In the Load Frames group, turn on Loop and enter 1 in the Loop field. Click OK.
The sprinting motion is looped, creating a longer sprinting period. You can also loop a motion in the Motion Flow Graph with similar results.
Lesson 4: Editing with Layers