Renderer¶
A Renderer determines how the data of an Object is drawn. Multiple Renderers can be attached to a single Object, for example ribbon for the main chain and ballstick for the active site.
Renderers are created by right-clicking an Object row or a Renderer group row in the scene tree and choosing New Renderer (→ Side panels). Settings are edited in the property inspector (→ Property inspector).
List of types¶
| Type | Target Object | Description | New Renderer |
|---|---|---|---|
| simple | Molecule | Lightest display; draws bonds as lines | ○ |
| trace | Molecule | Connects the main-chain pivot atoms (Cα, etc.) with lines | ○ |
| tracestick | Molecule | A trace drawn with spheres at the main-chain pivot atoms and cylinders between them | ○ |
| spline | Molecule | Draws the main chain as a smoothed curve | ○ |
| ballstick | Molecule | Draws atoms as spheres and bonds as cylinders | ○ |
| cpk | Molecule | Space-filling model drawn with spheres of van der Waals radii | ○ |
| anisou | Molecule | Draws anisotropic temperature factors as ellipsoids (ORTEP style) | ○ |
| tube | Molecule | Draws the main chain as a smooth tube | ○ |
| ribbon | Molecule | Ribbon / plate / tube display according to secondary structure | ○ |
| cartoon | Molecule | Schematic secondary-structure display with helices drawn as cylinders | ○ |
| nucl | Molecule | Nucleic acid main-chain tube + base display | ○ |
| atomintr | Molecule | Displays distances, angles and interactions between atoms | ○ |
| disorder | Molecule | Displays disordered regions, bridging the gaps with dotted lines | ○ |
| dsurface | Molecule | Molecular surface computed directly from the molecule | ○ |
| dsurf2 | Molecule | Molecular surface using a distance field | — |
| molsurf | Molecular surface | Draws an already generated molecular surface Object | ○ |
| contour | Density map | Contour mesh display | ○ |
| isosurf | Density map | Isosurface display | ○ |
| gpu_mapmesh | Density map | GPU implementation of the contour mesh | — |
Types with "—" in the New Renderer column do not appear in the list in the New Renderer dialog.
- atomintr is created automatically when you use the measurement tools in the tool palette (Distance / Angle / Torsion) or Interaction... in the Tools menu
- atomintr and disorder do not appear in the Renderer type list shown when opening a file. Right after loading there is nothing for them to draw (no measurements have been created yet, and there is no main-chain Renderer for disorder to follow). Create them with New Renderer after the Object has been added to the scene
- gpu_mapmesh was removed from the choices for new Renderers because its line width cannot be changed and it is slower than contour. Those contained in existing scenes are displayed as before, and their settings can still be changed
- dsurf2 has been merged into dsurface. Distance-field meshes are chosen with Algorithm in dsurface. Those contained in existing scenes are loaded as dsurface (→ dsurf2)
Internal Renderers (selection highlight, atom labels, symmetry mates, unit cell, etc.) are also not shown in the list. Of these, the atom label Renderer is described in namelabel.
Property structure¶
Renderer properties are divided into those common to all types and those specific to each type.
- Common properties — name, selection, show / hide, material, opacity, and edge lines (edge lines only for Renderers that have faces) → Common Renderer properties
- Type-specific properties — see the page for each Renderer
Properties that do not appear in the Properties tab of the inspector can be edited in the Generic tab.
Presets¶
The New Renderer dialog also offers presets, which create several Renderers at once. Choosing a preset creates a set of Renderers, each assigned its target by a selection expression, as a single group.
| Preset | Composition |
|---|---|
| Default preset 1 | ribbon (protein) + nucl (nucleic acid) + ballstick (everything else) |
| Default preset 2 | cartoon (protein) + nucl (nucleic acid) + ballstick (everything else) |
| Simple preset 1 | trace (protein and nucleic acid) + simple (everything else) |
See also¶
- Object — what Renderers draw
- Coloring
- Styles
- Selection expression syntax
Verified against: CueMol3 2.3.21.544