Stereo: Difference between revisions

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 "...)
 
(command doc instead of setting doc)
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>
 
The '''toggle''' argument is one of:
on,
swap,
off,
quadbuffer,
crosseye,
walleye,
geowall,
sidebyside,
byrow,
bycolumn,
checkerboard,
custom,
anaglyph,
dynamic or
clonedynamic.
 
[[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]]

Revision as of 11:33, 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 ]

The toggle argument is one of: on, swap, off, quadbuffer, crosseye, walleye, geowall, sidebyside, byrow, bycolumn, checkerboard, custom, anaglyph, dynamic or clonedynamic.

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