Lesson 18: Animating with Metamorphosis
This lesson shows you how to use Alias' metamorphosis
capabilities to bring a wine glass to life. Over time, metamorphosis can
change the object's shape, size, and location. You can apply metamorphosis
to a whole object or to specific parts.
The hand-drawn storyboard below illustrates the goal
of this lesson. You begin with a glass tumbler that "morphs"
into a wine glass. The wine glass then begins bobbing its "head"
as it starts to walk. In addition to this movement, you can change its
color over time.

You begin this lesson by retrieving the profile curves
provided for the tumbler and the wine glass. After using the profiles to
create the 3D shapes, you set up the morphing animation. Next, you manipulate
the "head" and "feet" to make the glass appear to walk.
You then complete the piece by animating the shader.
Initial Setup
This lesson begins with two prepared curves that represent
the outlines of the tumbler and the wine glass. These profiles are revolved
to create the 3D forms needed for metamorphosis.
Open the wire file
- From the File menu, select Open. Open L18_GlassWalker
from the CourseWare directory. The file contains the two profile
curves needed for the lesson.
Change to a full-screen Front window
- From the Layouts menu, select Front to work in a full-screen
front window.

Note that the two curves have the same number of CVs
and edit points.
Note: If you can't see CVs and edit points,
turn them on from the Control box in the Display menu.
The curves must also have the same U direction. This
ensures that the resulting surfaces have the same number of CVs, to be
used for setting the keyshape.
Revolve the two profile curves
Select Surfaces
Revolve-
. Change Sections
to 6, and make sure you are using 360 degree revolution around
the Z-axis.

- Click on Go. Click on the wine glass profile.
- After the surface has been created, click on the tumbler profile to
revolve it. When the revolutions are completed, you'll
have two separate surfaces-a glass tumbler and a wine glass-that occupy
the same space.
Delete History and template the profile curves
Select Pick
Object and click on the glass so that both revolves are selected.
- From the Delete menu, select Del constr history to remove
history from the revolves.
- Click-drag a pick box around the surfaces and curves so that you pick
the original profile curves and unpick the revolve surfaces.
- From the Object Display menu, select Tgl template to
change the original curves into templates. These can serve as reference
points for the initial part of this workshop.
Move the tumbler to the left of the wine glass
With nothing picked, select
Pick
Object.
Pick the glass tumbler.
Select Xform
Move and use the middle mouse button to move it to the left of the
wine glass. The wine glass and tumbler should not be touching.
Select Pick
Nothing to make sure nothing is active in the window.

Setting Keyshape
The Set Keyshape command is used to
morph from the tumbler to the wine glass. This morphing completes the first
half of the storyboarded animation.
Note: The two surfaces you are working
with have an identical number of CVs and isoparm patches. Only two surfaces
that are perfectly matched in this way can have a Set Keyshape applied
to them.
Edit the Set keyshape options
Select Anim
Set keyshape-
. Make sure
that the Shape Center option is set to Centroid. This creates
the best intermediate shapes.

- Click Go.
Choose the surface that is to change shape
- Alias prompts you to:
Pick the curves or surfaces which are to change
shape. Press Go when ready.
- Click on the wine glass, since it is the object that changes its shape
and also represents the final shape of the animated object.
- Click on the Go icon in the lower right corner of the window.
Enter the final frame number
Next, the system prompts you for a frame number. Type 50 in
response and press Enter. This sets the final frame for this sequence
at frame 50.
Choose the matching surface
Alias prompts you to select a matching curve or surface. Click on the
glass tumbler, which represents the shape of the object at the starting
point of the animation. The wine glass assumes the shape of the tumbler.

