FUSION · FULL ARTICLE
pAvoid
A particle modifier that steers particles relative to a Region: positive Strength drives them away, while negative Strength pulls them toward it.
Overview
pAvoid normally sits between pEmitter and pRender. The wire before pRender carries particle data rather than RGBA pixels: pAvoid modifies the motion of existing particles, then sends a particle stream to the next particle tool.
Distance and Strength are the core pair. Distance defines how far from the Region a particle begins trying to change course. Strength defines how strongly it tries to move relative to that Region. Tune Distance first, then Strength, so an abrupt force is not being used to compensate for a late response.
Positive Strength produces avoidance. Negative values are explicitly supported and reverse the behavior, causing particles to move toward the Region. This lets pAvoid act as a simple attraction field without changing the particle-chain topology.
pAvoid creates a desire to steer away rather than a hard physical wall. If incoming particle velocity and momentum overpower the combined Distance and Strength response, particles can cross the Region. When collision must be enforced, compare pBounce or other collision logic instead of simply pushing Strength to extremes.
The Conditions tab decides which particles are eligible; it does not define the Region. Probability is evaluated for each particle on each frame. A value of 0.6 therefore does not permanently select one fixed 60 percent subset for the particle lifetime; the same particle can be affected on one frame and not on the next.
Start/End Age limit the behavior to a normalized portion of particle lifespan. This makes phased behavior possible: particles can fly freely when young, react to pAvoid through the middle of their life, and stop reacting again near death.
Set Mode addresses particle Sets. Ignore Sets disregards the checkboxes, Affect Specified Sets limits the tool to checked Sets, and Ignore Specified Sets excludes the checked Sets. Those Sets must be assigned upstream by particle-creation or set-changing tools; pAvoid's Set checkboxes do not create new particle groups.
Region selects the geometry used by the behavior: All, Bezier, Bitmap, Cube, Line, Mesh, Rectangle or Sphere. This is not a generic image Effect Mask. Line uses two endpoints, Rectangle is a plane with no volumetric Z depth, Sphere and Cube are 3D regions, and Bezier provides a user-shaped contour.
pAvoid does not have a permanent blue Region/Mask socket. By default the node exposes only its orange particle input. Selecting Bitmap creates a dynamic Region input for a 2D image/selectable channel; selecting Mesh creates the dynamic Region input for 3D mesh data. The socket can appear green or magenta depending on which region mode establishes it.
Bitmap and Mesh therefore differ fundamentally from built-in Line, Rectangle or Sphere regions. Built-in geometry is created from pAvoid's own Region controls and needs no extra cable, while Bitmap/Mesh receives Region data from another Flow branch.
Line is especially useful for learning pAvoid. Start and End expose X/Y/Z positions and can be connected to Paths or Trackers when required. It makes the response boundary easy to see conceptually while Distance defines a wider zone in which steering starts.
In production, pAvoid is useful for gently steering particles around graphics or geometry, creating exclusion zones, separating a flow around a boundary, or creating attraction with negative Strength. Always judge the final result in playback because incoming speed, Probability and other particle forces all evolve over time.
When to use it
- Softly steer particles away from a line, plane, sphere or other Region
- Create an exclusion zone that affects trajectories before particles reach it
- Avoid a 2D silhouette through Bitmap Region or a 3D object through Mesh Region
- Create simple attraction with negative Strength
- Enable avoidance only during a selected portion of particle lifespan
- Apply behavior to selected particle Sets
- Combine with directional force and turbulence for controlled motion graphics
Article screenshots
Inputs & outputs
pAvoid receives a particle stream; the Region port exists only for Bitmap/Mesh
pAvoid does not process an RGB frame. By default it has one orange Particles input. Selecting Region = Bitmap or Mesh creates a second dynamic Region input whose data changes between a 2D image/channel and a 3D mesh.
Steers eligible particles relative to the selected Region using Distance, Strength and Conditions while keeping the output as particle data.
Inputs
- Particles
Primary particle stream
Receives: Particle data from pEmitter, pImageEmitter, pMerge or another particle node.
Inside the node: pAvoid does not turn the stream into an image; it calculates new steering behavior for eligible particles.
Typical sources: pEmitter · pImageEmitter · pMerge · pTurbulence · pDirectionalForce
MediaIn and ordinary RGBA images do not connect here. This is the orange particle input.
- Region (Bitmap/Mesh, dynamic)
External Region geometry
Receives: For Bitmap: a 2D image/selectable channel; for Mesh: a 3D mesh.
Inside the node: The socket appears only after Region is set to Bitmap or Mesh and supplies the external shape of the influence Region.
Typical sources: Bitmap image source · Shape3D / Merge3D mesh
This is not a permanent Effect Mask. Line, Rectangle, Sphere, Cube and Bezier do not expose this socket.
Outputs and destination
Particles
The particle stream after pAvoid processing; positive Strength steers away from the Region and negative Strength pulls toward it.
Next step: pRender · pBounce · pTurbulence · pDirectionalForce · another particle node
This is not an RGBA image. The stream must reach pRender to become a rendered image.
- Particles
- The particle stream after pAvoid has recalculated motion. It remains particle data and normally continues to pRender or another particle modifier.
Processing order
- Particles brings an existing particle stream from an emitter or another particle modifier.
- Conditions decides which particles qualify by Probability, Age and Sets.
- Region defines the influence geometry; built-in shapes need no extra cable.
- For Bitmap/Mesh, the dynamic Region input brings external 2D/3D Region geometry.
- Distance controls how early the response starts while Strength controls direction and steering intensity.
- Particles Output sends the modified particle stream onward; only pRender creates an image.
Line Region without an extra port
pEmitter.Particles → pAvoid.Particles → pRender.Particles → MediaOut
Line is generated inside pAvoid, so the dynamic Region input is not required. Tune Distance and Strength first, then Conditions.
Particles remain particles at input and output. The second Region input is dynamic and exists only for Bitmap/Mesh; pAvoid has no ordinary blue Effect Mask.
Parameters
pAvoid · Inspector reference
Separate four layers: pAvoid force, Conditions, Region selection and mode-specific geometry. pAvoid processes a particle stream rather than an image; Bitmap/Mesh additionally create a dynamic Region input.
- Particle flow
- Particles → pAvoid → particles
- Force
- Distance → Strength
- Filter
- Probability → Age → Sets
- Region
- Built-in or Bitmap/Mesh
Controls · Behavior force
Random Seed, Distance and Strength define reproducibility, reaction distance and steering direction/strength.
- Random Seed
Controls > Random SeedSeed used by stochastic decisions in the tool. Keeping the same seed helps keep random behavior reproducible while Distance, Strength and Conditions are being tuned.
Check / distinguish: Do not keep reseeding while diagnosing the main trajectory.
- Reseed
Controls > ReseedChooses a new random-seed result. Use it after the base behavior is working to audition a different stochastic pattern without rebuilding the node.
Check / distinguish: Change only this control from its default state and compare before/after.
- Time Lock
Controls > Time LockLocks time-related randomness where supported by the current build. It is not a replacement for Probability and does not alter Region geometry. Evaluate it with the same timeline range and otherwise unchanged settings.
Check / distinguish: Change only this control from its default state and compare before/after.
- Distance
Controls > DistanceDistance from the Region at which particles begin trying to change course. Larger values make particles react earlier and create a wider steering zone. Small values delay the response until particles are close to the Region, which can allow fast particles to cross it.
Check / distinguish: For a soft detour, increase Distance before simply increasing Strength.
- Strength
Controls > StrengthStrength of the particle's desire relative to the Region. Positive values steer away from the Region. Negative values move particles toward it. Very large magnitudes can produce abrupt trajectory changes.
Check / distinguish: Compare +0.1 and -0.1 at the same Distance to isolate direction.
- Particle modifier, not image effect
Flow > pAvoidpAvoid accepts and outputs particle data. It does not create RGBA and has no required Image input.
Check / distinguish: Trace the Flow to pRender: only pRender should turn the particle stream into an image.
- Distance before Strength
Controls > Distance / StrengthDistance controls how early steering begins; Strength controls how strongly trajectory changes.
Check / distinguish: Change Distance with fixed Strength, then vice versa, and compare the same playback range.
- Negative Strength
Controls > Strength < 0Negative Strength reverses the particle's desire: it moves toward the Region instead of away from it.
Check / distinguish: Compare +0.1 and -0.1 with Region/Distance/Probability unchanged.
- Momentum can win
Playback > Region crossingpAvoid is steering, not a hard collider. High velocity can carry a particle through the Region despite positive Strength.
Check / distinguish: Reduce incoming velocity or increase Distance/Strength gradually; compare pBounce when collision is required.
- pAvoid vs pBounce
Particle behavior > tool choicepAvoid changes desire/trajectory before contact; pBounce is intended for collision and reflection at a Region.
Check / distinguish: If success requires a guaranteed rebound, build a comparison branch with pBounce.
Conditions · Which particles are affected
Probability, Age and Sets filter particles before pAvoid behavior is applied.
- Probability
Conditions > ProbabilityChance that the behavior affects each particle on each frame. 1.0 gives a 100 percent chance. At 0.6, every eligible particle has a 60 percent chance on each frame; it is not a lifetime assignment of a fixed 60 percent subset.
Check / distinguish: Use Probability = 1 while tuning the trajectory, then add stochastic gating.
- Age Start / End
Conditions > Age Start / EndNormalized lifespan range in which pAvoid can affect the particle. Start and End are portions of lifespan from 0 to 1. For example, 0.8–1.0 limits the tool to the last 20 percent of a particle's life.
Check / distinguish: Change only this control from its default state and compare before/after.
- Set Mode
Conditions > Set ModeDefines how pAvoid uses particle Sets. Ignore Sets disregards Set checkboxes; Affect Specified Sets targets checked Sets; Ignore Specified Sets excludes checked Sets.
Check / distinguish: Change only this control from its default state and compare before/after.
- Set 1–32
Conditions > Set 1–32Particle Sets referenced by Set Mode. Sets are assigned upstream by tools such as pEmitter, pImageEmitter, pChangeStyle or pSpawn. These checkboxes do not create Sets by themselves.
Check / distinguish: Change only this control from its default state and compare before/after.
- Probability is per frame
Conditions > ProbabilityProbability is evaluated for each particle on every frame. 0.6 is not a fixed lifetime subset of 60 percent of particles.
Check / distinguish: For diagnosis set Probability=1, then lower it and inspect temporal behavior.
- Age is normalized lifespan
Conditions > Start/End AgeStart/End Age use normalized lifespan from 0–1 rather than absolute timeline frames.
Check / distinguish: Use a particle with a known lifespan and limit the effect to a range such as 0.8–1.0.
- Set Mode does not create Sets
Conditions > Set Mode / Set 1–32pAvoid only filters Sets that were already assigned; the groups are created upstream by particle tools.
Check / distinguish: Assign a Set in pEmitter/pSpawn before enabling Affect Specified Sets.
- Probability before turbulence
Conditions + downstream forcesStochastic Probability and other forces can combine to hide the cause of crossings or jitter.
Check / distinguish: Diagnose pAvoid at Probability=1 with downstream forces temporarily disabled.
Region · Region geometry
Region selects built-in or external geometry. Bitmap/Mesh differ by creating a dynamic data input.
- Region
Region > RegionSelects All, Bezier, Bitmap, Cube, Line, Mesh, Rectangle or Sphere geometry. The manual may describe this common control as the Region/Region Mode menu. Bitmap and Mesh additionally expose the dynamic Region socket; built-in regions do not.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: All
Region > Region: AllUses the common built-in All Region rather than an imported Bitmap/Mesh source. It does not create an additional image input. For a visibly bounded exclusion zone, Line, Rectangle, Sphere or a custom Bitmap/Mesh is usually easier to diagnose.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: Bezier
Region > Region: BezierUses a user-shaped Bezier/polyline Region. Useful for irregular 2D boundaries. The polyline can be animated or linked to another polyline without requiring a Bitmap input.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: Bitmap
Region > Region: BitmapUses a 2D image/selectable channel as Region data. Choosing Bitmap makes the dynamic Region socket appear. The connected image/channel defines the Region; this is not a normal blue Effect Mask.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: Cube
Region > Region: CubeUses a volumetric cube Region in 3D space. Cube provides dimensions and XYZ placement for a built-in volumetric zone without an external mesh.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: Line
Region > Region: LineUses a line between Start and End XYZ positions. The endpoints can form a simple invisible boundary and can be linked to Paths or Trackers when necessary.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: Mesh
Region > Region: MeshUses external 3D mesh data as the Region. Choosing Mesh creates the dynamic Region socket for a 3D mesh. Common Mesh Region controls can additionally handle surface/volume interpretation, winding behavior and Object ID restrictions.
Check / distinguish: Change only this control from its default state and compare before/after.
- Region: Rectangle
Region > Region: RectangleUses a rectangular planar Region that can be positioned and rotated in space. Rectangle has no volumetric Z depth like Cube, but it can be placed and oriented in Z.
Check / distinguish: Change only this geometry control and compare position, scale and result bounds.
- Region: Sphere
Region > Region: SphereUses a spherical 3D Region. A clear choice for radial avoidance or attraction: positive Strength steers away and negative Strength pulls toward it.
Check / distinguish: Change only this control from its default state and compare before/after.
- No permanent Region socket
Flow > dynamic Region inputpAvoid has one orange input by default. The second Region socket appears only after selecting Bitmap or Mesh.
Check / distinguish: Switch Line → Bitmap → Mesh and observe the extra socket appearing/changing in the Flow.
- Bitmap is 2D Region data
Region > BitmapBitmap uses a 2D image/selectable channel through the dynamic input; it is not a blue Effect Mask.
Check / distinguish: Connect a high-contrast 2D map only after choosing Bitmap and verify the selected channel.
- Mesh is 3D Region data
Region > MeshMesh uses 3D mesh data through the dynamic Region connector and may require common Mesh Region controls.
Check / distinguish: Feed a simple Shape3D/Merge3D mesh and verify scale/position before tuning Strength.
- Bitmap vs Mesh data type
Region > Bitmap / MeshOne logical Region input changes expected data type: 2D image/channel for Bitmap and 3D mesh for Mesh.
Check / distinguish: Do not reuse the same source for both modes unless its data type explicitly matches.
- Rectangle is planar
Region > RectangleRectangle has no volumetric Z depth like Cube, but it can be positioned and rotated in Z space.
Check / distinguish: Compare Rectangle and Cube in a 3D particle setup at the same center.
- Sphere is volumetric
Region > SphereSphere provides a volumetric radial region and makes Strength sign easy to read.
Check / distinguish: Compare positive/negative Strength on one Sphere without changing Distance.
- Built-in regions need no data cable
Region > Line/Rectangle/SphereLine, Rectangle, Sphere, Cube and Bezier are built inside pAvoid; they need no additional Region input.
Check / distinguish: Remove the external Region branch, select Line and verify the node remains functional.
Region · Line · Line Region endpoints
Start/End define the line in XYZ and provide a clear Distance/Strength test without an external Region source.
- Start Pick
Region · Line > Start PickInteractively selects the starting point of a Line Region in the Viewer. Use it to place Start visually instead of typing coordinates first.
Check / distinguish: Change only this control from its default state and compare before/after.
- Start X / Y / Z Offset
Region · Line > Start X / Y / Z OffsetPositions the start endpoint of a Line Region. Together with End it defines line orientation in space; Z matters when the particle system is not confined to one 2D plane.
Check / distinguish: Change only this control from its default state and compare before/after.
- End Pick
Region · Line > End PickInteractively selects the ending point of a Line Region. Place the second endpoint visually, then refine it numerically or through modifiers if needed.
Check / distinguish: Change only this control from its default state and compare before/after.
- End X / Y / Z Offset
Region · Line > End X / Y / Z OffsetPositions the end endpoint of a Line Region. Changing Start and End can reorient or animate the boundary without rebuilding the particle chain.
Check / distinguish: Change only this control from its default state and compare before/after.
- Line endpoints are linkable
Region > Line > Start / EndStart/End are full XYZ endpoints and can be linked to Paths or Trackers for a moving boundary.
Check / distinguish: Verify a static Line first, then link one endpoint and confirm the motion stays predictable.
- Z matters
Region > Line > Z OffsetIn a 3D particle setup identical X/Y does not guarantee proximity to the Line when Z differs.
Check / distinguish: Inspect from a side 3D view or temporarily align Z for diagnosis.
Before adjusting the node
- pAvoid's primary input is an orange particle stream; it is not MediaIn or an RGB image.
- There is no second Region port by default; it appears dynamically only for Bitmap or Mesh.
- Tune Distance before Strength: the first controls when reaction begins, the second controls its intensity.
- Negative Strength pulls particles toward the Region; this is documented behavior, not an invalid range.
- Probability is evaluated for each particle on every frame rather than selecting one permanent lifetime subset.
- pAvoid does not guarantee collision: fast particles can cross the Region if momentum overpowers steering.
- An image appears only after pRender; pAvoid Output remains particle data.
Reference documentation
- Blackmagic Design · Fusion Visual Effects
Official Blackmagic learning material for Fusion logic, masks, compositing and core tools.
- Blackmagic Design · DaVinci Resolve support
Current Resolve/Fusion manuals and support material. Exact control names and placement can vary by version.
Examples
Steer a particle stream away from a Line Region
Understand the basic pEmitter → pAvoid → pRender chain and separate Distance from Strength without a bitmap/mesh input.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; pAvoid topology and behavior cross-checked against the Resolve 21 Particle Nodes reference · Free / Studio; exercises use the native particle toolset · Windows target; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 120 frames · Fusion particle simulation rendered through pRender in 2D for the exercise output
- DaVinci Resolve 21+
- Native pEmitter, pAvoid and pRender particle nodes
Nodes and connections
EMIT— pEmitter · pEmitterAVOID— pAvoid · pAvoidRENDER— pRender · pRenderOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
pEmitter (EMIT)Particles | pAvoid (AVOID)Particles | particles |
pAvoid (AVOID)Particles | pRender (RENDER)Particles | particles |
pRender (RENDER)Image | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- pAvoid (AVOID) / Region / Region
"Line"Use a built-in geometric region so no dynamic Region socket is needed.
- pAvoid (AVOID) / Controls / Distance
0.15Give particles enough warning distance before reaching the line.
- pAvoid (AVOID) / Controls / Strength
0.18Start with a moderate positive avoidance force before increasing it.
- pAvoid (AVOID) / Conditions / Probability
1Apply the exercise to every eligible particle so the behavior is easy to judge.
- pRender (RENDER) / Controls / Output Mode
"2D"Explicitly produce an image for MediaOut; pRender initially defaults to 3D.
- pRender (RENDER) / Controls / View [2D]
"Front"The front view shows X/Y motion without perspective distortion.
- pRender (RENDER) / Controls / Kill Particles That Leave the View
falseLeaving the view must not kill particles and change the force comparison.
- pEmitter (EMIT) / Controls / Random Seed
17A fixed seed preserves the same initial simulation for A/B comparisons.
- pEmitter (EMIT) / Controls / Number
2A small stream keeps individual trajectories readable.
- pEmitter (EMIT) / Controls / Lifespan
120A known lifespan relates normalized Age to measurable frames.
- pEmitter (EMIT) / Controls / Lifespan Variance
0Remove death-time variation for the Age comparison.
- pEmitter (EMIT) / Controls > Velocity / Velocity
0.006Nonzero speed keeps a baseline particle in view into late Age: x=−0.35+0.006×114≈0.334 without forces.
- pEmitter (EMIT) / Controls > Velocity / Velocity Variance
0Exclude random variation in initial speed.
- pEmitter (EMIT) / Controls > Velocity / Angle
0Angle=0 defines the initial direction along X.
- pEmitter (EMIT) / Controls > Velocity / Angle Variance
0All particles start in the same direction.
- pEmitter (EMIT) / Region / Region
"Line"A narrow vertical line creates distinguishable parallel trajectories.
- pEmitter (EMIT) / Region > Line / Start X / Y / Z
[-0.35,-0.1,0]Fix the lower birth-region endpoint in particle coordinates.
- pEmitter (EMIT) / Region > Line / End X / Y / Z
[-0.35,0.1,0]Fix the upper line endpoint and keep depth Z at zero.
- pEmitter (EMIT) / Style / Style
"Blob"A small Blob is visible in 2D and requires no external image.
- pEmitter (EMIT) / Style / Size
0.008The size separates neighboring particles at the working resolution.
- pEmitter (EMIT) / Style > Color / Red / Green / Blue / Alpha
[1,0.35,0.05,1]An opaque warm color establishes the visible source stream.
- pAvoid (AVOID) / Region > Line / Start X / Y / Z
[0,-0.18,0]The vertical barrier intersects the horizontal stream.
- pAvoid (AVOID) / Region > Line / End X / Y / Z
[0,0.18,0]A finite length allows particles to steer around a line endpoint.
Reproduce the example
- Before tuning the effect, enter this step's EMIT and pRender settings. View the initial EMIT through pRender, then restore the modifier. After each change press pRender Restart and play from frame 0.
Speed, birth region, style, seed and output mode are explicit, so settings inherited from another composition do not affect the test.
Check: With the modifier bypassed, particles travel right from x=−0.35 and MediaOut receives RGBA. Compare frames 12, 24 and 48; for Age also inspect 78, 96 and 114.
- Build the particle chain pEmitter → pAvoid → pRender → MediaOut.
pAvoid modifies a particle stream and does not create an image; the image appears only after pRender.
Check: Wires carry particles until pRender; the pRender output is an image.
- Set Region=Line, Start=(0,−0.18,0), End=(0,0.18,0). First inspect trajectories crossing the line at Strength=0, then restore 0.18.
Zero force demonstrates that particles actually encounter the defined region.
Check: With positive force, trajectories start turning before x=0; compare the same frames after Restart.
- Tune Distance first, then Strength; judge the motion in playback rather than on one frame.
Distance controls how early the reaction begins; Strength controls how strongly motion changes.
Check: Particles begin steering before the line and curve around it without an abrupt kick.
Expected result
- MediaOut (OUT) · frame 72
In the 2D render the stream visibly changes trajectory near the Line Region, and Distance versus Strength produce clearly different results.
Alpha: Alpha is generated by pRender from rendered particles; pAvoid does not create a separate alpha/image output.
When the result differs
- Particles still cross the line.
Cause: Particle momentum can exceed the combined avoidance effect of Distance and Strength.
Correction: Increase Distance/Strength gradually or reduce incoming velocity; do not treat pAvoid as a physical collider.
- The stream kicks outward abruptly.
Cause: Strength is too high relative to Distance and particle speed.
Correction: Lower Strength and give particles more Distance for a smoother correction.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion Flow and MediaOut fundamentals used only for the terminal image connection in these exercises.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Particle Nodes
Particle Nodes > pAvoid and Common Controls: default particle input, dynamic Bitmap/Mesh Region input, Distance, Strength, Conditions and Region behavior.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual
3D Nodes, 3D Light Nodes, Particle Nodes and USD Nodes. The October 21 revision adds explicit initial conditions; native execution remains pending.
Turn pAvoid into attraction with negative Strength
Verify the documented negative-Strength behavior and avoid confusing force direction with Probability or Region selection.
Starting conditions
DaVinci Resolve / Fusion Target: Resolve 21/21.1; pAvoid topology and behavior cross-checked against the Resolve 21 Particle Nodes reference · Free / Studio; exercises use the native particle toolset · Windows target; live Resolve execution not run in this package
1920 × 1080 · 24 fps · 120 frames · Fusion particle simulation rendered through pRender in 2D for the exercise output
- DaVinci Resolve 21+
- Native pEmitter, pAvoid and pRender particle nodes
Nodes and connections
EMIT— pEmitter · pEmitterAVOID— pAvoid · pAvoidRENDER— pRender · pRenderOUT— MediaOut · MediaOut
| Source | Destination | Data |
|---|---|---|
pEmitter (EMIT)Particles | pAvoid (AVOID)Particles | particles |
pAvoid (AVOID)Particles | pRender (RENDER)Particles | particles |
pRender (RENDER)Image | MediaOut (OUT)Input | image |
Graph output: MediaOut (OUT)
Parameter values
- pAvoid (AVOID) / Region / Region
"Sphere"Use a volumetric built-in region as an obvious attraction target.
- pAvoid (AVOID) / Controls / Distance
0.22Give the attraction field a visible response distance.
- pAvoid (AVOID) / Controls / Strength
-0.12A negative value reverses avoidance and draws particles toward the region.
- pAvoid (AVOID) / Conditions / Probability
1Keep stochastic gating out of this sign test.
- pRender (RENDER) / Controls / Output Mode
"2D"Explicitly produce an image for MediaOut; pRender initially defaults to 3D.
- pRender (RENDER) / Controls / View [2D]
"Front"The front view shows X/Y motion without perspective distortion.
- pRender (RENDER) / Controls / Kill Particles That Leave the View
falseLeaving the view must not kill particles and change the force comparison.
- pEmitter (EMIT) / Controls / Random Seed
17A fixed seed preserves the same initial simulation for A/B comparisons.
- pEmitter (EMIT) / Controls / Number
2A small stream keeps individual trajectories readable.
- pEmitter (EMIT) / Controls / Lifespan
120A known lifespan relates normalized Age to measurable frames.
- pEmitter (EMIT) / Controls / Lifespan Variance
0Remove death-time variation for the Age comparison.
- pEmitter (EMIT) / Controls > Velocity / Velocity
0.006Nonzero speed keeps a baseline particle in view into late Age: x=−0.35+0.006×114≈0.334 without forces.
- pEmitter (EMIT) / Controls > Velocity / Velocity Variance
0Exclude random variation in initial speed.
- pEmitter (EMIT) / Controls > Velocity / Angle
0Angle=0 defines the initial direction along X.
- pEmitter (EMIT) / Controls > Velocity / Angle Variance
0All particles start in the same direction.
- pEmitter (EMIT) / Region / Region
"Line"A narrow vertical line creates distinguishable parallel trajectories.
- pEmitter (EMIT) / Region > Line / Start X / Y / Z
[-0.35,-0.1,0]Fix the lower birth-region endpoint in particle coordinates.
- pEmitter (EMIT) / Region > Line / End X / Y / Z
[-0.35,0.1,0]Fix the upper line endpoint and keep depth Z at zero.
- pEmitter (EMIT) / Style / Style
"Blob"A small Blob is visible in 2D and requires no external image.
- pEmitter (EMIT) / Style / Size
0.008The size separates neighboring particles at the working resolution.
- pEmitter (EMIT) / Style > Color / Red / Green / Blue / Alpha
[1,0.35,0.05,1]An opaque warm color establishes the visible source stream.
- pAvoid (AVOID) / Region > Sphere / Center X / Y / Z
[0,0,0]The region center lies on the baseline trajectory; it is not the force-center position.
- pAvoid (AVOID) / Region > Sphere / Size
0.2A compact sphere lies ahead of the initial stream instead of enclosing the birth region.
Reproduce the example
- Before tuning the effect, enter this step's EMIT and pRender settings. View the initial EMIT through pRender, then restore the modifier. After each change press pRender Restart and play from frame 0.
Speed, birth region, style, seed and output mode are explicit, so settings inherited from another composition do not affect the test.
Check: With the modifier bypassed, particles travel right from x=−0.35 and MediaOut receives RGBA. Compare frames 12, 24 and 48; for Age also inspect 78, 96 and 114.
- Use the same valid pEmitter → pAvoid → pRender → MediaOut chain.
This changes only pAvoid behavior while particle-stream topology stays constant.
Check: There is no image wire before pRender and no fabricated Effect Mask input on pAvoid.
- Choose Sphere, keep Probability = 1 and enter a negative Strength.
Negative Strength is documented to reverse the particle's desire: it moves toward the Region instead of away from it.
Check: Trajectories curve toward the sphere; returning Strength to a positive value reverses the behavior back to avoidance.
- Compare equal-magnitude positive and negative Strength while keeping Distance unchanged.
This separates force direction from response distance.
Check: Distance stays the same while the direction of the trajectory change reverses.
Expected result
- MediaOut (OUT) · frame 72
With negative Strength particles are drawn toward the Sphere Region; with positive Strength they steer away from it.
Alpha: As in the first exercise, image and alpha appear only at pRender; pAvoid remains a particle modifier.
When the result differs
- Negative Strength barely changes the motion.
Cause: Distance/Strength magnitude is too small or particles are moving too fast.
Correction: Increase Distance and Strength magnitude one at a time while comparing the same timeline range.
- Behavior looks stochastic from frame to frame.
Cause: Probability below 1.0 is evaluated for each particle on every frame.
Correction: For diagnosis restore Probability = 1, then add stochastic gating after the main force is tuned.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Fusion Flow and MediaOut fundamentals used only for the terminal image connection in these exercises.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: Particle Nodes
Particle Nodes > pAvoid and Common Controls: default particle input, dynamic Bitmap/Mesh Region input, Distance, Strength, Conditions and Region behavior.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual
3D Nodes, 3D Light Nodes, Particle Nodes and USD Nodes. The October 21 revision adds explicit initial conditions; native execution remains pending.
Other outlines from the article
Soft invisible wall
A Line Region crosses the original stream. Moderate Distance begins steering early and a small positive Strength bends the flow without a hard bounce.
- pEmitter
- pAvoid (Line)
- pRender
- MediaOut
Avoid a 3D object through Mesh
Region is switched to Mesh, then external 3D geometry is connected to the dynamic Region input while the particle stream remains on the orange primary input.
- pEmitter
- pAvoid (Mesh + dynamic Region)
- pRender
- MediaOut
Attraction instead of avoidance
Sphere stays as the Region but Strength is negative, so particles try to move toward it instead of away.
- pEmitter
- pAvoid (Sphere, Strength < 0)
- pRender
- MediaOut
Different behavior by Sets
Upstream tools assign Sets, and pAvoid Set Mode targets only selected groups so one system can contain particles with different reactions to the same Region.
- pEmitter / pSpawn
- pAvoid (Conditions + Sets)
- pRender
- MediaOut
Mistakes
- Drawing a permanent blue Region/Mask input on pAvoid. By default only the orange particle input exists; the Region socket appears dynamically for Bitmap/Mesh.
- Feeding MediaIn to the primary pAvoid input even though it expects particles rather than RGB/image data.
- Expecting pAvoid itself to render an image; RGBA is produced downstream by pRender.
- Treating Region as a physically impenetrable wall even though sufficient particle momentum can cross it.
- Compensating for too-small Distance with extreme Strength and creating an abrupt trajectory kick.
- Clamping negative Strength to zero or treating it as invalid even though negative values intentionally pull particles toward the Region.
- Treating Probability as a one-time lifetime selection of a fixed percentage rather than a per-particle, per-frame chance.
- Using Set 1–32 without assigning particle Sets upstream and expecting the checkboxes to create new groups.
- Confusing Bitmap Region with an Effect Mask; Bitmap is Region data supplied through the dynamic input.
- Trying to wire Bitmap/Mesh before selecting the matching Region and expecting one permanent universal data socket.
- Confusing pAvoid with pBounce: pAvoid steers/desires while pBounce handles collision and rebound behavior.
- Judging a still frame and ignoring particle speed, other forces and the time-varying nature of the simulation.
Tips
- For diagnosis, keep Probability = 1, Sets unrestricted and Age at full lifespan; add conditions one at a time.
- Tune Distance before Strength; an earlier gentle response is usually smoother than a late violent force.
- Compare equal-magnitude positive and negative Strength to verify the direction of behavior quickly.
- Line is the clearest learning Region because Start/End are explicit and no dynamic Region input is required.
- If particles cross the Region, inspect speed and Distance first; pAvoid is not a collider.
- When collision/rebound must be enforced, compare pBounce and reserve pAvoid for steering behavior.
- Use Bitmap for 2D silhouettes and Mesh for real 3D geometry; they are different data types delivered through the dynamic Region port.
- Select Bitmap/Mesh before wiring it and verify the Region socket actually appears in the current Flow.
- Sets can create multiple reactions inside one particle system without duplicating the whole graph.
- If pTurbulence follows pAvoid, verify that turbulence does not push particles back through the Region.
- Do final QA through pRender during playback; motion reveals avoidance quality better than a single still frame.
Workflow order
- Build a valid particle chain: pEmitter or another particle tool → pAvoid → pRender.
- Do not feed MediaIn into pAvoid's primary socket; it expects particles, not an image.
- Start with a built-in Region such as Line or Sphere so no dynamic Region socket is required.
- Set Probability to 1 and leave Sets/Age unrestricted while tuning the base mechanics.
- Position the Region so the original particle path actually approaches or crosses it.
- Tune Distance until particles begin reacting early enough.
- Then raise positive Strength gradually until the avoidance is readable but smooth.
- Test high incoming velocity: pAvoid is not an impenetrable wall when momentum is too strong.
- For attraction, enter a small negative Strength and compare it with an equal positive value.
- Add Probability, Age and Sets only after the core trajectory is stable.
- For Bitmap or Mesh, select that Region first, then connect the dynamic Region socket with the matching data type.
- Judge the final behavior through pRender in playback and check whether other forces or turbulence push particles back through the Region.
