> falloffs

Shape Falloff

falloffs/shape-falloff·v1.3.0
IN:1  OUT:1

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.

PAGEShape
GroupGroupIf there are input groups, specifying a group name in this field will cause this POPX to act only upon the group specified.
Specification POPSpecpopReference to a POP where each point is a specification defining a separate shape.
Display ShapeDisplayshapeWhen enabled, renders a visual representation of the shape in the viewport for reference.
HeightHeightThe height of the tube.
RoundnessRoundnessRoundness factor for rounded falloff shape modes.
ExponentExponentSets the exponent on parabola falloff shapes.
Transition RangeTransitionrangeDetermines a transition range for weights.
Transition AlignTransitionalignDetermines a transition offset for weights.
PAGETransform
PAGEFalloff
Combine Falloff AttributeCombattrscopeSpecifies which falloff attribute to combine with when Combine Operation is not set to Set.
Swap Operation OrderSwaporderReverses the order of operands in the combine operation (A op B becomes B op A).
Combine StrengthCombstrengthBlending factor for the combine operation, ranging from 0 (no effect) to 1 (full effect).
Output Falloff AttributeOutputfalloffattrName of the attribute where the final falloff values will be stored.
Preview FalloffPreviewfalloffWhen enabled, visualizes falloff values using a color ramp.
Open Custom Ramp EditorOpencustumrampeditorOpens the custom color ramp editor for defining a custom falloff visualization gradient.
Reset Custom RampResetcustomrampResets the custom color ramp to its default state.
PAGENoise
Apply NoiseApplynoiseWhen enabled, adds procedural noise to the falloff values for organic variation.
PAGENoise
SeedSeedNumerical value that initializes the randomization.
PeriodPeriodPeriod (scale) of the noise field.
HarmonicsHarmonThe number of higher frequency components to layer on top of the base frequency. 0 harmonics give the base shape.
Harmonic SpreadSpreadThe factor by which the frequency of a harmonic increases relative to the previous harmonic.
Harmonic GainGainAmplitude of the Harmonics layered on top of the base frequency.
AmplitudeAmpThe noise values amplitude (a scale on the values output).
ExponentExpSets the exponent. The internal value is raised by the power of the exponent.
PAGENoise
OffsetOffsetAdds an offset to the resulting value.
PAGENoise
Translate 4DT4dnoiseTranslates the points through the 4th noise dimension.
PAGERemap
Enable RemapRemapEnables remapping controls for adjusting falloff value range and distribution.
ClampClampWhen enabled, constrains falloff values to the 0-1 range.
FitFitEnables remapping of falloff values from an input range to an output range.
Auto Input Min MaxAutoAutomatically determines input range from actual min/max falloff values.
Input MinInputminMinimum value of the input range for remapping.
Input MaxInputmaxMaximum value of the input range for remapping.
Output MinOutputminMinimum value of the output range for remapping.
Output MaxOutputmaxMaximum value of the output range for remapping.
InvertInvertReverses the falloff values (1 - value).
Enable Ramp RemapEnablerampremapApplies a custom curve defined by a ramp to remap the falloff values.
Open Ramp EditorOpenrampeditorOpens the ramp editor for defining the custom remapping curve.
Reset RampResetrampResets the remap ramp editor.
Custom Ramp TOPCustomramptopReference to an external TOP for remap control. When specified, overrides the internal ramp editor.
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 PrimitivesRenderprimitivesToggles rendering of POPX Geometry or shows it as point instances only.
Convert to Point PrimitivesConverttoptprimConverts points to primitive points when Render Primitives is toggled off.
SRT / RSTSrtrstSets the transform order when using POPX Geometry as built-in TouchDesigner instances.
Input 0 POP POPX/POP Geometry
Output 0 POP POPX_out1