Tutorial 5: Motion Flow Editing

Lesson 4: Using a Shared Motion Flow

By including multiple bipeds in a shared motion flow you can animate multiple bipeds using only one motion flow graph. The Create Random Motion command randomly picks clips to create a unique script for each biped. Use this to create a crowd that is loitering or cheering, for example.

Creating multiple bipeds

  1. Reset 3D Studio MAX.

  2. Create one biped at the far left of the Front Viewport.

  3. In the Front Viewport, select the center of mass.

  4. In the Front Viewport, press SHIFT and drag to the right to create a copy of the biped. In the Clone Options dialog, type 5 for the number of copies.

    Six bipeds appear standing shoulder to shoulder.

Creating a shared Motion Flow

  1. Select the biped at the far right of the Front Viewport and turn on Motion Flow mode.

    Select one one object on the biped to enable biped controls in the Motion panel.

  2. On the Motion Flow rollout, click Shared Motion Flow.

    The Shared Motion Flows dialog is displayed.

  3. On the Shared Motion Flows dialog, click New.

    A new shared motion flow is created. A default name appears in the list.

  4. On the Shared Motion Flows dialog, click Add.

    The Select dialog is displayed.

  5. Select all the bipeds in the Select dialog and click Select.

    On the Shared Motion Flows dialog the biped names are displayed in the window.

  6. On the Shared Motion Flows dialog, click OK.

    The Shared Motion Flow icon on the Motion Flow rollout now has a white circle around it. This means that the selected biped is part of a shared motion flow.

  7. On the Motion Flow rollout, click Show Graph.

    The Motion Flow Graph dialog is displayed. The word "shared" appears in the dialog name. This Motion Flow Graph will be shared by the six bipeds.

  8. On the Motion Flow Graph toolbar, click Create Multiple Clips.

  9. From cstudio\tutorials\tutorial_5 add hatsoff.bip, laugh.bip, shocked.bip, sneeze.bip, and wave.bip. Hold down the CTRL key and click each file name to add it to the selection. Click OK.

    The selected clips are added to the Motion Flow Graph.

  10. On the Motion Flow Graph toolbar, click Synthesize Motion Flow Graph.

    Transitions appear between all the clips.

  11. On the Motion Flow Graph toolbar, click Select Random Start Clip.

  12. Select all the clips in the Motion Flow Graph window by dragging a window around them.

    Each clip has an even chance of being the first clip in a script.

  13. On the Motion Flow Script rollout, click Create Random Motion.

    The Create Random Motion dialog is displayed.

  14. On the Create Random Motion dialog set Random Start Range from 0 to 30.

    If two bipeds share a clip the clips start frame is picked randomly. This prevents identical motion.

  15. On the Create Random Motion dialog, click "Create motion for all bipeds sharing this motion flow", and then click Create.

    An alert asks if you want to put all the bipeds into Motion Flow mode. Click Yes. Each biped has a random script based on the clips in the Motion Flow Graph. Click Play to see the animation.

    Tip: Use the "Put bipeds into motion flow mode" command on the Shared Motion Flows dialog to put multiple bipeds into Motion Flow mode.

Next

 

 

 


Comments