You can create Alembic-based GPU cache files from the polygon or NURBS objects in your scene. You can save all the scene objects to a single cache or create a cache file for each selected object.
To create a GPU cache
- Do one of the following:
- To save all objects in the scene to one GPU cache file, select Cache > GPU Cache > Export All >
.
- To save each object hierarchy in the scene to separate GPU cache files, select the objects you want cached, then select Cache > GPU Cache > Export Selection >
.
- To save all objects in the scene to one GPU cache file, select Cache > GPU Cache > Export All >
- In the GPU Cache Export Optionswindow, select a Cache time range option to specify which frames to cache.
- If you choose to save selected objects to separate caches, specify a File name prefix.
By default, Maya adds the scene file name to the start of cache file names.
- (Optional) Change the default Optimize Hierarchy Optimization Threshold settings.
These options optimize GPU caches for playback performance. The GPU Cache Preferences provide additional optimization options.
- (Optional) To have animated objects display with motion blur when played in Viewport 2.0, turn on Optimize Animations for Motion Blur.
- (Optional) To save the Lambert or Phong materials from the original geometry to the cache file, ensure Write Materials is on.
- Click Export.
The materials render when the cache file is played back in Viewport 2.0. Write Materials is on by default.
To import a GPU cache
- Select Cache > GPU Cache > Import >
.
You can also import GPU cache files by selecting Cache > Alembic Cache > Import Alembic >
.
- In the Alembic Import Options window, select from the following:
- Fit Time Range
- Set Current Time to Start Frame
- Click Import.
- Start Maya from the host computer.
- Set Viewport 2.0 as the default renderer for the workspace.
Do not set the default renderer from the remote computer.
- Access Maya from the remote computer to import GPU cache files.
Failure to follow these steps may cause Maya to stop working when importing GPU cache files.