Enter the beginning frame number
When prompted for a frame number, type 1 and press Enter.
This ensures that the wine glass looks like the tumbler at frame 1.
Delete the original glass tumbler
The glass tumbler is no longer
needed for the animation. With nothing picked, select Pick
Object.
Click on the original glass tumbler that sits to the left of the transformed
wine glass to pick it.
From the Delete menu, select Del active. Click YES
to confirm.
Play back the keyshape animation
- If the time slider is not visible, select Anim
Tgl time sliderThe time slider is just below the menu bar.
It has a number of function buttons.
- Click on the Start/End button at the left end of the time slider
and change it to Min/Max.
- Click the Play button to play back the animation. Alias now
interpolates the shapes needed to change the glass tumbler to the wine
glass.
- The templated profile curves show the outline of the metamorphosis.
Click on the screen when you are finished viewing the playback.
- Click the Go To Start button to return to frame 1.
Delete the templated profile curves
With nothing picked, select
Pick
Template.
Click-drag a pick box around the templated profile curves to pick them.
- From the Delete menu, select Del active to delete them.
The tumbler-shaped wineglass should be the only object left on the screen.
Note: It is generally good practice to keep
profile curves until you are happy with the resulting animation. If you
don't like the results from the first Set Keyframe, you could use
the profiles to start again.
Playback the animation in the perspective window
From the Layouts menu, select Perspective to make the
perspective window fill the screen. Change the view with the tumble and
dolly tools to see the wine glass clearly.
Click on the Play button in the time slider to watch the metamorphosis
in three dimensions. Stop playback by clicking on the Stop button.
Click on the Go To End arrow to go to frame 50.

Using Play Blast
From the Animation Preview window, you can
set up a Play Blast to test animation of work completed so far.
Alias loads this test animation into memory in its first pass so it can
play back quickly during successive previews.
Create a shaded display of your model
- After you have stopped the animation playback, from the Display
menu, select Tgl shade. The wine glass is shaded in the default
blue.
- To optimize the processing speed, from the Display menu, select
Tgl model to turn off the wireframe display.
- If CVs and Hulls are displayed around the glass, from the Display
menu, select Control -
.
In the option box, click on all the options to turn them off.

- Click Go to stop displaying the object's control information.
Open the Animation Playback options
- From the Animation menu, select Playback options.
- Resize and position the Playback Options window so you can see
the wine glass in the perspective window, as well as all of the Playback
options.
Set the Play blast and Compress options
Click Play Blast in the Playback options window to display
the Play Blast options. Make sure that a check mark appears in the
Compress box.
Note: A Play Blast's output resolution
is a percentage of the originating window size, so yours may be slightly
different.

Play back the shaded animation
Click Show Playblast ON and then click the Play
button in the time slider and watch the shaded object change from a tumbler
to a wine glass. The initial playback is displayed frame-by-frame
as the system computes and stores the animation in memory. After it has
played through once, the animation plays back faster.
Preview the frames with the slider bar
In the time slider, click the Stop button to pause the playback,
and then click-drag the current frame slider bar to interactively control
the movement.
Double click on the Stop button to close the Play Blast
window. Click Show Playblast OFF then close the Playback
Options window.
Return to a wireframe view with CVs displayed
From the Display menu, select
Tgl shade to turn off shading. From the same menu, select Tgl model
to return to the wireframe display.
From the Display menu, select
Control-
. Pick the glass
then turn on all the options, since you need to see the object's CVs in
the next section of the lesson.

Assembling CVs
With the initial metamorphosis finished, you can start
to group various CVs, to prepare for the walking motion.
Return to a full screen Front window
Select Pick
Nothing to ensure nothing is active.
- From the Layouts menu, select Front to make the Front
window fill the screen.
View frame 50
Select Anim
View frame and type 50 after the prompt. Although it is not
necessary to perform this step to animate CVs, it makes it easier to select
the appropriate CVs for the four sets.
Note: You can also click on the current
frame indicator in the time slider and enter the desired frame in this
box to view the current frame. Or, click on the Go to End button
on the time slider.
Assemble CVs into a CV set
Use the dolly tool to get closer to the base of the wine glass.
Select Pick
Point Types
CV
and drag a pick box around the middle group of CVs (as shown below).

From the Edit menu, select New set.
Tip: This is a set; that is, an object
made up of the active CVs. In the following steps in this lesson, you can
pick this set of CVs easily.
By assembling CVs, you can animate specific areas
of an object over time. Assembling CVs into a set is similar to a group,
except that a set does not show up as a node in the SBD window. On the
other hand, all items in a set have a common pivot point that can be used
for transformations. In this part of the lesson, you are going to assemble
various CVs into sets, in order to create the walking wine glass.
Display and rename the set
From the Windows menu, select Sets
Edit set.... The Set Editor window appears
on the screen, listing the CVs assembled in this first set.
Double click in the Set Name field and type a new name, middle,
for this set.

Close the Set Editor window.
Create a set of the left side of the wine glass
With nothing picked,
select Pick
Point
Types
CV and click-drag
a pick box around the CVs on the left side of the wine glass base, as shown
below.

