MetaCycle Window
The MetaCycle window is used to separate one or more animated models into the following components:
Characters
Characters represent an animated entity in the scene or interactive piece. A character's geometry is specified as a set specified in a stage.
Snippets

Snippets represent a single basic movement or cycle that a character may perform, such as a walk cycle. A Snippet is specified by a character's range of frames in a specified stage.
Transitions

Transitions are procedurally defined blends that link Snippets together. They are displayed as lines between Snippets. Transitions can be specified in the MetaCycle window.
What you can do in the MetaCycle window
The MetaCycle window can be used for the following purposes:
Interactive Applications
You can break up an animation into the component parts that are required for an interactive title.
For example, a metacycle character might have a walk cycle, a run cycle, a kick move, and a punch move defined for a fighting game. These movements are the required animation sequences. The MetaCycle window lets you graphically define and organize these movements, or Snippets. You can also define transitions between the movements. For example, the way in which a walking character initiates a punch can be automatically calculated using the window options.
You can mark a path through the various Snippets and transitions at any time and either preview the resulting animation, or record the resulting animation starting at a specified frame. In addition, individual procedural transitions between Snippets can be converted into animation Snippets using a recording process for subsequent manipulation.
You can request a complete database of all animation Snippets and transitions to be either previewed or recorded for eventual downloading to the following game platforms:
This functionality is available on the OpenAlias/OpenModel, and Dt API's.
Rendered Applications
The MetaCycle window can be used for more traditional rendered, or non-interactive applications. The resulting animation database can be rendered or raytraced to use Sprite-based interactive applications, or the defined characters can be used along with the record functionality to create sequences of character movements for film or video.
Motion Capture
MetaCycle can be used to blend sequences of motion capture. Since motion capture sessions are generally a set of animation files, one per recording session, the MetaCycle window can be used after loading all sessions into stages to blend these together and create a single animation sequence.
MetaCycle Window
The MetaCycle window consists of three basic areas; the Tab area, the Workspace area, and the Menu area.

Tabs

Each tab represents a character that has been defined.
You can switch between characters by simply clicking on a tab with the left mouse button. The active character's tab appears on top of the deck. By double-clicking on the tab, the Character Detail editor can be opened so you can specify detailed properties of the character.
Character Detail editor

Character Options - Name
This box displays the name of the current character. You can change this name by clicking in the box and typing a new name. The new character name is displayed on the character Tab.
This name is also assigned by default to the Set field of new Snippets. By naming the character the same as the set that represents the geometry the character contains, you can minimize the amount of retyping you have to do when you create Snippets.
Target Data
These boxes allow you to specify text that will be transferred to game platform translators. These boxes are not related to the Alias application, but can be used by translators to control platform specific behaviors.
For example, the Alias file converters use the Target 1 field in the Transition detail window to specify which gamepad button should be used to cause a character to follow a particular transition.
See the Transition Detail window description for more information.
Workspace Area

The workspace is the area directly below the tab area. If no characters or Snippets are defined, this area is displayed as a blank grey area. As characters, Snippets, and transitions are defined, they are displayed on the workspace.
The workspace has horizontal and vertical scroll bars to help you navigate. You can also click and drag on a blank section of the workspace to drag various part of it into view.
Notes
Snippets

Snippets are displayed as small boxes containing the name of the Snippet, and the Start, End, Set, and Stage boxes.
How to use a Snippet
The Start and End box values determine the range of animation that represents the Snippet. For example, if a character had a walk cycle that took place from frame 50 to frame 75, you might set the start value to 50 and the end value to 75 in the Walk Snippet.
The Set box displays the name of set that makes up the geometry for this Snippet. The set represents the tops of the hierarchies that make up the character. All nodes below the dag nodes in the set are interpolated during a transition.
The Stage box displays the stage that this particular Snippet is located in. Many wire files can be loaded at the same time (see Windows
Stage editor for more information). This box indicates which stage this particular Snippet is located in.
You can change the position of the Snippet in the workspace by clicking and dragging the title bar.
Snippet Icons
Along the top of the Snippet is a title bar containing three icons.
Snippet Detail Icon

Clicking this icon opens the Snippet's MetaCycle Detail editor.
MetaCycle Detail Editor
The Detail editor lets you change Snippet details, and also lets you specify options that are not available in the Snippet.
Snippet Options
These are the same options found in the Snippet.

Preview Options
Specify length by
This popup menu lets you choose to set the length of the preview by FRAMES, or by LOOPS AND EXIT.

