Groom Variations
One groom can be turned into many slightly or very different heads of hair, for example to give every character of a crowd hair of its own without grooming each one. Ornatrix offers two kinds of variation: a new random seed for every operator of the stack, and the presets which were saved with a groom.
- Table of contents
- Groom Variations
Random Seed
Every Ornatrix hair component has a Variation category in its Details panel.
- Random Seed
The random seed given to every operator of the stack at once. Operators which scatter roots, clump, curl, frizz or vary the length and width of strands all use their own random seed; changing this value sets all of them to it, so the groom keeps its look but every strand lands somewhere else. Each operator keeps the seed it was given, so you can still change one operator's own Random Seed afterwards. - New Variation
Moves Random Seed on to the next value, which makes a new variation of the groom. Press it until you like the result. Like any other edit it can be undone.
The seeds are stored on the operators, so a variation is kept when the level is saved and reopened.
The Random Seed does not reach inside a Groom operator (a grafted groom).
Groom presets as variations
Grooms saved with presets in Ornatrix App carry those presets in the groom file. When you add hair with Add Hair and select such a groom in the Select Ornatrix Groom dialog, a Variations row appears below the grooms, showing a thumbnail of each preset:
- Default adds the groom as it was authored.
- Any other entry adds the groom with the values of that preset: its length, curl, clumping, random seed and so on.
Select a variation and press Select Groom, or double-click it. The hair grooms shipped with Ornatrix (LongHair, MediumHair, CurlyHair, MohawkHair, ShortAfroHair and ShortPixieHair) each come with four variations.
Once the hair is added the groom has become a stack of operators, so the variation is simply the values those operators were given. To try another variation, add the hair again with that variation selected.
The variations can also be added from Python:
ornatrix = unreal.get_editor_subsystem( unreal.OrnatrixEditorSubsystem )
groom = "C:/ProgramData/Ephere/OrnatrixUE5.8/Grooms/LongHair.oxz"
print( ornatrix.get_groom_variation_names( groom ) ) # ['Default', 'Beach Blonde', 'Blunt Bob', 'Chestnut Curls', 'Raven Sleek']
hair = ornatrix.add_hair_to_component_by_groom_variation( actor.static_mesh_component, groom, "Blunt Bob" )
hair.set_random_seed( 7 )
Groom library
Ornatrix for Unreal Engine installs the grooms which ship with Ornatrix App next to its own, so LongHair, MediumHair, CurlyHair, MohawkHair, ShortAfroHair, ShortPixieHair and CommonEyebrow are offered in the Select Ornatrix Groom dialog. They are best added to an actor without a mesh: the groom then brings the scalp it was groomed on.


