Volume Viewer - memory usage
In some situations,
Volume Viewer uses more memory than is necessary.
- For the DSN6, Delphi, and XPLOR formats, the whole file is read in
order to extract a subregion;
thus, specifying a subregion will speed up
rendering and display but will not conserve memory. In contrast,
only the specified subregions are read from MRC, NetCDF, and Priism files.
- Rendering a solid display
uses four float values per voxel in RGBA mode
and one 2-byte integer per voxel in colormap mode. The
Use colormap...
setting (in Solid rendering
options) controls whether a colormap is used.
- Rendering a solid display
with 3D texture mapping makes an RGBA8 OpenGL texture (4 bytes per voxel).
With 2D texture mapping, three such RGBA8 arrays are used. The
Solids using 2D textures
setting (in Solid rendering
options) controls whether 2D or 3D texture mapping is used.
See also
Minimize texture memory use.
UCSF Computer Graphics Laboratory / August 2007