8

194 Chapter 11: Space Warps and Particle Systems
times as many frames per second, and the Cache
operator has stored four times as many frames per
second, the two are synchronized. If the real-time
playback speed is set to 2x or 4x, set the Viewport
Integration Step to Frame.
Procedure
Example:TousetheCacheoperator:
1.
Start or reset the software, and then add a
Particle Flow system.
2. Open Particle View.
3. In Particle View, go to Options menu > Track
UpdateandturnonUpdateProgress.
This lets you monitor calculation of the particle
system by highlighting actions i n Particle View
as the system executes them.
4. In P article View, Add a
Keep Apart operator
(page 2–168)
to Event 01.
Keep Apart is a fairly ca lculation-intensive
operator .
5. Go to frame 100 by clicking the r ight end of the
time slider track.
Thereisadelayasthesystemcalculatesall
particle motion between frames 0 and 100.
This is necessary because Particle Flow is a
history-dependentsystem.Atthesametime,
the actions in the system highlig ht briefly in
Particle View as they’re executed at each frame.
6. Go to frame 50 by clicking the center of the
time slider track.
There is a another delay as the system calculates
all par ticle motion b etween frames 0 and 50.
7. In Particle View, drag a Cache operator from
the dep ot to Event 01. Insert it anywhere in
the event.
When you release the mouse button, there is
adelayastheCacheoperatorautomatically
caches particle motion from the start of the
animation to the c urrent frame. Meanwhile,
each action highlights briefly at each frame.
8. Go to fr ame 20 or so.
The only operators that highlight are Cache
(very fast) and Display; there is no delay for
calculation. All frames between 0 and 50 have
been cached.
9. Go to f rame 100.
The delay this time is a result of caching particle
motion for frames 50 to 100.
10. Jump to different frames, and drag the time
slider.
All particle motion is now cached, so no delays
occur. But if you change a setting’s value, the
Cache operator automatically recalculates and
storestheparticlemotion.
11. Go to frame 100, and then, in Particle View,
click the Keep Apart operator and use the
keyboardtochangetheFalloffZonevalueto
8.0.
By default, the Cache operator automatically
updates the cache when you change any
parameters it stores. Thus, when you change
the Falloff Zone value at frame 100, it
recalculates and recaches the entire animation.
Next, you’ll briefly explore how manual caching
works.
12. Click the Cache operator and set Up date to
Manually.
The Cache operator no longer updates the
stored data automatically when you change a
parameter.
13. Click the Keep Apart operator, change the
Falloff Zone value to 9.0, and then drag the
time slider.
There is no delay, because the animation is still
playing back from the cached data. However,
thecacheddataisnowinvalid,becauseyou
changed a parameter in the particle system.