Depth cue: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
Sets whether or not PyMol overlays a 'fog' on objects farther away from the camera to assist in emphasizing what is in the foreground of the image.
One can adjust the fog that PyMol overlays on objects in the viewer window. This fog helps to assist in emphasizing what is in the foreground and backgound of the image with respect to the camera.
 
In mouse mode, 3-Button Viewing:
 
Rear clipping plane- hold down the shift key and the right mouse button and drag the mouse to the right, more fog will be added to the background. Drag to the left and more fog will be removed from the background.
 
Front clipping plane- hold down the shift key and the right mouse button and drag the mouse toward you.  You should see the clipping plane come into view.  Adjust the front and rear clipping plane to focus on the area of the molecule you wish to display.


== Syntax ==
== Syntax ==
Line 6: Line 12:
set depth_cue, 1  # turn on depth cueing
set depth_cue, 1  # turn on depth cueing
set depth_cue, 0  # turn off depth cueing
set depth_cue, 0  # turn off depth cueing
set fog_start, 0.45 #use a number between 0.01 and 0.99 to adjust where the fog will start in the plane of view. Default is 0.45
</source>
</source>


==Example==
{| border="0" cellspacing="0" cellpadding="5" align="center"
|[[Image:DepthCue0.png|thumb|frame|depth_cue=0]]
|[[Image:DepthCue1.png|thumb|frame|depth_cue=1]]
|}
== See Also ==
== See Also ==
[[fog]], [[Ray_Trace_Fog]], [[Field_Of_View]]
[[Ray_Trace_Fog]], [[Field_Of_View]]
 
 
[[Category:Settings|Depth cue]]

Latest revision as of 16:14, 2 November 2007

Overview

One can adjust the fog that PyMol overlays on objects in the viewer window. This fog helps to assist in emphasizing what is in the foreground and backgound of the image with respect to the camera.

In mouse mode, 3-Button Viewing:

Rear clipping plane- hold down the shift key and the right mouse button and drag the mouse to the right, more fog will be added to the background. Drag to the left and more fog will be removed from the background.

Front clipping plane- hold down the shift key and the right mouse button and drag the mouse toward you. You should see the clipping plane come into view. Adjust the front and rear clipping plane to focus on the area of the molecule you wish to display.

Syntax

set depth_cue, 1  # turn on depth cueing
set depth_cue, 0  # turn off depth cueing
set fog_start, 0.45 #use a number between 0.01 and 0.99 to adjust where the fog will start in the plane of view. Default is 0.45

Example

depth_cue=0
depth_cue=1

See Also

Ray_Trace_Fog, Field_Of_View