Tutorial 6: Working with Motion Capture Data

Lesson 3: Using High-Frequency Data and Looping

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

  1. Reset 3DS MAX.

  2. In the Front viewport, create a biped.

  3. On the Motion panel, on the Motion Capture rollout, click Load Motion Capture File. Choose .csm as the file type.

  4. Open jez.sprint.csm.

    The Motion Capture Parameters dialog is displayed.

  5. Choose Footstep Extraction and Use Key Reduction.

  6. Click OK.

    The clip loads but has no footsteps.

  7. On the Display rollout, turn on Bones and turn off Objects.

  8. 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.

  9. Maximize the Left viewport.

Comparing the data

  1. Click Play.

    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.

  1. 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.

  2. In the Footstep Extraction area set Extraction Tolerance to 1.23.

  3. 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.

Looping

  1. On the Motion Capture rollout, click Load Motion Capture File. Choose .csm as the file type.

  2. Open jez.sprint.csm.

    The Motion Capture Parameters dialog is displayed. All the settings on the Motion Capture Parameters dialog should be the ones you entered previously.

  3. 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.

Next

 

 

 


Comments