nCache > Replace Cache Frame

 
 
 

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

nCache > Replace Cache Frame >

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

Note

You cannot replace nCache frames for an nCloth object that has more than one cache node.

Current time

When on, the current object’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 an nCache, this option lets you create a cache for frame 12 only and then replaces frame 12 in the selected object’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 object’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 nCache, this option lets you create a cache for frames 10 to 20 and then replaces that frame range in the selected object’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 an nCache, one sample of your object’s simulation is taken every frame and saved to your nCache by default.

Evaluate every # frame(s) specifies how often samples are taken during nCache creation. For example, a value of 2 caches the simulation of the current object at every other frame of the Cache time range.

Save every # evaluation(s) specifies which samples are saved during nCache 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 nCache.

For more information, see nCache creation.

Replace with simulation data

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

Delete backup files

When on, the cache frames you want to replace are deleted from their nCache 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 object’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 object’s current cache frames and the frames you want to replace.

Rename interpolated frames

When on, your original nCache 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 frame range / End interpolation frame 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 frame range and End interpolation frame 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 nCache frames you want to replace. This is useful when you want to smooth the interpolation between an object’s replaced cache frames and the rest of its nCache.

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.

Related topics