This visual element is responsible for rendering particles in the viewports. Typically, particles are visualized as simple spheres, but you can switch to other, more complex geometric shapes if desired.
The Particles visual element provides a set of parameters controlling the visual representation of all particles, which will be described in the section below. Additionally, the visualization is affected by certain properties, listed in the following table, that particles may optionally possess. By setting the values of these particle properties, for example using the Compute property modifier, you can control the visualization on a per-particle basis.
|Particle property||Data type / Components||Description|
|Real (R, G, B)|
Controls the display color of individual particles. Red, green and blue components are in the range [0,1].
Controls the display size of individual particles.
Used to determine size and color if the Radius or Color properties are not present.
Controls the transparency of individual particles. Must be in the range [0,1].
|Real (X, Y, Z)|
Controls the size of particles with a non-symmetric shape. The exact interpretation of this property depends on the selected Shape setting, see section below.
|Real (X, Y, Z, W)|
Selects the display shape of particles. The current program version offers the choice between the following modes:
Aspherical Shapeparticle property has been defined; then they are rendered as ellipsoidal particles. In this case, the three components of the
Aspherical Shapevector property control the half lengths of the principal axes of each ellipsoid and the scalar
Radiusproperty is ignored.
Aspherical Shapeparticle property is not present. The
Radiusproperty can be used to control the edge half-length of the cubes in this case. If the
Aspherical Shapeparticle property is present, particles are rendered as non-cubic boxes with the given half-lengths along the three edges.
Aspherical Shapevector property controls the cylinder radius of particles in this mode, and the Z-component controls the length of the cylindrical particles. By default, cylinders are aligned along the z-axis. If present, the
Orientationparticle property rotates the cylinders.
Specifies the display size of particles that have an otherwise unspecified size. This size value is only used for particles for which none of the following applies:
Radius particle property has a non-zero value.
The particle's type, as specified by the
Particle Type, has a non-zero radius.
In other words, this parameter provides a fallback value if no display size has been set on a per-particle basis or on a per-type basis.
This parameter controls the method used for rendering the particles in the interactive viewports. The following modes are available and affect only the rendering of spherical particles:
Particles are rendered as texture-mapped imposters facing the viewer. Particles do not have depth in this mode, and intersections between spherical particles may not be displayed correctly. This mode is the fastest.
Particles are rendered as texture-mapped imposters facing the viewer. An OpenGL fragment shader is used to compute depth information for each rendered pixel to produce reasonable looking sphere-sphere intersections for overlapping particles.
Particles are rendered as true spheres using an OpenGL fragment shader, which computes the ray-sphere intersection for every rendered pixel.
OVITO automatically switches between the three quality levels above depending on the number of particles to render in the interactive viewports. For less than 4,000 particles, the high-quality method is used. For more than 400,000 particles, the lowest quality mode is used. Irrespective of the particle number, high-quality mode is always used to produce a final output image.