←ALL OPERATORS
> tools

Measure

tools/measure·v1.5.1
IN:1  OUT:1

Measure computes a value per point from its neighbors: density, surface variation, mean curvature, curvedness, or the gradient of a scalar attribute. Scalar results are normalized to 0 to 1 over the group and written to an attribute named after the measure, while the gradient keeps its direction; the curvature measures read N.

Neighbors are found by distance or connectivity up to Max Neighbors, or reused from a previous Measure through Output Neighbors Attributes, and Smoothing Radius sets the kernel size. Preview Measure colors the points through a heatmap, blackbody, infrared or custom ramp so the result can be checked before it drives other operators.

PAGEMeasure
GroupGroupIf there are input groups, specifying a group name in this field will cause this POP to act only upon the group specified.
Scalar AttributeScalarattrSets the scalar attribute used by the Gradient measure.
Use Existing Neighbors AttributesUsenebrsattrWhether to reuse the neighbor attributes of a previous Measure instead of recomputing them.
Max Neighbors DistanceMaxdistanceSpecifies the distance below which a point is considered a neighbor of the current point.
Max NeighborsMaxneighborsMaximum number of neighbors per point.
Smoothing RadiusSmoothingradiusRadius used to smooth the measured values.
Output Neighbors AttributesOutputneighborsattrsWhether to output the neighbor attributes for reuse by a later Measure.
PAGEPreview Measure
Preview MeasurePreviewmeasureEnable coloring the points by the measured value.
Open Custom Ramp EditorOpencustomrampeditorOpen the editor of the custom preview ramp.
Reset Custom RampResetcustomrampResets the custom preview ramp.
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