Particle System (Built-in Patch) in Renderer, Render

This patch renders a 3D particle system.

Each particle is created at position specified by the X/Y/Z position inputs, with a color specified by the “Color” input and a lifetime defined by the “Lifetime” input. The initial velocity of the particle is randomly chosen in the range specified by the X/Y/Z Min/Max velocity inputs. Its initial size is randomly chosen in the range specified by the Min/Max size inputs.

The particle movement is then affected by gravity and by the attraction relative to its initial position, its size is reduced by “Size Delta” per second and its colors are also reduced according to the value their “Delta” inputs. More control over size and color can be achieved when “Interpolate” is enabled in Settings. When the particle reaches its lifetime, it is regenerated.

The particles can display an image specified by the “Image” input but it will be the same for all particles, independently of their individual states.

Note that this particle system will not be deterministic unless all its input parameters are constants.

Input Attributes
  • Enable - Controls execution of the patch.
  • Particle Count - The number of particles in the system.
  • X Position - The initial position of the particles on the X-axis.
  • Y Position - The initial position of the particles on the Y-axis.
  • Z Position - The initial position of the particles on the Z-axis.
  • Color - The initial color of the particles.
  • X Min Velocity - The minimum initial velocity of the particles on the X-axis.
  • X Max Velocity - The maximum initial velocity of the particles on the X-axis.
  • Y Min Velocity - The minimum initial velocity of the particles on the Y-axis.
  • Y Max Velocity - The maximum initial velocity of the particles on the Y-axis.
  • Z Min Velocity - The minimum initial velocity of the particles on the Z-axis.
  • Z Max Velocity - The maximum initial velocity of the particles on the Z-axis.
  • Min Size - The minimum initial size of the particles.
  • Max Size - The maximum initial size of the particles.
  • Lifetime - The lifetime of the particles.
  • Attraction - The amount of attraction influencing the particle movement.
  • Gravity - The world gravity.
  • Image - The image on the particles.
  • Blending - Blending control.
  • inputSizeDelta
  • inputRedDelta
  • inputGreenDelta
  • inputBlueDelta
  • inputOpacityDelta
Output Attributes
None
0 videos
0 comments
Bf9a01b6ccc05dea53134f59ff712fee