Extending the length of motion capture data
 
 
 

You often need more animation of a motion sequence than is provided in the motion capture data. For example, you may need to have a walk cycle that is substantially longer than what was provided in the original file. You can use the Trax Editor to edit the motion capture data and create clips that can be cycled to make longer animation sequences. When you cycle a clip, the clip is extended in length with duplicate animation from the original clip over a defined interval of time.

If you want to cycle a clip, you must first determine areas within the animation sequence where the clip repeats seamlessly. For example, if you want to create a walk cycle from the motion capture data, you need to determine the time (frame) where the right foot is planted on the ground, and then move forward in the Time Slider, frame by frame, until you find the next frame where the right foot is planted on the ground in exactly the same (or very similar) manner, and then create a clip. The resulting clip will contain two steps of the walking motion. The clip can then be cycled to produce a motion that repeats. How seamlessly it cycles depends on the original motion capture data.

In the steps that follow you create a walk cycle from the motion capture data by:

To create a clip that can be cycled

  1. In the Time Slider, drag the current time indicator to frame 6.

    The skeleton updates in the scene to a walking pose where the right foot is planted on the ground.

  2. Drag the current time indicator forward in the Time Slider until you reach frame 45.

    At frame 45, the skeleton is posed in a similar manner as it appeared at frame 6. If you use this range of frames (6 to 45), you can create a clip that can be cycled.

  3. In the persp view ensure the skeleton is selected.
  4. In the Trax Editor menu, select Create > Animation Clip > .

    The Create Clip Options window appears.

  5. In the Create Clip Options window, click Edit > Reset Settings to set the tool to its default settings, and then set the following:
    • Type WalkCycle in the Name field.
    • Put Clip in Trax Editor and Visor: On
    • Time Range: Start/End
    • Start Time: 6
    • End Time: 45
    • Click Create Clip

    Two clips appear in the Outliner named WalkCycle and WalkCycleSource.

  6. In the Trax Editor, with the skeleton selected, click the Load Selected Characters icon.

    The clip named WalkCycle appears in a new track. Loading the Character displays any tracks associated with the character; in this case the WalkCycle clip.

    TipClick the Frame All button in the Trax Editor if you don’t see the clip.

  7. In the Time Slider, set the current time indicator to frame 1.
  8. Click play on the Time Slider playback controls to play back the clip.

    The skeleton takes two steps and stops.

  9. Press stop on the playback controls to stop the playback and reset the current time indicator to frame 1.
  10. In the Trax Editor, drag the clip to the left in its track until the Frame In number reads 1.

    This sets the clip to begin at frame 1 in the Time Slider.

In the steps that follow, you cycle the clip to extend the animation so the skeleton repeats the two step motion and travels farther in the scene.

To cycle the motion for the walk clip

  1. In the Trax Editor, Shift-drag the lower right corner of the Walk clip to the right until a C2.0 number appears in the new region of the clip.

    When you shift-drag over the Frame Out area, the mouse cursor changes to a circular pointing arrow to indicate you are cycling the clip.

  2. Double-click on the cycled clip in the C2 region.

    The region is highlighted to indicate you can edit the values in the region. The number will likely not be exactly 2.0. This means that the cycle will not repeat exactly twice.

  3. Type 2.0 to modify the clip so it cycles exactly twice.
  4. With the clip selected in the Trax Editor, open the Attribute Editor. Open the Channel Offsets menu and ensure that the WalkCycle clip’s root.scale and root.translate offset attributes are set to Relative and root.rotate offset attributes are set to Absolute.

    Setting the offset attributes for the clip to Relative ensures that each cycle begins at the position where the last sequence left off. This ensures that the skeleton doesn’t jump back to its start point after each cycle.

  5. Click play on the Time Slider playback controls to play back the clip.

    The skeleton takes six steps and then stops.

    When the clip is cycled twice, the two-step walking motion occurs three times in total.

  6. Press stop on the playback controls to stop the playback and reset the current time indicator to frame 1.