Skip to main content

Groom Files

Once you've finished a groom and its graph, you'll probably want to publish the look as an asset to use across many shots.

Groom files (.grm) save a Yeti node's graph and its grooms into a single file, which makes it easy to publish different versions of a groom. A groom file holds the recipe for the fur, so it can be applied to any version of the model. A cache, by contrast, holds the fur for particular frames of a shot.

Creating a Groom File​

To create a groom file, select the Yeti node and choose Yeti > Export Groom From Selected Yeti Node. A dialog opens where you can name the groom file.

It's a good idea to include a version in the file name to track changes: for example, furryMonster_v01.grm.

That's it: your groom is published.

You can also export a groom file from a script with pgYetiCommand -exportGroom <fileName> <yetiNode>. See the scripting reference.

Referencing a Groom File​

Reference a Groom file

Every Yeti node has an I/O section in its Attribute Editor, where you assign a cache or groom file.

To reference a groom file, select the geometry you want to apply it to and create a new Yeti node (click CRM on the Yeti shelf).

In the I/O section of the Attribute Editor, enter the full path to the file in Input Cache File Name, and set Input Mode to Cache. The groom is read live from disk, so if the groom file is updated, the groom in the scene updates too.

The groom file also contains the geometry the groom was made on. To apply the groom to the model in your scene instead, so that it follows the model's rig and animation, turn on Override Cache With Inputs. The Yeti node's own input meshes then replace the meshes of the same name in the groom file, so make sure the names match what the groom's Import nodes look for. You can then cache the animated result for your shots.

Importing a Groom​

While a Yeti node references a groom file, it keeps reading the groom from disk and replacing the node's graph with it, so any changes you make to the graph are lost. To edit a referenced groom, import it first: select the Yeti node and choose Yeti > Import Groom From Selected Yeti Node. This rebuilds the graph and the Groom nodes in Maya, so you can recreate your working scene.

Once you've imported the groom, set the Yeti node's Input Mode back to None. Otherwise the node keeps reading the groom from disk.