Difference between revisions of "Stereo Mode"

From PyMOLWiki
Jump to: navigation, search
m
(put supported stereo modes in table, rearrange some stuff)
Line 1: Line 1:
== Overview ==
 
 
[[Image:Anaglyph1.png|Example of Anaglyph 3D in PyMOL|450px|right|thumb]]
 
[[Image:Anaglyph1.png|Example of Anaglyph 3D in PyMOL|450px|right|thumb]]
Sets the type of stereo mode for [[stereo]].
 
  
PyMOL supports the following stereo modes:
+
The [[stereo_mode]] setting sets the type of stereo mode, if the [[stereo]] setting is enabled.
  
1
+
''You can also control both settings with the [[stereo]] command, which is more convenient!''
::'''quad-buffered'''
 
  
2
+
== Syntax ==
::'''cross-eyed'''
+
<source lang="python">
 
+
set stereo_mode, integer
3
+
</source>
::'''walleye'''
 
 
 
4
 
::'''geowall'''
 
 
 
5
 
::'''sidebyside'''
 
  
6
+
Valid values for the '''integer''' argument are listed in the following table.
::'''stencil by row''', Zalman
 
  
7
+
== Supports Stereo Modes ==
::'''stencil by col''',
 
  
8
+
Corresponding keyword arguments (instead of numeric values) can be passed to the [[stereo]] command.
::'''stencil checkerboard'''
 
  
9
+
{| border=1 cellspacing=0 cellpadding=4 class=wikitable
::'''stencil custom''' for developers
+
! value !! description
 
+
|-
10
+
| 1 || '''quad-buffered'''
::'''anaglyph''' (requires green/magenta glasses)
+
|-
 
+
| 2 || '''cross-eyed'''
11
+
|-
::'''dynamic polarization'''
+
| 3 || '''walleye'''
 
+
|-
12
+
| 4 || '''geowall'''
::'''clone dynamic'''
+
|-
 
+
| 5 || '''sidebyside'''
== Syntax ==
+
|-
<source lang="python">
+
| 6 || '''stencil by row''', Zalman
set stereo_mode, integer
+
|-
</source>
+
| 7 || '''stencil by col'''
 +
|-
 +
| 8 || '''stencil checkerboard'''
 +
|-
 +
| 9 || '''stencil custom''' for developers
 +
|-
 +
| 10 || '''anaglyph''' (requires green/magenta glasses)
 +
|-
 +
| 11 || '''dynamic polarization'''
 +
|-
 +
| 12 || '''clone dynamic'''
 +
|}
  
 
== Notes ==
 
== Notes ==
Line 51: Line 49:
  
 
== See Also ==
 
== See Also ==
[[Stereo]] [[Stereo_angle]]
+
* [[Stereo]]
 +
* [[Stereo_angle]]
  
 
[[Category:Settings|Settings]]
 
[[Category:Settings|Settings]]
 
[[Category:Stereo|Stereo]]
 
[[Category:Stereo|Stereo]]

Revision as of 13:03, 31 May 2012

Example of Anaglyph 3D in PyMOL

The stereo_mode setting sets the type of stereo mode, if the stereo setting is enabled.

You can also control both settings with the stereo command, which is more convenient!

Syntax

set stereo_mode, integer

Valid values for the integer argument are listed in the following table.

Supports Stereo Modes

Corresponding keyword arguments (instead of numeric values) can be passed to the stereo command.

value description
1 quad-buffered
2 cross-eyed
3 walleye
4 geowall
5 sidebyside
6 stencil by row, Zalman
7 stencil by col
8 stencil checkerboard
9 stencil custom for developers
10 anaglyph (requires green/magenta glasses)
11 dynamic polarization
12 clone dynamic

Notes

Anaglyph Color Quality and Ghosting

To test the quality of your glasses and coloring, you can test for "ghosting". Choose a part of the structure where the channels for the left and right eye are nicely separated in space. Hold one lens over the part of the structure and see you see one image or if there is a faint second image for the other channel. Then hold the other other lens over the image and see if there is a faint second image.

See Also