Sphere quality: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(New page: ==Overview== '''sphere_quality''' controls the rendering quality of sphere objects ==Syntax== <source lang="python"> # the default value is 1 set backface_cull, <integer> </source> '''Note''': Select...)
 
 
(16 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 backface_cull, <integer>
set sphere_quality, <integer>
</source>
</source>


'''Note''': Selecting values larger than 2 with stick_ball=on (enabled) causes PyMol 0.99 to crash in Windows.
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.
<gallery>
<gallery>
Image:sphere_quality_0.jpg|sphere_quality 0
Image:Sphere_quality_0.png|sphere_quality 0
Image:sphere_quality_1.jpg|sphere_quality 1
Image:Sphere_quality_1.png|sphere_quality 1 (default)
Image:sphere_quality_2.jpg|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.

See Also

cgo_sphere_quality