Difference between revisions of "Fog"

From PyMOLWiki
Jump to navigation Jump to search
m
Line 6: Line 6:
  
 
<source lang="python">
 
<source lang="python">
 +
# turn off the fog
 
set fog, off
 
set fog, off
set fog, 0                                       #off
+
set fog, 0
  
 +
# turn on the fog
 
set fog, on
 
set fog, on
set fog, 1                                       #on
+
set fog, 1
 
</source>
 
</source>
  

Revision as of 15:57, 24 February 2007

Overview

set fog allows Depth Cue (or fog!) to be turned on or off in the interactive viewer, not for ray traced images, for this see Ray_Trace_Fog

Syntax

# turn off the fog
set fog, off
set fog, 0

# turn on the fog
set fog, on
set fog, 1

Example