You can create single or multiple geometry caches for your objects, each of which can be comprised of a single frame, multiple frames, or a range of frames. You can also import geometry caches that you have previously created without overriding existing cache data attached to your objects.
To create a new geometry cache
Do one of the following:
Your objects’ deformations are cached using the Create Geometry Cache Options window’s current settings. See Create New Cache Options.
Single or multiple .mc files and an .xml description file are generated and placed in the file directory you specified in the Create Geometry Cache Options window, cacheFile nodes (named objectShape#Cache# by default) are added to your objects, and all your objects’ current geometry cache nodes are disabled so that you can see only the new cache on playback.
When a One File or One File per Geometry cache exceeds the 2GB geometry 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 Maya cache files created | # of XML description files created | # of geometry cache 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 Maya cache files created | # of XML description files created | # of geometry cache 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 |
To import a geometry cache
The Import file browser window appears.
The geometry cache you want to import must be generated from the same topology as the selected object.
A new cacheFile node is created for the imported geometry cache and 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 caches.