Surface Color (Electrostatic Surface Coloring)Surface Color icon

Surface Color colors surfaces by volume data such as electrostatic potential or by distance from a point, axis, or plane. It does not calculate electrostatic potential; any of several separate programs can be used to generate the potential and write it to a file that can then be opened in Chimera.

Surface Color acts on molecular surfaces and surfaces of class Surface_Model (see list; includes GRASP surfaces and those from Volume Viewer, Multiscale Models, and Icosahedron Surface) and any caps on such surfaces. Surface Color information is included in saved sessions.

Thanks to Steve Ludtke for developing the original version of this tool, Isosurface Colorizer (distributed with the EMAN package). This new implementation uses C++ code to accelerate the color calculations.

There are several ways to start Surface Color, a tool in the Volume Data category (including from the Volume Viewer Tools menu). It is also available as Electrostatic Surface Coloring in the Surface/Binding Analysis category. In addition, simply opening an electrostatic potential file will automatically start Electrostatic Surface Coloring.

The surface of interest should first be displayed in Chimera, then chosen from the menu next to Color surface. How to display a surface depends on its type. For example, a molecular surface can be displayed with Actions... Surface... show or the command surface, whereas a GRASP surface is displayed by opening a GRASP surface file. Any surface cap will be treated as part of the surface for coloring purposes. Only color sliced surface face allows coloring only the cap and not the remainder of a surface.

To color by electrostatic potential or other volume data:

Click Open map data... to browse to and open the volume data file (if not already open). Each open volume data set and its gradient norm will be listed in the same pulldown menu as the distance options. Choosing a data set allows coloring by the data values directly, while choosing its gradient norm allows coloring by how steeply the values change in space. (Details...) Vertices outside the bounds of the volume data will be colored according to the color well marked Color outside volume.
Otherwise, pick one of three options for coloring by distance:
For any of the distance options, Origin coordinates can be entered directly, or Center can be used to set the origin to the center of the bounding box of the chosen surface. The Origin and Axis are specified in the untransformed coordinate system of the chosen surface, not the viewing coordinate system.
The next step is to define how colors will be mapped to data values (volume data or distances):
When first started as Surface Color, the tool initally contains five colors in rainbow order; started as Electrostatic Surface Coloring, it contains transparent red, white, and blue.
Clicking Color performs the coloring with the current parameters. (Details...) Surfaces colored in this way will be recolored automatically if they change shape, with the exception of molecular surfaces. If the shape of a molecular surface is changed, such as by changing the radius of the probe used to calculate it, Color must be clicked again to update the coloring.

Clicking Uncolor reverts the coloring scheme of the chosen surface to:

Caps will revert to the same color as the surface being capped, unless the Surface Capping option to use a separate color is turned on.

Close dismisses the Surface Color dialog. Help brings up this manual page in a browser window.

TECHNICAL NOTES

Data value interpolation. The transformed coordinates of the chosen surface and the volume data (but see below) are used to map data values to surface vertices.

Color mapping. The color mapping is defined by the specified color/value pairs, or thresholds. The data value for each surface vertex is compared to the thresholds. Vertices with values lower than any threshold are assigned the color of the lowest-value threshold, while vertices with values higher than any threshold are assigned the color of the highest-value threshold. The colors of the remaining vertices are obtained by linear interpolation between the nearest lower and higher thresholds. Finally, each surface triangle is colored by linearly interpolating its vertex colors. Colors are defined by red, green, blue and opacity/transparency components.

LIMITATIONS

Volume data must be displayed before it can be transformed separately. There is no volume model until the data is displayed with Volume Viewer. When there is no volume model, the transformation of the volume data is assumed to be the same as that of the chosen surface. To use a different transformation for data mapping, the volume data must be displayed and the volume model moved while the surface model is held fixed (or vice versa).

Molecular surface capping after coloring. If a molecular surface is colored and later capped with Surface Capping, the cap will not be colored automatically. It is necessary to click Color again to color the cap, after which the cap color will update automatically.


UCSF Computer Graphics Laboratory / November 2007