Tutorial 5: Motion Flow Editing
By creating a script that calls the same motion clip repeatedly you can create a loop cycle that lengthens the motion. This is a good way to lengthen a walk or run cycle. You will use layers to change the looped animation.
Turn on Motion Flow Mode
Reset 3D Studio MAX.
Create a biped
Turn on Motion Flow mode.
On the Motion Flow rollout, click Show Graph.
The Motion Flow Graph displays.
On the Motion Flow Graph toolbar, click Create Multiple Clips.
Click Browse and load cstudio\tutorials\tutorial_5\Walk2Loop.bip.
The motion clip appears in the Motion Flow Graph dialog.
On the Motion Flow Graph toolbar, click Synthesize Motion Flow Graph.
A loop arrow appears on the clip.
On the Motion Flow Graph toolbar turn on Select Clip/Transition.
Select the transition arrow in the Motion Flow Graph window.
On the Motion Flow Graph toolbar click Optimize Selected Transitions.
The transition is optimized.
Creating a script
On the Motion Flow Script rollout, turn on Define Script.
On the Motion Flow Graph dialog, click the Walk2Loop clip 5 times.
You've created a script that calls for the clip to transition to itself four times.
The clip loops, extending the walk cycle.
Making the motion available in your scene outside of Motion Flow Mode
On the Motion Flow Script rollout, click Create Unified Motion.
On the General rollout, turn off Motion Flow mode.
The walk cycle is available for editing outside of Motion Flow mode.
Adding a layer and changing the walk cycle
On the Layers rollout, click Create Layer.
A new layer is created.
Turn on Animate.
At frame 0, in the viewports, rotate both upper arms about the Y axis to move the arms away from the body.
The walk loop now has the character swinging his arms far from his body. The red stick figure represents the original motion.
On the Layers rollout, click Collapse.
The layer showing the arms away from the body is collapsed back to the base animation.Click Play to see the animation. Load MoFlow_tut03.max to see the finished animation.
Looping animation and layers lets you lengthen and edit animations. To reduce keys and create footsteps, save the .bip file and use Load Motion Capture File in the Motion Capture rollout to reload the file. Options in the Motion Capture Conversion Parameters dialog let you reduce keys and extract footsteps. The Convert command on the General rollout will not extract footsteps because the feet have no IK Constraints applied.
Lesson 4: Using Shared Motion Flow