The graphics command sets graphical rendering parameters and allows detailed control over object triangulation. Normally, the fineness of atom and bond triangulation is adjusted automatically depending on the display contents (e.g., the number of atoms displayed), within the ranges of 10-2000 triangles per atom and 24-160 per bond, up to maximum totals for atoms and bonds set with totalAtomTriangles and totalBondTriangles, respectively (initial default five million each, 5000000). Automatic adjustment can be tuned in either direction with set subdivision, and by default, vr temporarily lowers the limits on total triangles for faster rendering. See also: cartoon style
As an alternative to automatic adjustment, the graphics command allows using fixed numbers of triangles per atom and bond:
The maxFrameRate option sets the target frame rate in ChimeraX to Nf frames per second (initial default 60). The actual redraw rate may be lower than the target, depending on the rendering speed of the computer and the complexity of the scene.
The frameRate option indicates whether to report the average frame rate each second in the status line (initial default false).
The waitForVsync option indicates whether to synchronize drawing to the display vertical refresh rate, typically 60 Hz (initial default usually true, but depends on the graphics driver settings). Without synchronization, the frame rate can exceed the vertical refresh rate and the display can exhibit image tearing.
Given without options, graphics reports the current triangles per atom and bond, ribbon divisions per residue, and maximum frame rate in the Log. The number of ribbon sides and divisions can be reported (or changed) with cartoon style, and the maximum frame rate can also be reported/changed with set.