Difference between revisions of "Sphere quality"
Jump to navigation
Jump to search
(→Syntax) |
Hongbo zhu (talk | contribs) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
<source lang="python"> | <source lang="python"> | ||
# the default value is 1 | # the default value is 1 | ||
− | set | + | set sphere_quality, <integer> |
</source> | </source> | ||
− | Larger values of <integer> result in higher quality sphere rendering. | + | Larger values of <integer> result in higher quality sphere rendering. Values >1 may result in poor [[:Category:Performance|performance]] during real-time rotation or translation. |
− | '''Note''': Selecting values larger than 2 with stick_ball= | + | '''Note''': Selecting values larger than 2 with '''stick_ball''' = 1 (enabled) causes PyMol to crash in the Windows version. |
==Examples== | ==Examples== | ||
Line 17: | Line 17: | ||
<gallery> | <gallery> | ||
Image:Sphere_quality_0.png|sphere_quality 0 | Image:Sphere_quality_0.png|sphere_quality 0 | ||
− | Image:Sphere_quality_1.png|sphere_quality 1 | + | Image:Sphere_quality_1.png|sphere_quality 1 (default) |
Image:Sphere_quality_2.png|sphere_quality 2 | Image:Sphere_quality_2.png|sphere_quality 2 | ||
</gallery> | </gallery> | ||
+ | |||
+ | = See Also = | ||
+ | [[cgo_sphere_quality]] | ||
+ | |||
+ | |||
+ | [[Category:Settings]] | ||
+ | [[Category:Performance]] | ||
+ | [[Category:Spheres]] |
Revision as of 10:39, 4 May 2011
Overview
sphere_quality controls the rendering quality of sphere objects.
Syntax
# the default value is 1
set sphere_quality, <integer>
Larger values of <integer> result in higher quality sphere rendering. Values >1 may result in poor performance during real-time rotation or translation.
Note: Selecting values larger than 2 with stick_ball = 1 (enabled) causes PyMol to crash in the Windows version.
Examples
Open the images to see rendering details.