The viewport windows show the three-dimensional scene containing the loaded dataset. OVITO’s main window has four viewports, laid out in a two by two grid, all showing the same scene from different perspectives. The label in the upper left corner of each viewport window and the axis tripod in the lower left corner indicate the orientation of the viewport’s virtual camera.
Use the mouse to rotate or move the virtual camera of a viewport:
Left-click and drag to rotate the camera around the current orbit center, which is located in the center of the simulation box by default.
Right-click and drag the mouse in order to move the camera parallel to the projection plane. You can also use the middle mouse button or the shift key + left mouse button for this.
Use the mouse wheel to zoom in or out.
Double-click an object to reposition the orbit center to the point under the mouse cursor. From now on the camera will rotate around that new location in 3d space marked with a three-dimensional cross.
Double-click in an empty region of a viewport to reset the orbit center to the center of the active dataset.
Note that the z-axis is considered the “up” (vertical) direction, and OVITO constrains the camera orientation such that this axis always points upward in the viewports. You turn this default behavior off in the viewport context menu or choose a different constraint axis in the application settings dialog of OVITO.
The viewport toolbar is located below the viewports and contains buttons to activate various navigation input modes. In addition, you will find two other useful functions here:
The Zoom Scene Extents function automatically adjusts the virtual camera of the active viewport such that all objects in the scene become fully visible. The active viewport is marked by a yellow border. Use the Ctrl key (Command key on macOS) to zoom all viewports at once.
The Maximize Active Viewport button enlarges the active viewport to fill the entire main window. Clicking the button a second time restores the original 2x2 viewport layout.