This is a read-only mirror of pymolwiki.org
Difference between revisions of "Sphere quality"
Jump to navigation
Jump to search
m (17 revisions) |
|||
(14 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''' = 1 (enabled) causes PyMol to crash in the Windows version. | ||
==Examples== | ==Examples== | ||
Open the images to see rendering details. | Open the images to see rendering details. | ||
<gallery> | <gallery> | ||
− | Image:Sphere_quality_0. | + | Image:Sphere_quality_0.png|sphere_quality 0 |
− | Image:Sphere_quality_1. | + | Image:Sphere_quality_1.png|sphere_quality 1 (default) |
− | Image:Sphere_quality_2. | + | Image:Sphere_quality_2.png|sphere_quality 2 |
</gallery> | </gallery> | ||
+ | |||
+ | = See Also = | ||
+ | [[cgo_sphere_quality]] | ||
+ | |||
+ | |||
+ | [[Category:Settings]] | ||
+ | [[Category:Performance]] | ||
+ | [[Category:Spheres]] |
Latest revision as of 03:36, 28 March 2014
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.