Particle

From TouchDesigner Documentation
Jump to: navigation, search

A particle system is a type of Primitive of a SOP that consists of a group of discrete particles which change over time. Each particle has its own attributes controlling size, position, velocity, etc. Particles can generate new attributes depending on their age, or they may die. Assigning values discretely to each particle enables realistic modeling of systems involving turbulence such as: smoke, wind, fire, dust, and hair.

Particles on the CPU[edit]

Any point or set of points can be used as the basis for the particles in a particle system. Grid SOPs or Sphere SOPs are often employed for this purpose. A particle system can be created in SOPs by using a Particle SOP, particles will be emitted from the points of the geometry connected to the Particle SOP's first input.

Any point or set of points can also be converted into particles using a Convert SOP.

Particles on the GPU[edit]

Particles can be simulated on the GPU by treating each pixel in a TOP as a particle, and instancing them through the Instancing pages of a Geometry COMP. TOPs that facilitate this include the Point File In TOP, Math TOP, Limit TOP, Slope TOP, [Feedback TOP]], Reorder TOP. In the Palette are several examples under Point Clouds and particlesGPU.

See also Point Sprite MAT.

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.

The Graphics Processing Unit. This is the high-speed, many-core processor of the graphics card/chip that takes geometry, images and data from the CPU and creates images and processed data.

An Operator Family that creates, composites and modifies images, and reads/writes images and movies to/from files and the network. TOPs run on the graphics card's GPU.

A built-in panel in TouchDesigner that contains a library of components and media that can be dragged-dropped into a TouchDesigner network.

Each SOP has a list of Points. Each point has an XYZ 3D position value plus other optional attributes. Each polygon Primitive is defined by a vertex list, which is list of point numbers.