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 and nParticle 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 Cache 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 will not override or replace any existing cache data attached to your objects.
To create a new nCloth or nParticle nCache
Your objects’ simulations are cached using the Create nCache Options or Create Fluid Cache Options window’s current settings. See nCache > Create New Cache or Fluid nCache > Create New Cache.
Single or multiple .mc cache files and an .xml description file are generated and stored in the directory you specified in the Create nCache Options or Fluid Cache 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.
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 nCloth 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 |
The Import file browser window appears. See either nCache > Attach Existing Cache File or Fluid nCache > Attach Existing Cache File.
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.