←ALL OPERATORS
> fields

Field Scatter

fields/field-scatter·v1.5.1
IN:1  OUT:1

Field Scatter places random points in a POPX field's box and keeps each one with a chance equal to the field's Weight there, so dense regions get more points and empty regions none. Each output point primitive carries the field's Color and Weight at its position.

Number of Points sets the most points that come out and Attempts per Point how many positions each candidate tries, which matters in fields that fill little of their box; Seed changes the pattern. It works on any field, from Field, Voxelize, Combine Field, Field Measure or Flow's Output Field, and without a Weight Attribute the color's RGB average is the chance.

PAGEField Scatter
Number of PointsNumpointsSets the number of candidate points, the most points that come out. A candidate that fails every attempt is dropped.
Attempts per PointAttemptsperpointHow many random positions each candidate tries before it is dropped. More attempts find more points in a field that fills little of its box or has a low Weight.
SeedSeedNumerical value that initializes the randomization.
Weight AttributeWeightattrSelects the field attribute used as the chance to keep a point. Without it, the average of the Color Attribute's RGB is used.
Color AttributeColorattrSelects the field attribute sampled onto the points as Color. Without it the points are white.
Display BoundsDisplayboundsDisplay the field box.
PAGECommon
BypassBypassPass through the first input to the output unchanged.
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Input 0 POP - Field
Output 0 POP - Points