- FRAMES when FRAMES is selected, the number of frames to be used in a particular Snippet during a preview operation is specified by an absolute number of frames in the Frames field. The following slider is displayed.

Frames
This value in this slider determines the number of frames to perform (looping if necessary) during a preview operation.
- LOOPS AND EXIT when LOOPS AND EXIT is selected, the number of frames to be used in a particular Snippet during a preview operation is specified by the number of whole loops to perform, and the frame number of the frame at which to exit the Snippet. The following sliders are displayed.

Loops
The value in this slider determines the number of whole loops to perform when a preview operation is performed.
Transition at
The value in this slider determines the frame number at which to start looking for a transition to exit at during a preview operation.
Start Icon

Clicking this icon highlights the start icon in green and turns the start icon OFF in any other Snippet. When the start icon is green, you can indicate either the start point in a preview through the various Snippets and transitions, or which Snippet should be entered initially after downloading and running a metacycle model to a game translator.
For downloading purposes, this is done by processing the marked Snippet first when generating an animation database using the Run
All menu item.
You can also create a Transition between two Snippets by selecting the start icon with the middle mouse button and dragging to another Snippet. See Transitions for more information.
Plug Icon

Clicking the plug icon with the left mouse button lets you select or deselect a Snippet so you can delete it using the Delete function from the MetaCycle Edit menu.
Clicking the plug icon with the middle mouse button and dragging the Snippet's name to another Snippet lets you create a transition between two Snippets.

Transitions

Transitions are represented by curved lines (arcs) running between Snippets. These are created by clicking the plug or start icon of one Snippet with the middle mouse button, dragging that plug or numeral to another Snippet, and then releasing the middle mouse button.
Transitions are uni-directional. A transition represents a blend from one Snippet to another, and not vice-versa. To obtain transitions in both directions between two Snippets, transitions should be dragged in both directions.
Notes on Transitions
Transition Detail Editor
To open the Transition Detail editor to change transition options, double-click on a transition line in the workspace.

Transition Options
Name
This box lets you name the transition. By default, the name is composed of the names of the source and destination Snippets when the transition is created.
Length
This slider is used to define the length of the transition in frames. This is the length of time it takes to blend fully from the source Snippet to the destination Snippet.
Source Frame
Transition Type
The Transition Type options are used to determine the characteristics of the blending used to create a transition.

- ROLLING
- STARTPOINT this option indicates that during the transition (or blending) process, the system should continue to cycle the source Snippet through its frames.
- FIXED
- STARTPOINT this option indicates that during the transition (or blending) process, the system should blend the single source frame of the transition with the destination of the transition.
Starting Frames
The Starting Frames options are used to determine when the transition starts in the source Snippet.

- ALL this option indicates that the transition from the source Snippet to the destination Snippet can occur at any point in the source Snippet.
- SPACED if SPACED is selected, the following sliders are displayed:

SPACED means that the transition from the source Snippet to the destination Snippet can occur from the specified Start from frame, and every number of frames indicated with the value in the and every field. For example, every 4 frames, starting with frame 50.
- END this option indicates that the transition from the source Snippet to the destination Snippet can occur on the last frame of the source Snippet.
- ONE If ONE is selected, the following slider is displayed:

ONE means that the transition from the source Snippet to the destination Snippet can occur at the frame number you specify in the Frame Number slider.
Tangent In
The Tangent In options are used to determine the character of the blend that will be generated during the transition.
- LINEAR this option indicates that the transition will be a straight linear interpolation into the destination Snippet.
- EASE IN the transition will ease into the destination Snippet.
Destination Frame
Transition Type
The Transition Type options are used to determine the characteristics of the blending used to create a transition.

- FIXED
- ENDPOINT this option indicates that during the transition (or blending) process, the system should blend the source of the transition with the single destination frame of the transition.
- ROLLING
- ENDPOINT this option indicates that during the transition (or blending) process, the system should continue to cycle the destination Snippet through its frames.
Ending Frame
The Ending Frame options are used to determine how the animation is displayed at the end of the cycle.

- START this option lets you specify that the transition should end on the first frame of the destination Snippet.
- SPECIFY If you select SPECIFY, the End at slider is displayed.

You can specify which frame the transition should end on in the destination Snippet in this slider.
Tangent Out
The Tangent Out options are used to determine the character of the blend that will be generated during the transition.

