generate_particles_on_mesh

Creates a particles object by generating a set of points on an underlying Polygon_mesh or Triangle_mesh and placing spherical particles at these locations. The radius of these particles will randomly vary between the provided minimum and maximum. Optionally a particle color user data attribute vector can be added with random brightness variations. It is also possible to offset the particles from the source mesh (also with random variation if desired) in the direction of the surface normal. An optional scalar user data attribute vector can also be created which will vary between particle_scalar_min and particle_scalar_max. This scalar has no fixed meaning but can be looked up by MDL scene functions.

arguments

return value

Void

Void.

groups