PopcornFX v2.12

Generic selectors
Exact matches only
Search in title
Search in content
  1. Home
  2. Docs
  3. PopcornFX v2.12
  4. Node Reference
  5. Builtin nodes
  6. Samplers
  7. VectorField

VectorField

Scope: Simulation graph.

The sampler data nodes are used in the simulation graph to describe the different data types that can be sampled to retrieve information with which you can drive the particles behavior.

Those nodes can either be directly inserted in the graph or you can use attribute samplers in the effect interface to manipulate the sampler data.

SamplerDataVectorField

 

PropertyTypeDescription
GlobalScalefloatOverall vector-field scale, scales both the Strength and the Wavelength properties
StrengthfloatVector-field strength, higher values produce larger forces
DataSourceenumSpecifies where the sampler fetches the vector-field data

  • Procedural: vector-field is defined by the procedural curl-noise turbulence parameters
  • External: sampler will load an external vector-field file (.fga)
VectorFieldResourcestringPath to the file containing the vector-field (.fga)
WrapSideboolIf set, the vector-field will wrap/repeat on its side axis, otherwise, it will be clamped
WrapVerticalboolIf set, the vector-field will wrap/repeat on its vertical axis, otherwise, it will be clamped
WrapDepthboolIf set, the vector-field will wrap/repeat on its depth axis, otherwise, it will be clamped
WrapTimeboolIf set, the vector-field will wrap/repeat on its time axis, otherwise, it will be clamped
Filteringenum
  • Point: Fastest interpolator. lowest quality. No filtering / interpolation
  • Trilinear: Interpolates between the 8 neighboring cells around the sampling point in 3D space
  • Quadrilinear: Interpolates between the 16 neighboring cells around the sampling point in 4D space
WavelengthfloatTurbulence scale, the bigger the number, the larger the vortices
OctavesintNumber of noise layers blended together to produce the final noise
LacunarityfloatScale (zoom) factor between each noise octave
GainfloatScale (intensity) factor between each noise octave
Interpolatorenum
  • Linear: Fastest interpolator. lowest quality. Turbulence abruptly changes values
  • Cubic: Medium-quality interpolator. Only applicable to ‘Procedural’ vector-fields
  • Quintic: Best-quality interpolator. produces smooth continuous turbulence. slower than Cubic. Only applicable to ‘Procedural’ vector-fields
TimeScalefloatSpeed of the animated turbulence. 0 means no animation (TimeBase is still used), 1 means the animation loops every 1 second, 0.1 means the animation moves slower, and loops every 10 seconds.
TimeBasefloatTime offset into the animation
TimeRandomVariationfloatAllows individual turbulence vortices to animate at a different rate from one another. this is used as a coefficient to ‘TimeScale’.

  • 0.0 means the strict TimeScale is used.
  • 0.5 means the timescale will be randomized between (TimeScale - 0.5 * TimeScale) and (TimeScale + 0.5 * TimeScale)
FlowFactorfloatAllows the user to smoothly choose an intermediate representation of the flow, between a divergence-free, and curl-free flow.
DivergenceFactorfloatAllows the user to smoothly choose an intermediate representation of the flow, between a divergence-free, and curl-free flow.
InitialSeedintInitial seed used to randomize the noise
FastFakeFlowboolFor extra speed, check this. However, the vectorfield quality will be pretty poor.
GainMultiplierfloatMultiplier applied to gain. WARNING: Setting this above 1.0 will can produce unstable noise. Prefer tweaking gain in its [0, 1] range and not using GainMultiplier
Output pins
DataCurvedataThe curve data that can be plugged in the CurveSample or CurveOverTime nodes.
+ all sampler properties

 

 

Was this article helpful to you? Yes No

How can we help?