POPX

Shape Falloff

v1.3.0
Falloffs

Summary

The Shape Falloff generates a Falloff Attribute based on signed distance fields (SDFs) computed from various geometric primitives. Internally, uses the Field POP to calculate distance-based influence regions with smooth gradients and precise transitions.

Provides accurate control over falloff distribution using mathematical shape definitions such as spheres, boxes, cylinders, and planes, with adjustable parameters for size, radius, height, and roundness.

Multiple shapes in one Shape Falloff: A parameter called Specification POP is a pointer to a POP where each point is a specification defining a separate shape - one point per shape. The attributes of the specification POP are named the same as parameter tokens in the Shape Falloff, and override the parameters for each shape. Menus and toggles are represented as integers, starting at 0 for the first menu entry. You need only to create a Point POP with attributes named as the Shape Falloff parameters, and then add a point per shape, and set their values. (An attribute sizex will override the Size X (sizex) parameter.) Alternately you can generate points procedurally with attributes that match the Shape Falloff parameter names. The workflow is the same as multiple strings defined in a specification DAT of the Geo Text COMP and the Text COMP.

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.
Specification POPSpecpop
Reference to a POP where each point is a specification defining a separate shape.
Shape TypeShape
Select the shape of the field.
SpheresphereBoxboxTorustorusTube InfinitetubeinfiniteTube CappedtubecappedTube RoundedtuberoundedCapsulecapsuleX-PlanexplaneY-PlaneyplaneZ-PlanezplaneParabolaparabolaLine Projectionlineprojection
Display ShapeDisplayshape
When enabled, renders a visual representation of the shape in the viewport for reference.
Display ColorDisplaycolor
Color used to display the shape when Display Shape is enabled.
Display ColorDisplaycolorrDisplay ColorDisplaycolorgDisplay ColorDisplaycolorb
SizeSize
The geometry 3D size.
SizeSizexSizeSizeySizeSizez
RadiusRad
Radius of falloff shape.
RadiusRadxRadiusRadyRadiusRadz
HeightHeight
The height of the tube.
RoundnessRoundness
Roundness factor for rounded falloff shape modes.
Point APointa
Shape first point.
Point APointaxPoint APointayPoint APointaz
Point BPointb
Shape second point.
Point BPointbxPoint BPointbyPoint BPointbz
ExponentExponent
Sets the exponent on parabola falloff shapes.
StrengthStrength
Sets the falloff shape strength.
StrengthStrengthxStrengthStrengthy
Transition RangeTransitionrange
Determines a transition range for weights.
Transition AlignTransitionalign
Determines a transition offset for weights.
Transition TypeTransitiontype
Determines a transition function for weights.
LinearlinearSmooth StepsmoothstepEase In Ease Outeaseinout
Transform OrderXord
Order in which Scale, Rotate, and Translate operations are applied to the shape.
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 shape in world space.
TranslateTxTranslateTyTranslateTz
RotateR
Rotation angles in degrees around the X, Y, and Z axes.
RotateRxRotateRyRotateRz
ScaleS
Scale factors applied to the shape along each axis.
ScaleSxScaleSyScaleSz
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

Outputs

Output 0POP
POPX_out1