Using the Motion Mixer


The Motion Mixer is a completely separate interface, shown in Figure 34.3. This interface is accessed using the Graph Editors image from book Motion Mixer menu command. The same interface also is opened using the Mixer button found in the Biped Apps rollout of the Motion panel when a biped is selected. If the Mixer button is used, then the Motion Mixer opens with the biped already added as a track to the mixer interface.

image from book
Figure 34.3: The Motion Mixer interface shows each loaded animation on a separate track.

Learning the Motion Mixer interface

Along the top edge of the Motion Mixer interface are several menus and a row of toolbar buttons. Many of these buttons perform the same commands that are found in the menus. You also can access these commands using the right-click pop-up menus. The toolbar buttons are described in Table 34.1.

Table 34.1: Motion Mixer Toolbar Buttons
Open table as spreadsheet

Toolbar Button

Name

Description

image from book

Add Max Objects

Opens a select dialog box listing all the Max objects in the current scene. Selected objects are added as tracks to the Motion Mixer.

image from book

Add Bipeds

Opens a select dialog box listing all the biped objects in the current scene. Selected objects are added as tracks to the Motion Mixer.

image from book

Delete

Deletes the selected track from the interface.

image from book

Select

Enables select mode for selecting tracks. Multiple tracks can be selected at once.

image from book

Move Clips

Allows the movement of tracks and clips within tracks. Holding down the Shift key clones the selection.

image from book

Slide Clips

Allows the horizontal movement of a clip within its own track.

image from book

Offset and Frame fields

Displays the number of frames from its original position that a clip has moved and the current frame number.

image from book

Trim Clips

Displays the original clip as a gray bar under the actual clipped track. Clips are trimmed by dragging on either end of a clip.

image from book

Editable Time Warps

Displays any Time Warp markers added to a clip.

image from book

Draggable Tracks

Enables clips to be dragged between tracks.

image from book

Lock Transitions

Locks the transition track so it doesn't change when the clips are edited.

image from book

Set Range

Sets the range for the selected track to equal the entire range.

image from book

Pan

Pans within the interface.

image from book

Zoom Extents

Zooms to show the full range of all tracks.

image from book

Zoom

Zooms in on the tracks.

image from book

Zoom Region

Zooms in on the region selected by dragging a rectangular area with the cursor.

image from book

Snap Frames

Causes all clips to snap to the nearest frame.

image from book

Snap Clips

Causes clips on the same track to be joined end to end when moved.

image from book

Preferences

Opens the Motion Mixer preferences dialog box.

image from book

Reservoir

Opens the Reservoir dialog box that lists available animation clips.

image from book

Horizontal, Vertical, Horizontal Vertical

Makes the horizontal and vertical editing of weight possible.

image from book

Weight Mode

Makes the editing of Weight curves accessible.

To the left of the interface, each track is listed under its controlling object or biped name. The small m button is used to mute a track, which removes its affect from the interface and the small s button is the solo button, which displays only the animation clip on that track. The right end of the interface shows the weight value for each track. The small w button lets you edit the weight values for the selected track, and the small b button lets you edit the weight of the balance track.

Adding layer and transition tracks

If the Mixer button in the Biped Apps rollout is used to open the Motion Mixer, then the selected biped is automatically added as a track to the mixer interface. After the Motion Mixer is open, additional biped tracks may be added using the Add Biped button, which opens a dialog box listing the available bipeds in the scene.

Biped tracks that are added to the Motion Mixer include an additional balance track that isn't available for non-biped tracks.

Tip 

To see the mixed motion applied to the selected biped, click the Mixer Mode button in the Biped rollout.

Non-biped tracks are added using the Add Max Objects button on the toolbar. This button also opens a dialog box listing the available scene objects.

Tip 

Biped tracks are dark yellow and non-biped tracks are light blue, but the track colors can be changed using the dialog box opened with the Mix image from book Track Color menu command.

Additional tracks can be added to the interface using the Tracks image from book Add Layer Track Above or the Tracks image from book Add Layer Track Below menu commands. Transition tracks also are added to the interface using the Tracks menu. Transition tracks are taller than layer tracks and let you define the transition between overlapping clips.

Tip 

All animation clips that are added to the Motion Mixer during a session are automatically copied to the Reservoir, which is a separate dialog box, like a library, that lets you quickly access various clips. The Reservoir even displays previews of any .bip files that are loaded.

