Создать карту индекса направляющей (create guide index map)

The Create Guide Index Map node generates an integer attribute named guide_curve_index that maps every hair curve to its nearest guide curve. Each non-guide curve is assigned the index of the guide curve it should follow.

This guide map is used by other hair grooming nodes (for example, Косички из волос-кривых (braid hair curves), Группировать кривые волос (clump hair curves)) to organize curves into logical groups around shared guides and apply effects consistently.

Other nodes in the Ноды направляющих для волос (hair guides nodes) category can generate a guide map internally for convenience, but the resulting attribute is equivalent to what this node produces.

Входы (inputs)

Геометрия (geometry)

The input geometry containing the hair curves to be grouped and, optionally, existing guide curves.

Направляющие (guides)

The curves or points that can act as guides. These are the candidates that other curves will be assigned to.

Расстояние между направляющими (guide distance)

The minimum spacing between chosen guides. This prevents guides from being selected too close together and helps control how large each guide’s influence region will be.

Маска направляющей (guide mask)

A mask that restricts which curves are allowed to become guides. Curves with a mask value of 0 cannot be selected as guides.

ID группы (group ID)

An ID used to divide the curves into independent groups for guide assignment. A curve will only select a guide that has the same Group ID value. This is useful for ensuring that different regions (for example, left vs. right side of a groom) do not mix.

Выходы (outputs)

Геометрия (geometry)

The input geometry with two additions:

  • A guide_curve_index attribute that stores, for every curve, the index of its assigned guide curve.

  • A anonymous attribute representing the guide selection. The resulting geometry still contains both normal curves and the chosen guide curves.

Направляющие кривые (guide curves)

A geometry output that includes only the curves selected as guides.

Индекс направляющей (guide index)

Целочисленный атрибут, задающий (для каждой кривой) индекс ближайшей направляющей кривой с тем же „ID группы“.

Выбор направляющих (guide selection)

A boolean selection attribute that is true only for curves that were chosen as guides. This can be used to isolate, visualize, or further process the guide curves.