Input: | Output: |
![]() |
![]() |
This modifier decomposes a particle system into disconnected sets of particles (clusters) based on a distance criterion.
A cluster is defined as a set of connected particles, each of which is within the cutoff distance from one or more other particles from the same cluster. Conversely, two particles will not belong to the same cluster, if there is no continuous path on the neighbor network leading from the first particle to the second.
If a particle has no neighbors at all within the cutoff distance, then it forms a 1-particle cluster.
The modifier writes its results to the Cluster
particle property, which stores the
cluster each particle is assigned to. Cluster IDs range from 1 to N, where N
is the number of clusters found by the modifier.
The distance threshold up to which two particles are considered direct neighbors and assigned to the same cluster.
If this option is active, the clustering algorithm is restricted to selected particles. Unselected particles will be treated as if they do not exist and will be assigned the cluster ID 0.
Enables the sorting of clusters by size (in descending order). Cluster ID 1 will be the largest cluster, cluster ID 2 the second largest, and so on.