# Sprinkle SOP

## Summary

The Sprinkle SOP is used to add points to either the surface or the volume of a SOP. You can create points on a surface, or within a closed volume based on the Method menu. The Surface method keeps the distribution of points constant per unit area of surface, whereas Per-Primitive gives each primitive, usually triangles, a constant number per primitive no matter their size.

The second input is used when you are scattering on a deforming surface. You generally don't want the distribution of points to jump while deforming, so you give the deformed surface as second input and the un-deformed surface as the first input. The Sprinkle SOP will then distribute points on the un-deformed surface, and then put them on their equivalent place on the deformed surface.

## Parameters - Sprinkle Page

Seed `seed` - Any number, integer or non-integer, which starts the random number generator. Each number gives completely different point positions.

Method `method` - - Describes where points are located.

• Surface `surface` - Points are evenly distributed along the entire surface of the geometry. That is, smaller polygons receives fewer points on average than larger polygons, etc.
• Per Primitive `perprim` - Points are distributed equally amongst each primitive. That is, each polygon receives the same number of points.
• Bounding Box `boundingbox` - Points are distributed within the bounding box volume of the geometry. This can be faster, though less accurate than the volume method.
• Approximate Volume `approxvol` - Points are evenly distributed within an approximation of the volume. Areas close to the surface may receive fewer points.
• Volume `volume` - Points are evenly distributed within the entire volume of the geometry.

Number of Points `numpoints` - The total number of points created.

Consolidate `consolidate` - Remove points until remaining are a minimum distance apart.

Distance to Nearest Point `neardist` - Minimum distance when using Consolidate option.

## Operator Inputs

• Input 0 -
• Input 1 -

TouchDesigner Build:

Add • Alembic • Align • Arm • Attribute Create • Attribute • Basis • Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • CPlusPlus • Creep • Curveclay • Curvesect • DAT to • Deform • Delete • Divide • Extrude • Face Track • Facet • File In • Fillet • Fit • Font • Force • Fractal • Grid • Group • Hole • Import Select • In • Introduction To s Vid • Inverse Curve • Iso Surface • Join • Joint • Kinect • Lattice • Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Profile • Project • Rails • Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprinkle • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Wireframe • ZED