From the Edit menu, select New set.
From the Windows menu, select Sets
Edit set and in the Set Editor window, name this set leftfoot.
Close the Set Editor window.
Create a set of the right side of the wine glass
With nothing picked, select
Pick
Point
Types
CV and
click-drag a pick box around the CVs on the right side of the wine glass
base, as shown below.

From the Edit menu, select New set, then from the Windows
menu, select Sets
Edit set. In the Set Editor window, name this set to rightfoot.
Close the Set Editor window.
Create a set of the top side of the wine glass
Select Pick
Nothing. Track the view down so that you can see the top of the
wine glass.
Select Pick
Point Types
CV
and click-drag a pick box around the CVs on the top of the wine glass
to create the final set.

From the Edit menu, select New set, then from the Windows
menu, select Sets
Edit set. In the Set Editor window, name the final set top.
Close the Set Editor window.
Open the Set lister.
- From the Windows menu, select Sets
Set lister-
.

- Make sure that the Mode is set to All, then click Go.
The Set List Window appears on the screen.
Note: When you click on the name of a set,
the CVs that make up the set are highlighted in the front window. Select
Pick
Nothing
to make sure nothing is active.
Animating CVs
Next, you animate the grouped CVs, to make the wineglass
walk. The walking motion is created by executing several Xforms
on the CV groups and then setting keyframes.
Check that you are viewing keyframe 50
- Before you begin animating CVs, check that the CVs are at the correct
location. If you didn't reset your view to frame 50 earlier, do so now.
Select Anim
View frame and type 50 after the prompt.
Set keyframes for the middle CVs
Select Pick
Nothing. In the Set List window, click on the set named middle.
- From the Animation menu, select Set keyframe to set the
initial position of these CVs. Click on YES to confirm the overwriting
of earlier data for
frame 50.
Scale the selected CVs and set keyframe
Select Anim
View frame and type 60.
Select Xform
Nonp scale and enter absolute keyboard values for the non-proportional
scaling by typing: a 1 0.3 0.8.

- From the Animation menu, select Set keyframe. This defines
the first walking movement of the wine glass base.
Rotate the top CV set and set keyframe
In the Set Lister, click on middle to unpick it. Now,
click on the top set to pick it.
Select Xform
Rotate. From this point on, you should enter relative values for
Xform functions, rather than absolute ones. Type r and
press Enter, to change to relative mode. Type the value of -22.5
to rotate the top of the wine glass.

From the Animation menu, select Set keyframe.
Select Anim
View frame and type 70. Select Set keyframe.
Select Anim
View frame and type 80. Select Set keyframe. This sets two
more keyframes for this position.
Rotate the top again and set keyframe
Select Anim
View frame and type 75.
Select Xform
Rotate and enter rotation values of 0 0 -30. The movement
of the wine glass top needs to be modified further, by inserting keyframe
values between the major keyframe set in the last step.

- From the Animation menu, select Set keyframe.
Rotate the top a third time and set keyframe
- In the time slider, click on the current frame indicator and change
it to frame 75.
Select Xform
Rotate and enter rotation values of 0 0 30.
- From the Animation menu, select Set keyframe.
Select Pick
Nothing to ensure nothing is active.
Move the leftfoot and set keyframes
- In the time slider, change the current frame to 60.
- From the Set Lister, pick leftfoot.
- From the Animation menu, select Set keyframe.
- In the time slider, change the current frame to 70.
- From the Animation menu, select Set keyframe.
- In the time slider, change the current frame to 65.

Use Xform
Move
and move these CVs in relative mode by 0 0 1.
- From the Animation menu, select Set keyframe.
Select Pick
Nothing to deactivate the CVs.
Move the rightfoot and set keyframes
- In the time slider, change the current frame to 70.
- From the Set Lister, pick rightfoot.
- From the Animation menu select Set keyframe.
- In the time slider, change the current frame to 80.
- From the Animation menu, select Set keyframe.
- In the time slider, change the current frame to 75.
Select Xform
Move and move them by 0 0 1.

