8
Motion Flow Graph Dialog 897
Save File— Save a Motion Flow Editor (
.mfe
)
file.
Saving a
.mfe
filefromabipedhavingashared
motion flow will save the motion flow and its
scripts as if it were not shared. It will b e a normal
.mfe
file.
Note: To save a s c r i p t a s a
.bip
file, use Unified
motion to have the scripted motion available when
you exit Motion Flow mode.
Show Graph— Opens the
Motion Flow Graph
(page 2–897)
. The first step in script creation is to
add clips to the Motion Flow Graph.
Sha r ed M ot ion Flow— Displays the
Shared
Motion Flows dialog (page 2–907)
.Allowsyouto
create, delete, and modif y share d motion flows.
Shared motion flows are used to animate one or
more bipeds to simulate a crowd. If the selected
biped is using a shared motion flow, then the icon
hasawhitecirclearoundit.
Motion Flow Graph Dialog
Selec t a bip e d. > Motion panel > Biped rollout > Moti o n
Flow Mo de > Motion Flow rollo ut > Motion Flow Graph >
Motion Flow Graph dialog
UsetoolsintheMotionFlowGraphtoaddclips
to the graph, calculate optimized transitions, set
random script transition values, move and delete
clips, and display clip dependencies. Clips and
transitions display as icons in the Motion Flow
Graph dialog. The Motion Flow Graph displays
when you click Show Graph on the
Motion Flow
rollout (page 2–896)
on the Motion panel.
The first step in Motion Flow mode is to add clips
in the Motion Flow Graph for use in scripts. Clips
represent all or part of a
.bip
file. Scripts represent
different paths through the clips in the Motion
Flow Graph. The first clip in the current script
isred.Transitionsareshownasarrowsbetween
clips, red arrows represent the path through the
active script. Black transition arrows indicate
unloaded scripts. A transition looping back to the
same clip represents a cycle or loop.
If the biped is using a shared mot ion flow, then the
title of the graph window will say "*SHARED*
Motion Flow Graph", followed by the name of the
shared motion flow. Shared Motion Flows are used
to control multiple bipeds with one shared motion
flow.
Bydefault,minimummotionlossisusedto
compute transitions. Optimized transitions use
an algorithm that uses min imum foot sliding.
Optimized transitions take longer to compute but
yield very high quality results.
R a ndom Scri pts for One or Mor e B i peds
You can create random scripts by using the Create
Random Motion command in the Script group
on the Motion Flow rollout. Random scripts are
created by randomly traversing clips in a motion
flow g raph. To use Create Random Motion, each
biped must be in the same shared motion flow.
To use a shared motion flow to create random
scriptsformultiplebipeds,thefirststepistoclick
Shared Motion Flow on the Motion Flow rollout,
and then add bipeds that will share one shared
motion flow . On the Motion Flow Graph, clips
are added and transitions are created between all
theclips.ThenCreateRandomMotionisusedto
compute a random motion for all the bipeds.
Clips and tr ansitions are given percent ages that are
used by the software to generate random scripts.
Percentagesforclipsandtransitionsaresetinthe
clip dialogs and in the Transition Editor dialog.
You can load many clips and use Create All
Transitions to c reate a ll possible transitions
between the clips. You can then use Optimize
Selected Transitions to create optimized