Graphics Programs Reference
In-Depth Information
Figure 12.10
The pool balls have
animation curves.
5. The curves are crowded; they have keyframes at every frame. A typical dynamics
bake gives results like this. But you can set the Bake command to sparse the curves
for you; that is, it can take out keyframes at frames that have values within a certain
tolerance, so that a minor change in the ball's position or rotation need not have a
keyframe on the curve.
6. Let's go back in time and try this again. Press Z (Undo) until you back up to right
before you baked out the simulation to curves. You can also close this scene and reopen
it from the original project, if necessary. This time, select the balls, and choose Edit
Keys Bake Simulation r . In the option box, turn on the Sparse Curve Bake setting,
and set Sample By to 5. Select the channels in the Channel Box, and click Bake. You're
telling Maya to only look at every five frames of the simulation to set keyframes.
7. Maya runs through the simulation again and bakes everything out to curves. This
time it makes a sparser animation curve for each channel because it's looking at five-
frame intervals, as shown in Figure 12.11. If you open the Graph Editor, you'll notice
that the curves are much friendlier to look at and edit.
Figure 12.11
Sampling by fives
makes a cleaner
curve.
Search WWH ::




Custom Search