Stereo Mode: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Overview ==
[[Image:Anaglyph1.png|Example of Anaglyph 3D in PyMOL|450px|right|thumb]]
Sets the type of stereo mode for [[stereo]].
[[Image:Ana4 focal ray.png|Example of a ray traced, focal blurred, anaglyph image.|450px|right|thumb]]
[[Image:3D-B-DNA.png|3D B-DNA Example|450px|right|thumb]]
[[Image:Amyloid.png|Amyloid beta example|450px|right|thumb]]


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
== Supported Stereo Modes ==
::'''anaglyph'''


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]]

Latest revision as of 10:03, 4 February 2014

Example of Anaglyph 3D in PyMOL
Example of a ray traced, focal blurred, anaglyph image.
3D B-DNA Example
Amyloid beta example

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.

Supported 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