Sphere quality: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
'''sphere_quality''' controls the rendering quality of sphere objects. | '''sphere_quality''' controls the rendering quality of sphere objects. This setting only affects sphere rendering when not using shaders. | ||
==Syntax== | ==Syntax== | ||
<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 15:56, 25 July 2023
Overview
sphere_quality controls the rendering quality of sphere objects. This setting only affects sphere rendering when not using shaders.
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.