创建引导编号映射

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, 编织毛发曲线, 束发曲线) to organize curves into logical groups around shared guides and apply effects consistently.

Other nodes in the 毛发引导节点 category can generate a guide map internally for convenience, but the resulting attribute is equivalent to what this node produces.

输入

几何数据

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

辅助(引导)

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

引导距离

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.

引导遮罩

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

群组 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.

输出

几何数据

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.

引导曲线

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

引导编号

An integer attribute giving, for each curve, the index of the closest guide curve with the same Group ID.

引导选择

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.