Clumping
Clumping operator attracts groups of hairs together to produce distinct clumps. You can control how these clumps are generated, where they are placed, and how the hairs are attracted to them. Each clump is defined by it's center stem. When the clump node is first added a few random clumps are automatically generated on the hair.
The clumping is performed on currently visible hair inside the viewport. Any hair which is later added (for example, if you increase input hair count or during rendering) will use the hairs which were present during clump generation as guides. Closest guide clump hairs will be used to determine which clump the final hair belongs to.
Modifying the clumps after changing the viewport hair positions or count will not affect previous clumping, it will merely use the currently visible viewport hair to generate and update the internal clump guide hairs. This process is invisible to the user, however, it is important to understand this because having more hairs in viewport during clump generation and editing will produce more precise and detailed clump borders.
Clump Manipulators
Clump manipulators provide direct and precise control over individual clumps in the viewport, allowing you to create intricate hair styles with fine control. The editing is non-destructive, meaning it respects any changes to the input hair shape and can be layered with multiple operators.
Using clump manipulators
To edit clumps using manipulators:- Add a Clump operator to your hair object
- Generate clumps using the Create Clump(s) button
- Enter Clumps editing mode
- Select one or more clumps by clicking on the hair
- A transform gizmo will appear at the base of the selected clump
(screenshot needed)
Editing modes
You can switch between three editing modes:- Move - Translate the clump around its center
- Rotate - Twist the clump around its center
- Scale - Scale the clump profile
Editing position
The Z arrow along the clump stem controls the current editing position:- Click and drag the Z arrow to move the editing position along the clump
- Alternatively, use the position slider in the Attribute Editor
- Different positions along the clump can have different transformations
Creating and managing knots
When you scale or rotate the clump at different positions, you create knots that capture the transformation along the clump's length:- Each editing mode (move, rotate, scale) has its own independent knots
- Hold Control while adjusting the edit position to snap to the nearest knot
- Hold Shift while adjusting the edit position to move the currently selected knot to the new position
Creating Braids with Clump Patterns
Ornatrix provides a powerful in-place, procedural, and highly customizable braiding system through clump patterns. This eliminates the need for complex setups with multiple shapes that were traditionally required for creating braids.
Quick start for braiding
To create a basic braid:- Add a Clump operator to your hair object
- Generate one clump and set Flyaway Fraction to zero to avoid stray hairs
- Enter Clumps editing mode
- Select the clump you want to braid
- In the Clump Patterns section, change Pattern from "None" to "Rope" to create a simple twisted braid
- Use the global clumping Amount ramp or the scale manipulator to shape the braid along the clump length
- Use the rotate manipulator to set the correct orientation for your braid
Pattern types
Ornatrix includes several built-in pattern types:- None - No pattern applied (standard clumping)
- Rope - Creates a simple twisted braid by twisting the strands
- French Braid - Creates a classic French braid pattern
- Custom - Allows you to design your own braiding patterns
Pattern parameters
When a pattern is applied to a clump, you can control:- Frequency - Stretches or squeezes the pattern along the clump length. Higher values create tighter patterns.
- Phase - Moves the pattern up and down along the clump
- Thickness - Adjusts how thick individual stems inside the braid should be. A value of 1 uses the default thickness, which works well for most cases.
- Blending - Controls the transition between adjacent patterns when using pattern knots
Pattern knots
You can create complex braiding styles by applying different patterns at different positions along a clump:- Move the position manipulator to a different location along the clump's length
- Change the pattern type to create a new pattern knot at that position
- The transition between adjacent patterns will be automatically blended
- Adjust the Blending value to control the smoothness of the transition
- Hold Shift while adjusting the edit position to move an existing pattern knot
Braid Designer
For creating custom braiding patterns, Ornatrix includes a powerful Braid Designer tool:- Select "Custom" as the pattern type
- Click the Braid Designer button to open the Ornatrix Braid Designer in a separate window
- Alternatively, access the designer from any device at https://braids.ephere.com
- Create new braiding patterns from scratch
- Start with existing presets and modify them
- Add or remove pattern clumps
- Adjust individual clump settings
- Copy the pattern string to share with others or save for later use
- Design your pattern in the Braid Designer
- Click the Copy button to copy the pattern string
- Return to your scene and click Paste from Clipboard to apply your custom pattern
Generating clumps
Clumps need to be generated manually by selecting a method for generation and clicking the Create Clumps button. Once they are generated they will remain until you either edit them or delete them. The generated clump data will remain stored with the operator.
- If you use the Create Clumps button without selecting clump hairs or clumps then all hair will be clumped using selected clumping method
- If you use the Edit Clump Hairs tool to select some hairs and then press the Create Clumps button then only the selected hairs will be clumped
Deleting clumps
You can delete a part of a clump or whole clumps at once using the Delete Clump(s) button:- If you use the Delete Clumps button without selecting clump hairs or clumps then all clumps on current hair object will be removed
- If you use the Edit Clump Hairs tool to select some hairs and then press the Delete Clumps button then the selected hairs will be de-clumped. This means that the current clump operator will have no effect on them until you clump them again.
- If you use the Edit Clumps tool to select some clumps and then press the Delete Clumps button then the hairs belonging to selected clumps will be de-clumped. This means that the current clump operator will have no effect on them until you clump them again.
Once a clump is deleted you can re-clump the de-clumped hairs at any time by selecting them and pressing the Create Clumps button again.
Clumping to guides
You can create clumps based on the guides which were used to generate the hair. For this you need to have a Hair from Guides modifier below Clump operator in the hair stack. If the hair was not created from guides, for example if Hair From Mesh Strips or Baked Hair operators are used, then this method of clump generation will not work.
To clump hairs to guides:- In Attribute Editor set Clump Create Method parameter to Guides
- Click Create Clumps button
When the hair guides change shape (for example, when they are animated) the clumps will automatically follow their shape as long as the Clump Create Method is set to Guides.
If the hair guide count or positions change the clumps will not automatically update. You need to click Create Clump(s) again to manually update clumps when guide count changes.
Clumping to external strands
You can create clumps from another hair or guides shape in the scene. The clumps will be created to match the position and shape of the target "external" strands. This is useful when you want to create a separate set of guides, independent from current hair, to define clumps on your character. This also allows fine control over clump placement and density since you can control these parameters in a separate Guides from Mesh modifier (located in a separate shape).
It is important that the "external" guides or hair shape is located under the same transform as the shape which has the Clump operator. In other words, the external strands are assumed to be in the same object space as the resulting clumps.
To clump hairs to external strands:- In Attribute Editor set Clump Create Method parameter to External Clump Strands
- Under External Clump Strands controls, click the Assign External Clump Strands button
- Click on the strands or hair shape which you want to use for clumps inside a viewport. If everything is correct you will see its name in the field above Assign External Clump Strands button
- Click Create Clump(s) button
When the external strands change shape (for example, when they are animated) the clumps will automatically follow their shape changes as long as the Clump Create Method is set to External Clump Strands.
If the strand count or root positions of external strands change the clumps will not automatically update. You need to click Create Clump(s) again to manually update clumps in that case.
Creating sub-clumps
Through a specially designed workflow Clump operator allows you to create smaller clumps within larger ones, to create an effect we call "sub-clumping". This may be useful to simulate fur where smaller bits of hair are stuck together inside larger clumps.
To achieve sub-clumping you need to stack two Clump operators on top of one another. The operator on the bottom is responsible for creating the larger clumps, and the one at the top generates smaller clumps within the already clumped hair. Thus the Clump operator on the bottom needs to generate a small amount of clumps and the one on the top needs to generate a much larger count. It is up to you how the clumps are generated, whether it be randomly, with groups, or through guides, this is not important for this process.
If you do this without any other steps you will notice that the top Clump operator will generate some clumps such that hairs in them jump between the larger existing clumps. This is not desired because it destroys the clumps formed by the Clump operator on the bottom.
To combat this a clump region strand channel needs to be generated by the operator on the bottom and used by the operator on the top. This will ensure that the hair jumping problem described above will not happen.
To create sub-clumps:- Add a Clump operator and generate a set of clumps, for example using Random clumping method
- In Attribute Editor enable the Add Clump Index Channel option. This will generate a new per-strand channel where each strand is assigned an integer value depending on which clump it belongs to.
- Add another Clump operator on top of the current one and generate another larger set of clumps. These will be the sub-clumps within the main ones.
- In Attribute Editor select the "ClumpIds" channel in Region Channel drop down
The resulting smaller clumps will now be contained within the larger clumps defined by the operator on the bottom.
"Could not find a matching sub-clump" warning
When generating-sub clumps you may be presented with a warning: // Warning: Ornatrix: Could not find a matching sub-clump for N clumps
This is normal and is merely an indication that according to the way that clump regions were specified (with a map or a strand channel) did not allow for some of the newly generated clumps to belong to the same master clumps. When computing which master clump a sub-clump belongs to a matching process is used to ensure that both the sub-clump and master clump are located within the same region. However, it may be possible that some of the sub-clumps cannot be matched to the same region as their master clump.
This warning can be reduced or avoided by increasing the Maximum Closest Region Clump Regions parameter. The higher the value the more master clumps will be considered for each sub-clump until eventually a match is detected.
Parameters
Clumping Settings
These parameters control clumping globally. There is also a Selected Clump Settings category (see below) with a sub-set of these parameters which allows customizing individual clumps.
Strand Group
Strand group pattern to which this operator will be applied. If empty all strands will be affected.
Random Seed
Controls the randomness of this operator's results. Change this value to modify the output.
Amount
Specifies the strength of clumping. Hairs will be attracted to the center of their clump more or less based on this value.
Amount Ramp, Multiplier, and Channel
Provides clumping amount control along strand length and distribution surface based on a curve, map, or a guide channel.
Preserve Strand Length
When true the input hair strand lengths will not be modified during clumping.
Attract to Closest Stem Point
When true the closest point on clump stem for each hair point will be used to calculate the clumping amount and other length-varying parameters. Use this option when "Preserve Strand Length" in on for better results.
Root Blending Position
When this value is non-zero the strand shapes will be linearly blended from root to this position, between their original and clumped shapes. This is done to avoid roots becoming unglued from the distribution mesh when using an option like Round Clumps.
Round Clumps
When on, the clump profiles will be forced to be circular. This is useful when doing braiding to avoid intersections of individual clump stems.
Twist
Controls how much strands are twisted around the clump center. Negative values will twist counter-clockwise, otherwise twisting will be clockwise.
Twist Ramp, Multiplier, and Channel
Provides twisting control along strand length and distribution surface based on a curve, map, or a guide channel.
Flyaway Fraction
Controls the fraction of hairs which will randomly not be clumped
Flyaway Amount
Controls the amount of clumping for flyaway hairs
Set Clump Size
When on, the profile of clumps will be forced to be this size (at places where Amount value is 1). This allows you to precisely control how big clumps are in absolute values to each other and is useful for braid stems.
Clump Size
When Set Clump Size is on, this sets the absolute clump profile diameter.
Clump Size Ramp
Controls the clump size along clump's length
Set Guide Clump Shapes
When on, the guides shapes will be used to define the clump stems. Otherwise, guides will only be used to define clump roots. This option is only applicable if clump creation mode is set to Guides or External Guides.
Region Multiplier and Channel
Clump region map or channel provide an explicit way of specifying which hairs should be clumped together. When generating clumps, new clumps will only be formed within the regions of the map or channel having the same values. Map can be color.
This parameter can be used in conjunction with another Clump operator's Add Clump Index Channel parameter (which generates the region map) to create sub-clumps which are clumps existing entirely within other bigger clumps.
Add Clump Index Channel
When on, a new per-strand channel containing hair clump indices will be added. Useful for sub-clumping.
- Respect Hair Parts
When on, the clumping will be avoided between hairs and clump centers which belong to different hair parts
Clump Create Method
Specifies how clumps will be created when pressing the Create Clump(s) button.
Clump Count
Specifies number of clumps to be created when pressing the Create Clump(s) button.
Create Clumps
Use this button to create or update clumps manually
Clump Patterns
This feature allows you to manually or procedurally design the shape of the clumps. A list of patterns created using Braid Patterns or any guide object can be used for clumping. Clump patterns enable creation of complex braids and intricate hairstyles directly within the clump operator. In the following image a Braid Pattern object was used to create a pigtail and assigned to the Clump operator to create some braiding.
- Global Clump Patterns
A list of currently used clump patterns. The order of patterns in this list matters because any per-clump pattern selections will reference it. - Pattern List
These are the patterns, selected from the global Patterns list, which will actually be used globally on clumps which don't have a per-clump pattern specification (see below). - Clump Pattern Rotation
Specifies the rotation value around a clump's stem for clump patterns
Pattern-Specific Parameters
When a pattern is applied to a clump, the following parameters become available:- Frequency
Controls how stretched or squeezed the pattern is along the clump length. Higher values create tighter patterns. - Phase
Shifts the pattern up or down along the clump stem - Thickness
Adjusts the thickness of individual stems within the braid. A value of 1 uses the default thickness, which is suitable for most cases. - Blending
Controls the smoothness of transitions between different patterns when using pattern knots
Custom Pattern Design
The Custom pattern type enables you to design your own braiding patterns:- Braid Designer
Opens the Ornatrix Braid Designer where you can create custom patterns. The designer is also accessible at https://braids.ephere.com - Paste from Clipboard
Applies a custom pattern string copied from the Braid Designer - Custom Preset
Contains controls for the custom pattern that become available when "Custom" is selected as the pattern type
Dynamic Clumping
Dynamic clumping allows procedural behavior of the Clump operator.
- Enabled
When on, clumps will be automatically generated when user-specified clump count changes and generation method. Enable with care as this option will override any previously created custom clumps! - Clump Count
When dynamic clumping is used this specifies the number of clumps to be generated
Selected Clump Settings
These parameters allow specifying parameters which will only apply to currently selected clumps. Use these values to customize individual clumps.
Reset Clumps
If you press this button the settings for currently selected clumps will be reverted back to global values.
Amount Override and Ramp
Specifies per-clump Amount values.
Twist Override and Ramp
Specifies per-clump Twist values.
Pattern Indices Override
Specifies per-clump Patterns. These are selected from the global Patterns list (see above).


