Position Hair operator

The Position Hair operator allows you to position particles on Ornatrix hair strands.


Hair Objects

  • Hair objects list: the list of objects which have Ornatrix hair modifiers applied to them.

Location

  • Random strand: particles will be uniformly placed on random Ornatrix hair strands.

  • Closest strand: particles will be placed on the closest Ornatrix hair strand, if they satisfy the distance condition.

You can use the output functionality of this operator to send particles which satisfied the distance condition to another event.

Density

These settings apply to “random strand” location mode.

  • Density by strand channel data: random strands will be weighted by Ornatrix channel data. The closer a vertex data value is to 1.0, the more likely it will receive a particle.

  • Channel name: the Ornatrix vertex data channel name.

  • Density by strand groups: only specified strand groups will receive particles.

  • Groups: the names of the Ornatrix strand groups, separated by commas.

Proximity

These settings apply to “closest strand” location mode.

  • Strand radius as max distance: the maximum distance a particle can be to a strand before being placed on the strand is equal to the strand’s radius.

  • Multiplier: a multiplier to apply to the strand radius value.

  • Max distance: the maximum distance a particle can be to a strand before being placed on a strand is equal to this absolute value.

  • Accuracy: the maximum number of nearby hair strand vertices to examine when doing the hair strand proximity search.

The Position Hair operator uses an accelerated proximity search algorithm that first searches for nearest strand vertices, and from the list of those vertices then checks the distance between the particle and the strand segments adjacent to the nearest vertices. Setting the accuracy setting too low can result in particles being assigned to the wrong strand segments. It is recommended to keep the accuracy setting to between 10 and 25. Alternatively, increasing the segment count of the hairs themselves can improve search accuracy.

Position Offset
  • Snap to hair: particles moved to strands will be snapped to the closest point on the strand.

  • Offset by strand radius: the minimum distance a particle can be from a strand is the radius of the strand.

Orientation
  • Align to strand: particles will be aligned to the strands they are placed on, with the strand tangent being the forward vector of the orientation matrix, and the vector to the closest point on the strand being the up vector of the orientation matrix.

Hair location channel

  • Channel: the custom TM channel where data required for the Hair Bind operator should be stored.

Uniqueness

  • Seed: the seed value for all varied parameters.