←ALL OPERATORS
> tools

Attribute To Index

tools/attribute-to-index·v1.5.1
IN:1  OUT:1

Attribute To Index normalizes an input attribute, or one component such as P(1), over the selected group, remaps a chosen window of it to a number of integer steps, adds a start index and writes the result as an integer point attribute. Points outside the group keep their values.

Point the Instancer's Point Attribute indexing mode at the output attribute to vary instances by falloff, noise, height or any other attribute pattern. Index Steps sets how many variations are produced, and Debug Color shows the index as a grey ramp so the distribution can be checked before instancing.

PAGEIndex
GroupGroupIf there are input groups, specifying a group name in this field will cause this POP to act only upon the group specified.
Input AttributeInputattrThe attribute remapped to index values.
Input Attribute RangeInputattrrangeSets the attribute range, minimum and maximum, that is mapped onto the index range.
Index StepsIndexstepsSets the number of index values, which is the number of variations.
Index StartIndexstartSets the first index value.
Output AttributeOutputattrName of the attribute the index is written to.
Debug ColorDebugcolorEnable addition of a color attribute to differentiate the points by index.
PAGECommon
BypassBypassPass through the first input to the output unchanged.
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Render PrimitivesRenderprimitivesWhether to render the full POPX geometry. When off, only point instances are drawn.
Convert to Point PrimitivesConverttoptprimEnable converting points to point primitives when Render Primitives is off.
SRT / RSTSrtrstSets the transform order, SRT or RST, used when the points are rendered as TouchDesigner instances.
Input 0 POP - POPX/POP Geometry
Output 0 POP - POPX/POP Geometry