9
382 Chapter 12: Animation
Procedure
To use the Waveform controller to animate the
visibility of a sphere:
1.
Create a sphere.
2. Open Track View, and select t he Sphere track.
3. OntheTracksmenuchooseVisibilityTrack>
Add.
4. Select the Visibility track, click Controller >
Assign, and select Waveform Float.
5. Playtheanimationtoseetheeffect.
To use the Waveform controller to animate the ra dius
of a spher e:
1.
Create a sphere.
2. Open Track View — Dope Sheet, and expand
the Object (Sphere) track.
3. Select the Radius track, click Controller >
Assign, and choose Waveform Float from the
Assign Controller dialog.
4. Playtheanimationtoseetheeffect.
Inter face
After assigning the Waveform controller, in Track
View, right-click its track to display its properties
in the Waveform Con troller dialog.
List Window—Displays waveforms in a list.
Add—Adds a new waveform to the end of the list.
Thedefaultwaveformisasinewavewithaperiod
of 10 frames and with an amplitude of 100.
Insert—Inserts a new waveform before the selected
waveform slot.
Remove—Deletes the selected waveform. This is
not available when only one waveform remains.
Mov e Up a n d M ove D own—Shifts the selected
waveformupanddowninthelist,allowingthe
waveform order to be altered.
Disable—Disables the s elected waveform.
Waveform group
This group provides control parameters for the
currently selected waveform.
Tip: Using the Sphere example, you can observe the
waveform in the Function Curve displays of the
Track View, and watch changes i n the waveform
while testing the parameters described below.
Name—Cont ains the name of the waveform.
Waveform Icons—Specifies five waveform types:
Sine,Square,Triangle,Sawtooth,andHalfSine.
Inver ted—Flips the waveform vertically.
Flipped—Flips the waveform horizontally.
Per iod—Sets the number of frames to complete
one waveform pattern. Spinner Va lue=float, 0.01
to 9,999,999
Duty Cy cle—For square waves only, specifies
thepercentageoftimethesquarewaveis"on."
Default=50, Spinner Value=float, 0 to 100
Amplitude—Sets the height of the wave. Spinner
Value=float, 0 to 9,999,999
Phase—Sets the offset of the w ave. Spinner
Va lue=f lo at, 0 to 1
Vertical Bias group
A waveform’s output value c an be altered by
adjusting the Vertical Bias parameter. Spinner
Va lue=float, -9,999,999 to 9,999,999