Editing clips

Tracks can be trimmed easily from their original length by dragging on either end of the clip. The cursor changes when the cursor is positioned over the end of a clip. To see the clip's original size, click the Trim Clips button. The original clip size is shown in gray.

Editing track weights

Each track is associated with a weight value. The weight values define the influence of the track when two or more clips overlap. Weight values can range between 1.0 for full influence and 0.0 for no influence. If two overlapping clips both have a weight value of 1.0, then the topmost clip is used.

To edit a track weight, click the small w button to the right of the track. This enables the weight value, which appears as a red line for the track. If you position the cursor over the weight line, the cursor changes and lets you add an edit point if you click. This edit point may be selected and moved horizontally, vertically, or both horizontally and vertically depending on which button is selected on the right end of the toolbar. The weight value for the selected weight point is displayed in the value field to the right of the track. Several weight points may be selected and edited simultaneously.

Adding Time Warps

A Time Warp is just what it sounds like: a way to alter time or speed up and slow down animation clips. To add a Time Warp, select a clip and choose the Clips image from book Add Time Warp. The cursor changes and lets you click the track to place the location of the Time Warp, which appears as a thin, vertical white line.

After a Time Warp has been added to a clip, you can enable Time Warp editing mode by clicking the Editable Time Warp button in the toolbar. A dashed line is overlaid on the clip. This dashed line gives you an idea of how the clip's time is being altered. Then click and drag the top of the Time Warp marker to crunch time in one direction, or click and drag the bottom half of the Time Warp marker to crunch time in another direction. The dashed lines show the relative effect. Figure 34.4 shows two layer tracks separated by a transition track. The top track shows the default spacing for a Time Warp, and the bottom track shows time compressed to the right.

image from book
Figure 34.4: Time Warps can be added to clips to compress time.

Copying mixed animation to a biped

After the mixed animation is complete, you can create a new track that includes all the mixed animation clips called a Mixdown using the Mix image from book Compute Mixdown menu command. The Mixdown shows up as a new track and can be copied to a biped using the Mix image from book Copy Mixdown to Biped menu command.

Saving and loading Mix files

All the clips loaded and edited in the Motion Mixer can be saved to an external file as a .mix file using the Mix image from book Save Mix File and reloaded into the Motion Mixer using the Mix image from book Load Mix File menu command.

Tutorial: Mixing biped animations

Mixing biped animations together can create some really interesting effects. For example, try mixing a back flip with a front flip, and you'll get a really dizzy biped, but for more common motions-such as a character transitioning from a walking animation to a fighting stance-the Motion Mixer can be extremely helpful and save you lots of time.

To mix two animation clips into a single motion, follow these steps:

  1. Click the Systems icon in the Create panel, and select the Biped button. Then drag in the Left viewport to create a biped.

  2. With the biped selected, open the Motion panel and click the Mixer button in the Biped Apps rollout to open the Motion Mixer. Notice that the Mixer Mode button in the Biped rollout is activated automatically.

  3. Click the first biped track in the Motion Mixer to select it, and choose the Tracks image from book New Clips image from book From Files menu command. In the Open dialog box that appears, locate and select the image from book Walking.bip file from the DVD. The animation clip is added to the Motion Mixer and is 78 frames long.

  4. With the new clip selected, choose the Tracks image from book Add Layer Track Below menu command to create a new layer track.

  5. Select the new layer track, and choose the Tracks image from book New Clips image from book From Files menu command again. In the Open dialog box that appears, locate and select the image from book Fighting stance.bip file from the DVD. This clip is only 10 frames long.

  6. Select the Walking track, and choose the Tracks image from book Convert to Transition Track menu command. Then select and drag the Fighting stance clip to the bottom level of the transition track at frame 79. A transition between the two clips is added automatically, as shown in Figure 34.5.

    image from book
    Figure 34.5: Two biped clips have been combined to produce a new animation.

  7. Drag the Time Slider to see the resulting mixed animation. Then select the Biped root track, and choose the Mix image from book Compute Mixdown menu command followed by the Mix image from book Copy Mixdown to Biped menu command.




3ds Max 9 Bible
3ds Max 9 Bible
ISBN: 0470100893
EAN: 2147483647
Year: 2007
Pages: 383

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net