cuemol2/CPKRendererCueMol: Molecular Visualization Framework |
CPK rendererCPK renderer (representation) displays so-called "Space-filling" models of the molecules. CPK renderer has the following display options (properties) including common and specific options. As for the common settings, see cuemol2/CommonRendererProps. CPK renderer settingsAtomic radiiYou can specify the radii of spheres of the space-filling representation. The radii of spheres are determined by the element types: C, N, O, P, S, H and X (=other elements). DetailTriangulation level of the spheres. Large value of detail results in smooth spheres, but slow down the rendering speed. In the following cases, the detail value will be ignored (because they directly render spheres and do not divide spheres into triangles):
GL shader rendering of cpk modelsIf your graphics card has a capability of OpenGL shaders, smooth spheres can be displayed without triangulation. The left figure is displayed using shaders, while the right figure is displayed by conventional triangulation. To use this function, please turn on the GL shader in the option dialog (see cuemol2/UseGLShader). If GL shader rendering is turned on, the "detail" value of the cpk renderer settings is ignored as described above. |