nCache > Create New Cache

 
 
 

Creates a new nCache for the current Nucleus object.

If you have multiple objects selected, nCaches are created for each of the selected objects (One file per object) or a single cache (One file per frame, One file) is created for all the selected objects. See Create or import nCaches.

nCache > Create New Cache >

Opens the Create nCache Options window. This window lets you specify the name, type, and location-on-disk for the caches you want to create.

Note

nCloth caches only store the XYZ positions of an nCloth object’s vertices, not the translation, rotation, or scale of the nCloth’s Transform node (pMesh).

Cache directory

Specifies the location on your server or local disk to which the nCache is saved. The folder icon () allows you to browse to a different directory than the default.

If your scene has been saved to disk, then your nCache files are saved to folders named after their scene files in the \maya\projects\default\data\ directory by default. If your scene has never been saved, then your nCache files are saved to the \maya\projects\default\data\cache directory by default.

Cache name

Specifies the name for the nCaches you want to create.

Use cache name as prefix

Sets the Cache name as a prefix. When on, the base names of your nCaches are the current objects’ names plus the specified Cache name as a prefix. For example, the cache file names for an nCloth object named Cape with the prefix red are as follows: red_CapeFrame1, red_CapeFrame2, red_CapeFrame3 and so on. This option is only available when One file per frame or One file per object is on.

File distribution

Select one of the following File distribution options.

One file per frame

Specifies that one nCache file per frame of the specified Cache time range is created. If multiple objects are selected, one nCache file per frame is created for all the objects.

One file

Specifies that one nCache file for the specified Cache time range is created. If multiple objects are selected, one nCache file is created for all the objects.

One file per object

When on, one nCache file (if One file is on) or one nCache file per frame (if One file per frame is on) for each of the selected objects, for the specified Cache time range, is created.

When off, one nCache file (if One file is on) or one nCache file per frame (if One file per frame is on) for all the selected objects, for the specified Cache time range, is created.

This option is only available when multiple objects are selected.

Note

When a One file or one file per object cache exceeds the 2GB nCache size limit, it is automatically split and the resulting cache segments are blended.

Cache time range

Select one of the following Cache time range options.

Render settings

Specifies that your current Render settings determine the Cache time range.

Time Slider

Specifies that the current playback range in your Time Slider determines the Cache time range.

Start/End

Specifies that the range of frames between (and including) the specified Start and End times determines the Cache time range.

Start/End

These fields let you specify a Start and End time for the Cache time range.

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

When creating an nCache, one sample of your nCloth object’s simulation is taken every frame and saved to your cache 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.

Related topics