This is a read-only mirror of pymolwiki.org

Difference between revisions of "Ray opaque background"

From PyMOL Wiki
Jump to navigation Jump to search
m (3 revisions)
 
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
 
== Examples ==
 
== Examples ==
 
<gallery>
 
<gallery>
Image:Rob0.png|ray_opaque_bg set to 0.  The image from PyMOL is shown over a checkerboard.
+
Image:Rob0.png|ray_opaque_background set to 0.  The image from PyMOL is shown over a checkerboard.
Image:Rob1.png|ray_opaque_bg set to 1.  The image from PyMOL is shown over a checkerboard, however because the background is opaque, the checkerboard underneath does not show through.
+
Image:Rob1.png|ray_opaque_background set to 1.  The image from PyMOL is shown over a checkerboard, however because the background is opaque, the checkerboard underneath does not show through.
 
</gallery>
 
</gallery>
  

Latest revision as of 14:21, 9 June 2014

Overview

This setting changes how PyMol treats the background. If this option is ON then the background is whatever you specify -- like black or white; however, if the setting is OFF, then the background will be treated as a transparent alpha channel.

Settings

Note: turning this setting off creates the transparent backgrounds.

# turn on transparent alpha channel
set ray_opaque_background, off

Examples