Difference between revisions of "Stereo"

From PyMOLWiki
Jump to navigation Jump to search
(New page: == Overview == The stereo option controls whether or not PyMOL displays the scene in stereo mode. Stereo mode is a convenient way to ''see'' 3D. There are also various 3D modes -- like "...)
 
m (formulation...)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
+
The [[stereo]] command sets the current stereo mode.
The stereo option controls whether or not PyMOL displays the scene in stereo mode. Stereo mode is a convenient way to ''see'' 3D.  There are also various 3D modes -- like "cross eyed stereo".  See [[Stereo_Mode]].
+
Stereo mode is a convenient way to "see" 3D with two images from slightly different angles.
  
== Syntax ==
+
''There are corresponding '''stereo''' and [[stereo_mode]] settings which are controlled by the '''stereo''' command, so you don't need to set them directly.''
<source lang="python">
+
 
set stereo,1
+
== Usage ==
</source>
+
 
 +
<syntaxhighlight lang="python">
 +
stereo [ toggle ]
 +
</syntaxhighlight>
 +
 
 +
Valid values for the '''toggle''' argument are:
 +
on,
 +
swap,
 +
off,
 +
quadbuffer,
 +
crosseye,
 +
walleye,
 +
geowall,
 +
sidebyside,
 +
byrow,
 +
bycolumn,
 +
checkerboard,
 +
custom,
 +
anaglyph,
 +
dynamic,
 +
clonedynamic
 +
(see also [[stereo_mode]])
 +
 
 +
[[Image:Stereo on.png|Example of 1ESR shown in cross-eyed stereo|320px|right|thumb]]
  
 
== Example ==
 
== Example ==
<gallery>
 
Image:Stereo on.png|Example of 1ESR shown in cross-eyed stereo.
 
</gallery>
 
  
 +
<syntaxhighlight lang="python">
 +
fetch 1ESR, async=0
 +
as cartoon
 +
set cartoon_smooth_loops
 +
spectrum
 +
bg white
 +
stereo crosseye
 +
</syntaxhighlight>
 +
 +
== See Also ==
 +
 +
* [[stereo_mode]]
 +
* [[stereo_angle]]
 +
* [[stereo_shift]]
 +
* [[stereo_ray]]
  
 
[[Category:Stereo|Stereo]]
 
[[Category:Stereo|Stereo]]
 
[[Category:Settings|Stereo]]
 
[[Category:Settings|Stereo]]

Latest revision as of 12:46, 31 May 2012

The stereo command sets the current stereo mode. Stereo mode is a convenient way to "see" 3D with two images from slightly different angles.

There are corresponding stereo and stereo_mode settings which are controlled by the stereo command, so you don't need to set them directly.

Usage

stereo [ toggle ]

Valid values for the toggle argument are: on, swap, off, quadbuffer, crosseye, walleye, geowall, sidebyside, byrow, bycolumn, checkerboard, custom, anaglyph, dynamic, clonedynamic (see also stereo_mode)

Example of 1ESR shown in cross-eyed stereo

Example

fetch 1ESR, async=0
as cartoon
set cartoon_smooth_loops
spectrum
bg white
stereo crosseye

See Also