Zalman Stereo: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:a_zalman_zm_m220w__2d_35_pic.jpg|200px|thumb|right|3d lcd]]
[[Image:a_zalman_zm_m220w__2d_35_pic.jpg|200px|thumb|right|3d lcd]]


= Zalman LCD Stereo for COOT =
= [http://en.wikipedia.org/wiki/Zalman#Monitors Zalman] LCD Stereo =


The first viable LCD monitor for stereographics display is made by Zalman and costs about $300:  [http://www.zalman.co.kr/eng/product/product_read.asp?idx=219 Zalman ZM-M220W]
This Stereo mode works with cheap polarization glasses (the same as those you wear in a cinema when watching 3D movies like "Avatar") and requires a special monitor which has alternatingly polarized horizontal lines. If e.g. the odd lines of the monitor display the picture for the left eye, and the even lines display the picture for the right eye, the brain stitches the images together which results in the impression of a 3D scene. See also http://en.wikipedia.org/wiki/Polarized_3D_system.


The attributes for this monitor have been tested and [http://pymol.org/zalman/ described rather extensively by Warren DeLano] on the PyMOL site. Please read it for important details and suggested purchasing sources.
The first viable LCD monitor for stereographics display is made by Zalman and costs about $300:  [http://www.zalman.co.kr/eng/product/product_read.asp?idx=219 Zalman ZM-M220W]. Alternative manufacturers of polarization monitors are LG ("cinema 3D"), Philips ("easy 3D"), Toshiba ("3D natural") and Vizio ("3D"). Specifically the LG  D2342P was [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=CCP4BB;f51a7820.1506 reported] on CCP4BB to work well with coot and PyMOL in stereo mode.


The attributes for the Zalman M220W monitor have been tested and [http://www.pymolwiki.org/index.php/Stereo_3D_Display_Options#One_Piece_Multi-layer_LCD_Displays described rather extensively by Warren DeLano] on the PyMOL site. Please read it for important details and suggested purchasing sources.


Alternative manufacturers of polarization monitors are LG ("cinema 3D"), Philips ("easy 3Doshiba ("3D natural") and Vizio ("3D"). Specifically the LG  D2342P was [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=CCP4BB;f51a7820.1506 reported] on CCP4BB to work well with coot and PyMol in stereo mode.


The following describes specifically how to get this to work with coot on Mac OS X, but the instructions should be generalizable to linux and Windoze. The beauty of this is that it is platform-independent and apparently works with pretty much any hardware (PC, mac, etc) and operating system.
The following describes specifically how to get this to work with coot on Mac OS X, but the instructions should be generalizable to linux and Windoze. The beauty of this is that it is platform-independent and apparently works with pretty much any hardware (PC, mac, etc) and operating system.
Line 21: Line 23:
== Invoking Zalman Stereo mode in COOT ==
== Invoking Zalman Stereo mode in COOT ==


Make sure "Hardware Stereo" is turned '''off'''.
Use the Draw > Stereo menu to select Zalman Stereo.


As of now, there is no button for Zalman stereo mode.  Instead, open up a scripting window, and issue the scheme command


(zalman-stereo-mode)
== Useful buttons ==


or else the python command
Customize your toolbar (the bar directly above the graphics window)! By default this only has the "Display Manager" button. Do this by right-clicking an empty part of that toolbar and then "Manage buttons (add/delete button)". There, select "Zalman Stereo/mono" and "Swap Stereo".
 
zalman_stereo_mode()
 
and you should then see a double image that looks like this:
 
[[Image:Double.png]]
 
When you put on the glasses, you should see a single image, in 3D stereo.
 
If things look weird, the image might be backwards, in which case, try moving the Coot window down one pixel (just move it around a bit until it looks right).
 
 
== Some Potentially Useful Scripts and Tweaks ==
 
=== Crank Up Font Size===
 
;; The font needs to be cranked up to be visible in stereo
(set-font-size 3)
 
=== For Zalman to the left of main display ===
 
If your monitor is to the right, you will have to adjust X values appropriately
 
;; Specific for Zalman monitor set to the left of eg MacBook Air
;;
;; These should be even numbers to keep the stereo
;; the right way around
(set-graphics-window-position 0 0)
(set-graphics-window-size 1680 1050)
;; Make these subsidiary windows appear on the right-hand monitor
(set-model-fit-refine-dialog-position 1900 0)
(set-delete-dialog-position 1700 50)
(set-go-to-atom-window-position 1847 67)
=== Customized Menu for Zalman Monitor and Powermate Dial ===
<pre>
;; Customize menu bar for PowerMate Dial and Zalman monitor
(let ((menu (coot-menubar-menu "Custom")))
  (add-simple-coot-menu-menuitem
  menu "PowerMate"
  (lambda ()
(load (append-dir-file (getenv "HOME") ".cootrc_powermate_and_keybindings.scm"))))
  (add-simple-coot-menu-menuitem
  menu "Zalman Stereo ON"
  (lambda ()
(zalman-stereo-mode)))
  (add-simple-coot-menu-menuitem
  menu "Zalman Stereo OFF"
  (lambda ()
(mono-mode)))
  (add-simple-coot-menu-menuitem
  menu "Zalman Full-Screen"
  (lambda ()
(set-graphics-window-position 0 0)(set-graphics-window-size 1680 1050))))
 
</pre>
 
Which, in turn, requires [http://code.google.com/p/zsh-templates-osx/source/browse/trunk/Library/init/zsh/zshrc.d/local-functions/etc/dotfiles/cootrc_powermate_and_keybindings.scm a file called ~/.cootrc_powermate_and_keybindings.scm]
 
 
 
 
 
In general, if the image is inverted, just move the window up or down 1
pixel.

Latest revision as of 19:54, 10 June 2015

3d lcd

Zalman LCD Stereo[edit | edit source]

This Stereo mode works with cheap polarization glasses (the same as those you wear in a cinema when watching 3D movies like "Avatar") and requires a special monitor which has alternatingly polarized horizontal lines. If e.g. the odd lines of the monitor display the picture for the left eye, and the even lines display the picture for the right eye, the brain stitches the images together which results in the impression of a 3D scene. See also http://en.wikipedia.org/wiki/Polarized_3D_system.

The first viable LCD monitor for stereographics display is made by Zalman and costs about $300: Zalman ZM-M220W. Alternative manufacturers of polarization monitors are LG ("cinema 3D"), Philips ("easy 3D"), Toshiba ("3D natural") and Vizio ("3D"). Specifically the LG D2342P was reported on CCP4BB to work well with coot and PyMOL in stereo mode.

The attributes for the Zalman M220W monitor have been tested and described rather extensively by Warren DeLano on the PyMOL site. Please read it for important details and suggested purchasing sources.

Alternative manufacturers of polarization monitors are LG ("cinema 3D"), Philips ("easy 3Doshiba ("3D natural") and Vizio ("3D"). Specifically the LG D2342P was reported on CCP4BB to work well with coot and PyMol in stereo mode.

The following describes specifically how to get this to work with coot on Mac OS X, but the instructions should be generalizable to linux and Windoze. The beauty of this is that it is platform-independent and apparently works with pretty much any hardware (PC, mac, etc) and operating system.

Setting it up[edit | edit source]

The monitor comes with both a VGA and a DVI cable. If at all possible, use the DVI cable. Apple users will need to purchase an adaptor like the one pictured below:

31nBUURNRYL. SL500 AA280 .jpg

Plug in all the cables and verify the monitor is working. To get the stereo display to work, it is imperative that you turn display mirroring off. I placed the monitor to the left of my laptop, which required moving things around in the Display System Preferences. I also dragged the menu bar over to the external monitor to make in the primary monitor. This isn't so important for coot, whose menu is attached to the X11 window, but OS X pymol will drive you nuts if you have the menu on a separate monitor.

Invoking Zalman Stereo mode in COOT[edit | edit source]

Use the Draw > Stereo menu to select Zalman Stereo.


Useful buttons[edit | edit source]

Customize your toolbar (the bar directly above the graphics window)! By default this only has the "Display Manager" button. Do this by right-clicking an empty part of that toolbar and then "Manage buttons (add/delete button)". There, select "Zalman Stereo/mono" and "Swap Stereo".