ITUR

Surface Field

The particles follow the surface of an object: drawn into a layer around it, held there, crawling, sliding or wrapping over it.

What it is for

Energy auras, dust or light streaming down a statue, a skin of particles that hugs a silhouette. Reach for it when the particles must stay on or around an object instead of bouncing off it.

How it works

The shape of the object is computed once, in the background, as a distance field (the same computation as Collide Object); until it is ready the node does nothing. Moving, rotating or scaling the object is followed live. For each particle the node knows the distance to the nearest surface and its direction. It defines a layer at Distance from the surface, Thickness wide. A particle within Reach of the layer is pulled into it (Strength). Close to the layer, three motions along the surface are added: Crawl (swirls), Slide (towards a direction) and Wrap (around an axis). Finally Hug edits the sum of all the forces of the system: it removes the part that would take the particle off the layer, so the other forces move it along the surface.

Connections

Pick the object (or a collection) on the node and connect Flow to the Flows input of a Particle System. The Distance output gives each particle's distance to the surface (negative inside the object): link it to the system's Attribute input to colour by closeness.

Settings

SettingWhat it doesDefault
StrengthHow fast the particles are pulled into the layer: the pull grows with the gap to the layer, up to 2 x Strength. Low = they settle slowly; high = they snap onto the surface.3
DistanceHow far from the surface the layer sits, in units. 0 = on the skin of the object; more = an aura that follows its silhouette. Negative values count as 0.0.03
ThicknessWidth of the layer, in units. Inside it the particles are not pulled: thin = a crisp shell, thick = a fuzzy coat.0.04
ReachHow far from the layer the particles are captured. Beyond it the node leaves them alone. Hug, Crawl, Slide and Wrap fade out over half this distance past the layer.1
Hug0 to 1. How firmly the particles are kept in the layer against the other forces (Turbulence, Wind, Gravity...): the part of those forces that points away from or into the surface is removed, so they slide the particles along it. 0 = the other forces can tear them off; 1 = fully held.0.8
CrawlSpeed of the swirls that make the particles wander over the surface. These swirls stay on the surface and are built so the particles do not bunch up. Their pattern changes slowly on its own.0.4
Crawl SizeSize of the swirls of Crawl, in units. Small = fine, busy motion; large = broad currents over the object.0.6
SlideSpeed at which the particles run along the surface towards Slide Direction. Where the surface faces that direction they slow down, where it runs along it they are fastest. Negative = the opposite way.0
Slide DirectionDirection of the Slide, in the system's space. Down (0, 0, -1) by default: the particles stream down the folds. Its length multiplies the Slide speed.0, 0, -1
WrapSpeed at which the particles circle the object around Wrap Axis, staying on the surface. Negative = the other way round.0
Wrap AxisAxis the Wrap turns around, in the system's space. Z by default. Its length does not matter.0, 0, 1
SourceObject: follow the surface of one object. Collection: follow the nearest surface among the objects of a collection (up to 8, the biggest first).
  • Object - Follow the surface of one object
  • Collection - Follow the nearest surface among the meshes of a collection (up to 8, the biggest first)
PrecisionResolution of the computed shape, 8 to 128. Higher = finer details are followed, slower to compute. The same object at the same Precision as a Collide Object is computed only once.
Fill Hollow ShapesOn: closed hollow objects count as solid, so the layer follows the outer surface only. Off: the inner walls of a hollow object attract particles too.
ObjectThe object to follow (mesh, curve, surface, text or metaball). Shown when Source is Object.
CollectionThe collection to follow. Shown when Source is Collection.

Outputs

Flow, Distance

Tips

See also

Collide ObjectEmit MeshScene DepthTurbulence