- LINEAR this option indicates that the transition will be a straight linear interpolation out of the source Snippet.
- EASE OUT this option indicates that the transition will ease out of the source Snippet.
Target Data

These boxes allow you to specify text that will be transferred to game platform translators. The information in these boxes are not related to the Alias application, but can be used by translators to control platform specific behaviors.
For example, Alias file converters use the Target 1 field to specify which gamepad button should be used to cause a character to follow a particular transition.
The Menu area

The menu area contains the menus you use to manipulate items in the MetaCycle workspace.
New menu

Character
Select Character to create a new character and its associated tab and workspace.
If a set is selected in the set lister window when this menu item is chosen, the new character will be assigned the same name as that set.
The current stage and this character name will be assigned by default to the stage and set fields respectively of all Snippets created as part of this character.
Transition
Select Transition to provide an alternate means of creating a transition between two Snippets (instead of clicking and dragging). The transition is created from the first selected Snippet to the second selected Snippet.
Snippet
Select Snippet to create a new Snippet in the currently selected character. This Snippet is positioned in the center of the window and has the stage and set name from the current stage and character as described above.
By default, the range of the Snippet will be set to frame 1 through 100. Change this to indicate the range of animation that defines this particular movement of the character.
Edit menu

Convert to Snippet
Choose Convert to Snippet to convert a Transition to an animation that can be modified using the standard Alias tools.
The system prompts you for a frame to create the resulting animation at, and then records the transition starting at that frame number. A Snippet box is created that refers to the new animation, and new zero length transitions connect this new snippet to the start and end points of the original transition.
Tip: The Convert to Snippet tool is useful in situations where the automatically generated transition animation is not satisfactory.
Delete Character
Choose the Delete Character menu item to delete entire characters from the MetaCycle window. The current character (indicated by the highlighted tab) is deleted when this menu item is selected.
Delete
Choose the Delete menu item to delete selected Snippets or transitions.
Run menu

The Run menu items let you run a character through a sequence of Snippets and transitions, or through all possible Snippets and transitions.
Path
Select Path to run the current character from the active Snippet (indicated by its highlighted Start icon) through all possible transition chains from that Snippet. A transition chain is a path through contiguous selected transitions. If multiple transition chains are possible, then each of the chains are run in succession.
Many of the options that you specify in the Run Options editor affect how the paths are run.
All
Select All to run the current character through all possible Snippets and transitions exactly once. The first Snippet that runs is the Snippet with its Start icon selected.
All animation contained at this frame, or in frames greater than the specified frame, will be deleted when the Run Path or Run All tools are invoked with Recode Mode set to RECORD.
Options...
The Options menu item opens the Run Options editor.

In this editor, you can set various parameters to control how the character is run through Snippets and transitions.
Stage Options
Use characters in
Because MetaCycle is able to work across multiple stages, it is necessary to indicate which stage will contain the MetaCycle characters.This pop-up menu lets you select the Alias stage that contains the characters you want to work with. Changing this control switches the contents of the MetaCycle window to the characters in the selected stage.
Character Playback Options
Start recording at
This slider is used to specify the starting frame number for recording when the Run Path or Run All tools are used.
All animation contained at this frame, or in frames greater than the specified frame will be deleted when the Run Path or Run All tools are invoked with Recode Mode set to RECORD.
Preview by
The Preview By value should normally be set to 1, however larger values perform a quicker preview of a simulation (for example, if you have a large model with only a small part of it in the simulation). This is useful when you are trying to establish a rough feel for the various dynamic parameters.
Sample by
The Sample By value specifies how often a keyframe should be created by. A higher setting results in fewer keyframes being created, however the resulting animation would be less faithful to the calculated simulation.
The lower the Sample By value is, the more accurate the simulation will be. If you have a very low Sample By value, the resulting animation curves could be very dense with keyframes. The Simplify Results option can be set to YES to minimize the number of keyframes created in your animation.
Record Mode
The items in this popup menu are used to set whether you want to PREVIEW the animation before recording it, or RECORD the animation when ready.
All animation contained at this frame, or in frames greater than the specified frame will be deleted when the Run Path or Run All tools are invoked with Recode Mode set to RECORD.
Simplify Results
If set to YES, Simplify Results reduces the number of keyframes which results in reduced memory requirements, but does not affect the accuracy of an animated simulation. If set to NO, the final resulting recording proceeds creating a keyframe at every frame in the path.
aliasdocs@aw.sgi.com
Copyright © 1996, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.