Playing and Caching Syflex ICE Simulations

 
 
 

You can play and cache a Syflex ICE simulation in the same way as any other ICE simulation.

Playing a Syflex ICE Simulation

Caching a Syflex ICE Simulation

You can cache a Syflex ICE simulation in the same way that you cache any ICE deformation simulation. There are three ways of caching ICE simulation data:

The cache file that is created with the Cache on File node is the same type as the one created when using the Cache Manager — see The Cache Manager. This means that you can use the resulting cache file in either the ICE tree or the animation mixer.

TipTo set up the default path, file name syntax, and file format for the cache files, see Setting the Defaults for Cache Files.

Creating a Pre-Roll for the Simulation

In most cases, you will need to begin the Syflex simulation before the first frame of the scene. This allows the cloth or curve deformation to be settled or have its position and speed appropriate to what's happening in the scene, such as a cloth already hanging from a nail or being worn on by an animated character.

While you can't directly set an initial state for Syflex ICE simulations (that is, have it start the simulation at a certain deformed state), you can set a pre-roll for them. To do this:

  1. Set the scene's timeline start frame to a negative frame that will give you enough time for the simulation to be at the state you want (20 to 50 frames is often enough).

  2. Set the First Frame value in the Syflex Cloth or Syflex Curve compound's property editor to match this frame value. This value must always be within the scene's timeline playback range.