![]()
nCache > Replace Cache Frame
Replaces the current nCloth object’s cache frames specified in the Replace nCloth Cache Frames Options window. This lets you strategically replace individual cache frames in an nCloth cache file. For example, you can improve an nCloth object’s cached simulation by resimulating parts of the object at specific frames and then replacing those frames in its nCloth cache file.
nCache > Replace Cache Frame >
![]()
Opens the Replace nCloth Cache Frame(s) Options window. This window lets you specify which nCloth cache frames are to be replaced for the current nCloth object’s cache.
Current Time field
This field displays the current playback time and frame number. This field is read-only.
Current Time
When on, the current nCloth 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 nCloth cache, this option lets you create a cache for frame 12 only and then replaces frame 12 in the selected nCloth 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 nCloth 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 nCloth cache, this option lets you create a cache for frames 10 to 20 and then replaces that frame range in the selected nCloth 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 nCloth cache, one sample of your nCloth object’s simulation is taken every frame and saved to your nCloth cache by default.
Evaluate every frame(s) specifies how often samples are taken during nCloth cache creation. For example, a value of 2 caches the simulation of the current nCloth object at every other frame of the Cache Time Range.
Save every evaluation(s) specifies which samples are saved during nCloth 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 nCloth cache.
For more information, see nCloth cache creation.
Replace with simulation data
When on, the cache frames you want to replace are replaced with new simulated nCloth data.
Delete backup files
When on, the cache frames you want to replace are deleted from their nCloth cache files on disk. The deletion is permanent, and cannot be undone by Edit > Undo or
+z.
No Interpolation
When on, no interpolation occurs between your nCloth 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 nCloth object’s current cache frames and the frames you want to replace.
Rename Interpolated Frames
When on, your original nCloth 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 nCloth cache frames you want to replace. This is useful when you want to smooth the interpolation between an nCloth object’s replaced cache frames and the rest of its nCloth cache.
Linear
Deformations are interpolated linearly from the first frame in the interpolation range to the last, creating a smooth but straight-line transition to/from the replaced frames.
Smooth
Deformations are spline interpolated from the first frame in the interpolation range to the last, creating a smooth, gradual transition to/from the replaced frames.
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
![]()