Exporting to Unreal
Yeti supports Epic's Alembic for Grooms specification, a common way to export hair and fur from DCC applications to Unreal Engine with the industry-standard Alembic file format.
The easiest way to use it is to select the Yeti node you want to export and choose Yeti > Export Unreal Abc.
Or use the script command:
pgYetiCommand -exportUnrealAbc <string fileName>
Either way, Yeti evaluates the graph at the Yeti node's viewport (display) density, so the exported asset matches what you see in the viewport. Both export the first selected Yeti node at the current frame.
To export an animated groom, use -writeAlembic with the -asUnrealAbc flag and a frame range. See Alembic Export.
You can also have a Yeti node write an Unreal-compatible Alembic file every time it evaluates, with its Live ABC Toggle and Live ABC Filename attributes. See I/O.
When exporting, Yeti maps attributes in the graph to those in the groom specification as shown below.
| Yeti Attribute Name | Yeti Data Type | Groom Spec Attribute Name |
|---|---|---|
width | vertex float | Alembic's standard curve width |
s and t | uniform float | groom_root_uv |
id | uniform float | groom_id |
groom_group_id | uniform float | groom_group_id |
groom_guide | uniform float (set it to 1 or 0, as it's converted to a boolean) | groom_guide |
diffuseColor | vertex vector, as set by the Shader node's Diffuse Color | groom_color |
Yeti also writes the groom specification's groom_version_major, groom_version_minor and groom_tool properties.