Triangle mesh

../../../_images/triangle_mesh_panel.png ../../../_images/triangle_mesh_example.jpg

This visual element controls the appearance of triangle meshes, which are general polyhedral objects made of vertices and triangular faces connecting those vertices. Typically, triangle meshes are imported into OVITO from an external data file, for example an STL or an OBJ file. See the list of supported file formats.

The faces or the vertices of a triangle mesh may be associated with color information loaded from the imported geometry file. If not present, the uniform color of the mesh is controlled by the user though this visualization element.


Display color

The color used for rendering the triangle mesh. Only takes effect if the mesh has no per-vertex or per-face color information.


The degree of semi-transparency to use when rendering the mesh.

Highlight edges

Activates the rendering of wireframe lines along the edges of the mesh’s faces.

See also

ovito.vis.TriangleMeshVis (Python API)