Fluid nCache > Replace Cache Frame
 
 
 

Replaces the current fluid effect’s cache frames specified in the Replace Fluid Cache Frames Options window. This lets you strategically replace individual cache frames in fluid cache files. For example, you can improve a fluid effect’s cached simulation by resimulating parts of the object at specific frames and then replacing those frames in its fluid cache file.

Fluid nCache > Replace Cache Frame >

Opens the Replace Fluid Cache Frame(s) Options window. This window lets you specify which fluid cache frames are to be replaced for the current fluid effect’s cache.

NoteYou cannot replace fluid cache frames for an fluid effect that has more than one cache node.
Current Time field

This field displays the current playback time and frame number. This field is read-only.

Current Time

When on, the current fluid effect’s cache frame is replaced, and backups of the original unchanged cache and description files are generated (named backup#_originalCacheName by default).

For example, if you want to replace frame 12 in a fluid cache, this option lets you create a cache for frame 12 only and then replaces frame 12 in the selected fluid effect’s current cache with the newly created cache frame. Current Time is on by default.

Start/End

When on, the range of frames from the Start Replace Frame to the End Replace Frame is replaced for the current fluid effect’s cache and backups of the original unchanged cache and description files are generated (named backup#_originalCacheName by default).

For example, if you want to replace frames 10 to 20 in an fluid cache, this option lets you create a cache for frames 10 to 20 and then replaces that frame range in the selected fluid effect’s current cache with the newly created cache. Start/End is off by default.

Evaluate every frame(s) and Save every evaluation(s)

When creating a fluid cache, one sample of your fluid effect’s simulation is taken every frame and saved to your fluid cache by default.

Evaluate every frame(s) specifies how often samples are taken during fluid cache creation. For example, a value of 2 caches the simulation of the current fluid effect at every other frame of the Cache Time Range.

Save every evaluation(s) specifies which samples are saved during fluid cache creation. For example, a value of 2 specifies that only every other sample specified by the Evaluate every frame(s) option is saved to your fluid cache.

Replace with simulation data

When on, the cache frames you want to replace are replaced with new simulated fluid data.

Delete backup files

When on, the cache frames you want to replace are deleted from their fluid cache files on disk. The deletion is permanent, and cannot be undone by Edit > Undo or Ctrl+z.

No Interpolation

When on, no interpolation occurs between your fluid effect’s current cache frames and the frames you want to replace.

Interpolate Frames

When on, the cache frames before and after the frames you want to replace are interpolated to create a smooth transition between your fluid effects current cache frames and the frames you want to replace.

Rename Interpolated Frames

When on, your original fluid cache file is renamed as the name specified in the Rename Interpolated Frames field.

Start Replace Frame / End Replace Frame

These fields let you specify a start and end frame for the range of cache frames you want to replace. Start Replace Frame and End Replace Frame are only available when Start/End is on.

Start Interpolation Range / End Interpolation Range

These fields let you specify a start and end frame for the range of cache frames you want to interpolate. Typically, the interpolation range would start before the frames you want to replace and end after the frames you want to replace. Start Interpolation Range and End Interpolation Range are only available when Interpolation Frames is on.

In Tangent/Out Tangent

These drop-down menus let you specify a tangent type for the cache interpolation before (In Tangent) and after (Out Tangent) the fluid cache frames you want to replace. This is useful when you want to smooth the interpolation between a fluid effect’s replaced cache frames and the rest of its fluid cache.

Step

Deformations are stepped interpolated from the first frame in the interpolation range to the last, creating a transition that jumps to/from the replaced frames.