Attribute To Index
Summary
Attribute To Index creates a point attribute popxIndex that the POPX Instancer will use by default to determine what instances to place on different points when the "Indexing Mode" of the POPX Instancer is set to "Point Attribute."
This operator creates this index from any existing attribute by remapping it to a given minimum and maximum integer range.
The operator is essential for creating variation in instanced geometry based on other attribute data like falloff values, noise patterns, or custom attributes.
By converting continuous attribute values into discrete integer indices, you can map different geometry variations to different regions of your point cloud based on any attribute-driven pattern.
The defaults remap the popxFalloff attribute to a range of index integers from 0 to 3.
You can control the number of index steps (discrete variations), the starting index value, and the input attribute range to remap from. A debug color mode is available to visualize the index distribution across your geometry. This makes it easy to see how different index values are distributed and verify that your remapping produces the desired variation pattern before connecting to an Instancer.