This is a read-only mirror of pymolwiki.org

Difference between revisions of "Stereo Mode"

From PyMOL Wiki
Jump to navigation Jump to search
 
(put supported stereo modes in table, rearrange some stuff)
(One intermediate revision by the same user not shown)
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
 
::'''stencil by row''', Zalman
 
 
 
7
 
::'''stencil by col''',  
 
 
 
8
 
::'''stencil checkerboard'''
 
  
9
+
Valid values for the '''integer''' argument are listed in the following table.
::'''stencil custom''' for developers
 
  
10
+
== Supports Stereo Modes ==
::'''anaglyph''' (requires green/magenta glasses)
 
  
11
+
Corresponding keyword arguments (instead of numeric values) can be passed to the [[stereo]] command.
::'''dynamic polarization'''
 
  
12
+
{| border=1 cellspacing=0 cellpadding=4 class=wikitable
::'''clone dynamic'''
+
! 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'''
 +
|}
  
== Syntax ==
+
== Notes ==
<source lang="python">
+
=== Anaglyph Color Quality and Ghosting ===
set stereo_mode, integer
+
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.
</source>
 
  
 
== 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 17: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