\(\renewcommand\AA{\text{Å}}\)

Viewport layers

../../../_images/viewport_overlay_command_panel.png

Viewport layers render two-dimensional text and graphics on top of the three-dimensional scene. They allow you to include additional information in output pictures and animations. OVITO provides several layer types (see table below), which you can add to a viewport. Go to the Viewport layers tab of OVITO’s command panel (screenshot on the right) to manage the layers of the active viewport.

Note that viewport layers are only visible in the interactive viewport windows while render preview mode is turned on for a viewport. OVITO activates the render preview mode automatically for the active viewport whenever you add a new layer.

../../../_images/viewport_layers_schematic.png

Available viewport layer types

Layer type

Description

Color legend

Paints the color map legend for a Color coding modifier

Coordinate tripod

Renders an axes tripod to indicate the view orientation

Python script pro

Calls your own Python script function to draw arbitrary graphics on top of the rendered image

Text label

Renders a user-defined text string, which can contain dynamically computed variables

See also