Surface Force operator

The Surface Force operator allows you to add forces to particles using the surface properties of scene geometry.


Surface Force Rollout

  • Object list: the list of geometry input objects.

  • Sample type: controls which sampler will be used to determine closest-object proximities for particles.

  • Mesh selection: controls which meshes that forces will be derived from.

All: the closest mesh from the list will be used. Random: a random mesh from the list will be used. Custom Float as Index: a custom channel value will be used as a list index to determine which object’s mesh to use.

  • Channel: the custom float data channel to use.

  • Relative to mass: the amount of force applied will be relative to a particle’s mass.

  • Simulate substeps: forces will be interpolated in a way that simulates the addition of forces at smaller simulation substeps.

Uniqueness

  • Seed: the seed value for all varied parameters.

Attraction Rollout

Attraction forces are forces which are directed from the particle location to the closest point on the target surface.

  • Force:: the amount of attraction force.

  • Variation %: the per-particle percentage of variation to apply.
  • Accel %: controls how quickly particle forces will accelerate from their old values to the newly applied values.
  • Above/Below: controls whether forces will be applied above/below surface normals.

  • Clamp to Distance: if the distance between a particle and the surface is less than the magnitude of the attraction force, the attraction force magnitude will be clamped to that distance.

Distance affect

The distance affect extends outwards from the affecting surface.

  • Distance: particles within this distance will be fully affected.

  • Falloff: the effect on particles beyond the base distance, but within this falloff distance, will diminish according to the inverse-square law.


Follow Rollout

Follow forces are forces which are parallel to the target surface.

  • Force:: the amount of follow force.

  • Variation %: the per-particle percentage of variation to apply.
  • Accel %: controls how quickly particle forces will accelerate from their old values to the newly applied values.
Distance affect

The distance affect extends outwards from the affecting surface.

  • Distance: particles within this distance will be fully affected.

  • Falloff: the effect on particles beyond the base distance, but within this falloff distance, will diminish according to the inverse-square law.


Normals Rollout

Normal forces are forces which extend along the normal of the closest point on the target surface.

  • Force: the amount of normal force.

  • Variation %: the per-particle percentage of variation to apply.
  • Accel %: controls how quickly particle forces will accelerate from their old values to the newly applied values.
Distance affect

The distance affect extends outwards from the affecting surface.

  • Distance: particles within this distance will be fully affected.

  • Falloff: the effect on particles beyond the base distance, but within this falloff distance, will diminish according to the inverse-square law.


Motion Rollout

Motion forces are forces which are derived from the nearest surface velocity of the target surface.

  • Force: the amount of motion force.

  • Variation %: the per-particle percentage of variation to apply.
  • Accel %: controls how quickly particle forces will accelerate from their old values to the newly applied values.
Distance affect

The distance affect extends outwards from the affecting surface.

  • Distance: particles within this distance will be fully affected.

  • Falloff: the effect on particles beyond the base distance, but within this falloff distance, will diminish according to the inverse-square law.


Texture Rollout

Texture forces are forces which are derived from texture map values sampled from the closest point on the target surface.

  • Texmap: the texmap to sample colors from.

  • Surface offset as W: the distance from the particle to the closest surface will be used as the W coordinate in the UVW value which is used to sample the texture.

  • UVW Radius: the samples radius (in UVW coordinates) to derive the gradient from.

  • Accuracy: the number of points to sampled in order to derive the gradient.

RGB to Vector

RGB values sampled at the closest point on the surface to the particle will be used a world-space force vector.

  • Force: the amount of RGB force.

Gradient ascent

Monochrome intensity values sampled around the closest point on the surface to the particle will be used to derive a directional gradient, transformed from UVW-space into world-space as a force vector.

The direction of a gradient ascent force is from darker parts of a texture map to lighter parts of a texture map. If the monochrome intensity values in a particular area of the texture map are perfectly uniform, no force will be derived from that area.

  • Force: the amount of ascent force.

Gradient trace

Monochrome intensity values sampled around the closest point on the surface to the particle will be used to derive a directional gradient. A perpendicular vector to that gradient will then be transformed from UVW-space into world-space as a force vector.

The direction of a gradient trace force is around the borders of light/dark features of a texture map. If the monochrome intensity values in a particular area of the texture map are perfectly uniform, no force will be derived from that area.

  • Force: the amount of trace force.

  • Variation %: the per-particle percentage of variation to apply.
  • Accel %: controls how quickly particle forces will accelerate from their old values to the newly applied values.
Distance affect

The distance affect extends outwards from the affecting surface.

  • Distance: particles within this distance will be fully affected.

  • Falloff: the effect on particles beyond the base distance, but within this falloff distance, will diminish according to the inverse-square law.


Diverge Rollout

Diverge forces are forces which diverge particle trajectories near the target surface.

  • Angle: the angle of divergence.

  • Variation %: the per-particle percentage of variation to apply.
  • Randomize direction: randomizes the direction of the divergence angle.

  • Seed by time: ensures random probabilities evolve with each time step.

Distance affect

The distance affect extends outwards from the affecting surface.

  • Distance: particles within this distance will be fully affected.

  • Falloff: the effect on particles beyond the base distance, but within this falloff distance, will diminish according to the inverse-square law.