# Voronoi Attributes

(→cluster) |
(→Radial bias) |
||

Line 62: | Line 62: | ||

The radial option creates a radial distribution of voronoi cells from a center point. This option uses the the same [[Voronoi_Attributes#Num_points|Num point]] and [[Voronoi_Attributes#Seeds|seed]] attributes as the uniform option. The dispersion of cells around the center point is determined by the '''Radial bias''' attribute. | The radial option creates a radial distribution of voronoi cells from a center point. This option uses the the same [[Voronoi_Attributes#Num_points|Num point]] and [[Voronoi_Attributes#Seeds|seed]] attributes as the uniform option. The dispersion of cells around the center point is determined by the '''Radial bias''' attribute. | ||

==== Radial bias ==== | ==== Radial bias ==== | ||

+ | |||

+ | How much influence the center point has when distorting particle positions. | ||

+ | |||

type: float | type: float | ||

## Revision as of 03:30, 18 April 2012

## Contents |

# Point cloud

## Distribution

Option menu providing 4 alternate methods of point distribution in a voronoi point cloud.

Each distribution type may have it's own attribute(s) that are unique. The only common attribute found among each distribution is Seed.

### uniform

Places particles by choosing uniformly-distributed random numbers along each coordinate axis.

#### Num points

The number of points (particles) to generate around the object. Each point will give rise to a voronoi cell. There may be fewer fragments than cells, depending on how they intersect the object.

type: integer

default: 100

#### Seed

The random number number seed. Change this to get a different arrangement of points.

type: integer

default: 0

### poisson

Places particles such that the approximate distance between them is the same. Gives rise to more evenly shaped cells.

#### Approx num

The number of points to aim for. This will not be achieved exactly, since the aim of this distribution mode is equally spaced points.

type: integer

default: 100

### radial

The radial option creates a radial distribution of voronoi cells from a center point. This option uses the the same Num point and seed attributes as the uniform option. The dispersion of cells around the center point is determined by the **Radial bias** attribute.

#### Radial bias

How much influence the center point has when distorting particle positions.

type: float

default: 1

minimum: 0.5

The generated cells, as seen above, is merely a preview of the fragments that will be generated upon a collision. The actual center point is determined by the point of the collision.

### cluster

Tries to create clusters of points, to give more variation in cell size.

#### Num clusters

The number of clusters to place amongst the original particle set. Particles are moved towards the nearest cluster.

type: integer

default: 10

minimum: 2

#### Cluster bias

How much influence the cluster has on the final particle position.

type: float

default: 1.0

## Options

### Regenerate during sim

type: boolean

default: True

description: Enable this to re-generate the point cloud when different objects are broken during a simulation

### Radial center at impact

type: boolean

default: True

### Particles

type: string

description: The particle shape in which the generated points are stored

### Data name

type: string

default: cell

description: The name of the custom data to be attached to fragments, identifying (integer) the particle whose voronoi cell they originate from