This is a read-only mirror of pymolwiki.org

Difference between revisions of "Sphere quality"

From PyMOL Wiki
Jump to navigation Jump to search
m (17 revisions)
 
(15 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 backface_cull, <integer>
+
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=on (enabled) causes PyMol 0.99 to crash in Windows.
 
  
 +
'''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.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 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.

See Also

cgo_sphere_quality