POPX

Curve Falloff

v1.3.0
Falloffs

Summary

The Curve Falloff generates a Falloff Attribute based on distance calculations from curve geometry. It provides precise control over falloff distribution using curve-based distance fields with adjustable min/max distance ranges.

It supports multiple falloff modes: distance to the closest point on the curve, the normalized position along the curve of the closest point multiplied by distance, and the normalized position along the curve of the closest point.

Includes curve resampling options for optimizing performance and visualization, along with complete spatial transformation controls.

Parameters

GroupGroup
If there are input groups, specifying a group name in this field will cause this POPX to act only upon the group specified.
Curve Geometry (POP)Curvegeometry
Reference to curve geometry. Used when Input 1 is not connected.
Display CurveDisplaycurve
When enabled, renders a visual representation of the curve in the viewport for reference.
Display ColorDisplaycolor
Color used to display the curve when Display Curve is enabled.
Display ColorDisplaycolorrDisplay ColorDisplaycolorgDisplay ColorDisplaycolorb
ModeMode
Calculation method for generating falloff values from the curve.
Distance to CurvedistDistance Times Curve PositiondistcurveCurve Positioncurve
Min DistanceMindistance
Minimum distance value for falloff calculation range.
Max DistanceMaxdistance
Maximum distance value for falloff calculation range.
Resample MethodResamplemethod
Line strip resample method.
NonenoneDivisions per Line StriplinestripDistance between Pointsdist
DivisionsResampledivs
The number of divisions.
Max DistanceResamplemaxdist
Maximum distance between points.
Maximum Number of VerticesMaxverts
Sets the number of vertices to be allocated.
Max Tries for Binary SearchMaxtries
Max number of iterations for binary search when linearly resampling.
Transform OrderXord
Order in which Scale, Rotate, and Translate operations are applied to the curve.
Scale Rotate TranslatesrtScale Translate RotatestrRotate Scale TranslaterstRotate Translate ScalertsTranslate Scale RotatetsrTranslate Rotate Scaletrs
Rotate OrderRord
Order in which rotations around the X, Y, and Z axes are applied.
Rx Ry RzxyzRx Rz RyxzyRy Rx RzyxzRy Rz RxyzxRz Rx RyzxyRz Ry Rxzyx
TranslateT
Translation offset applied to the curve in world space.
TranslateTxTranslateTyTranslateTz
RotateR
Rotation angles in degrees around the X, Y, and Z axes.
RotateRxRotateRyRotateRz
ScaleS
Scale factors applied to the curve along each axis.
ScaleSxScaleSyScaleSz
Uniform ScaleScale
Uniform scaling factor applied equally across all axes.
PivotP
Pivot point around which rotations and scaling are performed.
PivotPxPivotPyPivotPz
Combine OperationCombineop
Mathematical operation used to combine this falloff with existing falloff values.
AddaddSubstractsubMultiplymultDividedivScreenscreenOverlayoverlayMaximummaxMinimumminSetset
Combine Falloff AttributeCombattrscope
Specifies which falloff attribute to combine with when Combine Operation is not set to Set.
Swap Operation OrderSwaporder
Reverses the order of operands in the combine operation (A op B becomes B op A).
Combine StrengthCombstrength
Blending factor for the combine operation, ranging from 0 (no effect) to 1 (full effect).
Output Falloff AttributeOutputfalloffattr
Name of the attribute where the final falloff values will be stored.
Preview FalloffPreviewfalloff
When enabled, visualizes falloff values using a color ramp.
Falloff RampFallofframp
Color ramp preset used for visualizing falloff values when Preview Falloff is enabled.
HeatmapheatmapBlackbodyblackbodyInfraredinfraredCustomcustom
Open Custom Ramp EditorOpencustumrampeditor
Opens the custom color ramp editor for defining a custom falloff visualization gradient.
Reset Custom RampResetcustomramp
Resets the custom color ramp to its default state.
Apply NoiseApplynoise
When enabled, adds procedural noise to the falloff values for organic variation.
Combine OperationCombineopnoise
How noise values are combined with the base falloff (Add or Multiply).
AddaddMultiplymult
TypeType
Noise algorithm type (Perlin, Simplex, etc.).
Perlin 2D (GPU)perlin2dPerlin 3D (GPU)perlin3dPerlin 4D (GPU)perlin4dSimplex 2D (GPU)simplex2dSimplex 3D (GPU)simplex3dSimplex 4D (GPU)simplex4d
SeedSeed
Numerical value that initializes the randomization.
PeriodPeriod
Period (scale) of the noise field.
HarmonicsHarmon
The number of higher frequency components to layer on top of the base frequency. 0 harmonics give the base shape.
Harmonic SpreadSpread
The factor by which the frequency of a harmonic increases relative to the previous harmonic.
Harmonic GainGain
Amplitude of the Harmonics layered on top of the base frequency.
AmplitudeAmp
The noise values amplitude (a scale on the values output).
ExponentExp
Sets the exponent. The internal value is raised by the power of the exponent.
OffsetOffset
Adds an offset to the resulting value.
Transform OrderXordnoise
Sets the overall transform order for the transformations.
Scale Rotate TranslatesrtScale Translate RotatestrRotate Scale TranslaterstRotate Translate ScalertsTranslate Scale RotatetsrTranslate Rotate Scaletrs
Rotate OrderRordnoise
Sets the order of the rotations within the overall transform order.
Rx Ry RzxyzRx Rz RyxzyRy Rx RzyxzRy Rz RxyzxRz Rx RyzxyRz Ry Rxzyx
TranslateTnoise
Translate the points through the noise space.
TranslateTnoisexTranslateTnoiseyTranslateTnoisez
RotateRnoise
Rotate the points around the corresponding X, Y and Z axes. Angles are given in degrees.
RotateRnoisexRotateRnoiseyRotateRnoisez
ScaleSnoise
These three fields scale the Source geometry in the three axes.
ScaleSnoisexScaleSnoiseyScaleSnoisez
PivotPnoise
The pivot point for the transform rotates and scales.
PivotPnoisexPivotPnoiseyPivotPnoisez
Translate 4DT4dnoise
Translates the points through the 4th noise dimension.
Enable RemapRemap
Enables remapping controls for adjusting falloff value range and distribution.
ClampClamp
When enabled, constrains falloff values to the 0-1 range.
FitFit
Enables remapping of falloff values from an input range to an output range.
Auto Input Min MaxAuto
Automatically determines input range from actual min/max falloff values.
Input MinInputmin
Minimum value of the input range for remapping.
Input MaxInputmax
Maximum value of the input range for remapping.
Output MinOutputmin
Minimum value of the output range for remapping.
Output MaxOutputmax
Maximum value of the output range for remapping.
InvertInvert
Reverses the falloff values (1 - value).
Enable Ramp RemapEnablerampremap
Applies a custom curve defined by a ramp to remap the falloff values.
Open Ramp EditorOpenrampeditor
Opens the ramp editor for defining the custom remapping curve.
Reset RampResetramp
Resets the remap ramp editor.
Custom Ramp TOPCustomramptop
Reference to an external TOP for remap control. When specified, overrides the internal ramp editor.
BypassBypass
Pass through the first input to the output unchanged.
Free Extra GPU MemoryFreeextragpumem
Free memory that has accumulated when output memory has grown and shrunk.
Render PrimitivesRenderprimitives
Toggles rendering of POPX Geometry or shows it as point instances only.
Convert to Point PrimitivesConverttoptprim
Converts points to primitive points when Render Primitives is toggled off.
SRT / RSTSrtrst
Sets the transform order when using POPX Geometry as built-in TouchDesigner instances.

Inputs

Input 0POP
POPX/POP Geometry
Input 1POP
Curve Geometry

Outputs

Output 0POP
POPX_out1