- From the Animation menu, select Set keyframe.
Select Pick
Nothing to ensure nothing is active.
Set the Start and End point of the animation
- In the time slider, choose the Start/End button. Enter 50
for the Start value and 80 for the End. This
means that only the last 30 frames (the walking sequence) will be shown
when the animation is played back.
Preview the animation in the time Slider
- Click the play button in the time slider to see the walking
wine glass.
- Click anywhere on the screen to stop the playback when you are finished.
Applying Time Cycles
To lengthen the animation and repeat the walking
motion of the glass, you use a function called Cycles. This function
lets you reapply the animation to a selected object or group of CVs over
a period of time.
Select the CV sets from the Set Lister
- From the Set Lister, select leftfoot, rightfoot
and top. The CVs that correspond to these sets are highlighted on
the wine glass.
Set the Cycles option box
- From the Animation menu, select Time warps
New cycles warp-
.
The option box appears. In the option box, set the Loop Start frame
to 60 and the Loop End frame to 80.
- This means that the animation will cycle between frames 60 and 80.
Set the Paste to frame to 81 so that the cycles are added after
frame 80. Set the Repetitions to 10.

- To apply the cycle to the animation, click Go.
Preview the animation
- In the time slider choose Min/Max to change back to Min
and Max fields. The Max field now reads 281, since the entered
cycle options cause the walking wine glass sequence to repeat 10 times
after the original 80 frame animation.
- Set the Frame to 1.0 and click on the Play button
to view the full animation.
- Click the Stop button to finish the playback.
Close all windows and unpick all objects
- Close the Set Lister window.
Select Pick
Nothing to make sure nothing is active on the screen.
Animating Shaders
Next, you animate the glass color from a dark blue
to a golden yellow. To ensure that only the shaders are animated, you can
use a local setting from the parameter controls.
View the Parameter control window
- From the Animation menu, select Param control In the
Parameter Control window, you can modify a number of variables from
either a global or local perspective.
- Click on the arrow to the left of the GLOBAL Parameters to display
its options.
Note: Unlike the following illustration,
some parameters may already be set. If so, do not uncheck them.
Activate the shader options
- At the end of the GLOBAL Parameters option list is a field for
Shading Parameters. To the right of this field is a small box. Click
in this box to assign a check mark. This indicates that you want to animate
the shading parameters.

- Close the Parameter Control window.
- View frame 1 to return to the glass tumbler shape
Select
Anim
View
frame and type 1 after the prompt. The wine glass reverts to the original
glass tumbler.
Open the Shader Lister
- From the Windows menu, select Multi-lister
Shaders... to display the Shader Lister window.
- Double-click on the default Shader to display its shading parameters.
- In the Common Shader Parameters section, click the default blue
color to open the Color Palette.
- Change the shader color to dark blue. Leave the Shader Editor
and Color Palette windows open.
Set the first keyframe
Press the Shift key and click on the name Color in the
Shader Editor.
Next, click on the Key button at the top of the Editor. A small
parallelogram appears next to the word Color to indicate that keyframes
have been set.
Change the shader's color and again set keyframe
In the time slider, go to frame 50.
Change the color to a golden yellow.
With the name Color highlighted in the Shader Editor,
again click on the Key button at the top of the Editor.
Preview the shader animation in the Multi-lister
In the Multi-lister, click and hold on the animation preview button
just below the shader. This previews the shader being
animated (frames 1 to 50) before you apply it to the scene.

Note: This preview goes faster if the Shader
Editor and the Color Editor are closed.
Close all the shader windows.
Playblast the animation
You can playblast the animation to preview it.
Go to a Perspective view window
- From the Layouts menu, select Perspective to return to
a perspective view of the glass.
- Dolly and tumble the view to a desired location.
Return to the glass tumbler shape
Select Anim
View frame and type 1 after the prompt.
- Select Display
Tgl model to toggle off the model.
- From the Display menu, select Control -
.
Turn off all the control displays.
- From the Display menu, select Tgl shade. The tumbler
is now dark blue.
Set up a PlayBlast
From the Animation menu, select Playback options. Open
the Play Blast window. Turn the Show playblast option to
ON and make sure the Compress box is check marked.
Playblast the animation
Press the Play button in the time slider. After the system has
gone through its initial frame-by-frame computations, the object changes
from a dark blue tumbler to a golden wine glass, then the wine glass goes
through 10 walking cycles.
Conclusion
In this lesson you have learned how to:
- · set keyshapes and morph between two surfaces
- · assemble and animate CV groups
- · apply time cycles to your animation
- · isolate and animate a shader color
- · preview an animation with Play Blast. You
have now seen the power of setting keyframes and setting up CV sets. This
lesson is the first that deals with live action objects that take on character
and life. Animating objects through either metamorphosis or CV sets is
the first step in building characters in 3D. In the following lessons you
will learn about other Alias features that can be used to give characters
life.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company.
All rights reserved.