You can create single or multiple nCaches for your Nucleus objects or fluid effects, each of which can be comprised of a single frame, multiple frames, or a range of frames. If you create more than one nCache for a Nucleus object or fluid effect, you can then blend its caches to create new simulations and effects. See Blend and set the weighting of nCaches from the Attribute Editor.
For nCloth, nParticle, and nHair caches, you can specify the properties saved in the nCache file by selecting them in the Caching section of the object's Attribute Editor. See Create and edit nCloth caches and Create and edit nParticle caches. For fluid caches, you can specify which fluid properties are saved in the cache file by selecting them in the Create Fluid nCache Options window. See Create fluids cache files.
In addition to creating new nCaches, you can also import nCaches that you have previously created. Importing nCaches override or replace any existing cache data attached to your objects.
To create a new nCache
Do one of the following:
Your objects’ simulations are cached using the current caching settings.
Single or multiple .mcx cache files and an .xml description file are generated and stored in the directory you specified in the Create nCache Options or Create Fluid nCache Options window. cacheFile nodes (named nObjectShape#Cache# by default) are also added to your objects, and any existing nCache nodes are disabled so that you can see only the new caches playback.
When an nCache exceeds the 4GB cache size limit, it is automatically split and the resulting cache segments are blended.
If you selected a single object, the following files are created:
File Distribution | # of nCache files created | # of XML description files created | # of nCache nodes created |
---|---|---|---|
One File | 1 | 1 | 1 |
One File Per Frame | Multiple, 1 for each frame | 1 | 1 |
If you selected multiple objects, the following files are created:
File Distribution | # of nCache files created | # of XML description files created | # of nCache nodes created |
---|---|---|---|
One File | 1 | 1 | Multiple, one for each object |
One File Per Frame | Multiple, one for each frame | 1 | Multiple, one for each object |
One File and One File per Geometry | Multiple, one for each object | Multiple, one for each object | Multiple, one for each object |
One File Per Frame and One File per Geometry | Multiple, one for each frame, for each object | Multiple, one for each object | Multiple, one for each object |
When caching a number of Nucleus objects that are part of a single Maya Nucleus system, disable the system’s Maya Nucleus solver to avoid playback slow downs.
To import an nCache
The Import file browser window appears. See nCache menu.
The nCache you want to import must have been generated from the same topology as the selected object.
A new cacheFile node is created for the imported nCache and it is automatically attached to the selected object’s cacheBlend node. This allows you to combine the imported cache with any of the selected object’s existing nCaches.