From
http://stackoverflow.com/questions/8918945/how-to-do-stereoscopic-3d-with-opengl-on-gtx-560-and-later

"The NVision3D API does allow you to blit images for specific eyes (this
is meant for movie players and image viewers). But it also allows you to
emulate quadbuffer stereo: Instead of GL_BACK_LEFT and GL_BACK_RIGHT
buffers create two Framebuffer Objects, which you bind and use as if
they were quadbuffer stereo. Then after rendering you blit the resulting
images (as textures) to the NVision3D API."

"With only as little as 50 lines of management code you can build a
program that seamlessly works on both NVision3D as well as quadbuffer
stereo. What NVidia does is pointless and they should just stop it now
and properly support quadbuffer stereo pixelformats on consumer GPUs as
well."

Is this true and could code be added to PyMol to allow GTX cards to
provide 3D for PyMol? Windows and Linux?


> On December 11, 2012 5:20:18 PM ICT, "EPF (Esben Peter Friis)"
<e...@novozymes.com> wrote:
> 
> 
> Hi PyMOLers
> 
> We recently bought Asus V278H monitors, which displays nice stereo
under Linux (Ubuntu 12.04).  The monitors were bundled with Nvidia 3D
vision v2 glasses. We have Quadro FX5800 cards, but we do NOT use the
3-pin stereo port, but rather the built-in emitter in the monitors. I
have pasted my notes from the installation below. Is works with PyMOL as
well as other OpenGL applications, such as VMD, Accelrys Discovery
studio, CCDC GOLD/Hermes, Yasara, etc.
> Cheers,
> 
> Esben
> 
> Asus VG278H flat panel 3D screens and Ubuntu 12.04
> These screens have built-in emitters that actually work under Linux,
with Nvidia drivers version 310 or newer. (These drivers are packaged in
Ubuntu 12.04, so they're easy to install)
> Install by closing X and install:
>  sudo service lightdm stop
> use Ctrl-Alt-F1 to swith to a text console and login (possibly, but
not strictly necessary) as root
>  wajig install nvidia-experimental-310
> 
> /etc/lightdm/lightdm.conf
> This file is very important for geting the right video mode for the
login screen (via the script in /etc/X11/set_1920x1080.sh, otherwise the
X-server doesn't start at all). It also makes sure that the username has
to be typed instead of selected from a list (very important when the
system has many users)
> [SeatDefaults]
> user-session=ubuntu
> greeter-session=unity-greeter
> greeter-show-manual-login=true
> greeter-hide-users=true
> display-setup-script=/etc/X11/set_1920x1080.sh
> session-setup-script=/etc/X11/set_1920x1080.sh
> 
> /etc/X11/set_1920x1080.sh
> This script calls the xrandr tool to set the videomode
> #!/bin/bash
> xrandr --output DVI-I-3 --mode 1920x1080 --rate 120
> Note!!
> It seems that when everything is installed, there are still some
tweaks to do (not completely sure though)
> 
>  *   Reboot
>  *   For stereo to work the first time, I had to stop lightdm (see
above), switch to a text console and login as normal user, then do
startx to start the X-window system. Now check if stereo works. If so,
then switch back to the text console and kill the X-server (Ctrl-C). The
restart lightdm and login from the graphical login screen. Then it
should work.
> /etc/X11/xorg.conf
> I dont know how important the xorg.conf file actually is, but here's
my copy
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 310.14
 (buildmeis...@swio-display-x86-rhel47-06.nvidia.com)  Tue Oct  9
13:04:01 PDT 2012
> 
> Section "ServerLayout"
>     Identifier     "Layout0"
>     Screen         "Screen0"
>     InputDevice    "Keyboard0" "CoreKeyboard"
>     InputDevice    "Mouse0" "CorePointer"
> EndSection
> 
> Section "Files"
> EndSection
> 
> Section "InputDevice"
>     # generated from default
>     Identifier     "Mouse0"
>     Driver         "mouse"
>     Option         "Protocol" "auto"
>     Option         "Device" "/dev/psaux"
>     Option         "Emulate3Buttons" "no"
>     Option         "ZAxisMapping" "4 5"
> EndSection
> 
> Section "InputDevice"
>     # generated from default
>     Identifier     "Keyboard0"
>     Driver         "kbd"
> EndSection
> 
> Section "Monitor"
>     Identifier     "Monitor0"
>     VendorName     "Unknown"
>     ModelName      "Unknown"
>     HorizSync       28.0 - 400.0
>     VertRefresh     43.0 - 120.0
>     Option         "DPMS"
> EndSection
> 
> Section "Device"
>     Identifier     "Device0"
>     Driver         "nvidia"
>     VendorName     "NVIDIA Corporation"
> EndSection
> 
> Section "Screen"
>     Identifier     "Screen0"
>     Device         "Device0"
>     Monitor        "Monitor0"
>     DefaultDepth    24
>     Option         "NoPowerConnectorCheck" "True"
>     Option         "UseEdid" "True"
>     Option         "ModeDebug" "True"
>     Option         "Stereo" "10"
>     Option         "3DVisionDisplayType" "1"
>     SubSection     "Display"
>         Depth       24
>     EndSubSection
> EndSection
> 
> Section "Extensions"
>     Option         "Composite" "Disable"
> EndSection
> 
> 
> 
> Best Regards
> Esben Peter Friis
> Science Manager
> 
> Novozymes A/S
> Krogshoejvej 36
> 2880 Bagsvaerd Denmark
> Phone: +45 44461334
> Mobile: +45 30771334
> E-mail: e...@novozymes.com
> -----------------------------------
> Don't print today - contribute to a better environment tomorrow
> -----------------------------------
> Novozymes A/S (reg. no.:10007127). Registered address: Krogshoejvej 36
DK-2880 Bagsvaerd, Denmark
> This e-mail (including any attachments) is for the intended
addressee(s) only and may contain confidential and/or proprietary
information protected by law. You are hereby notified that any
unauthorized reading, disclosure, copying or distribution of this e-mail
or use of information herein is strictly prohibited. If you are not an
intended recipient you should delete this e-mail immediately. Thank you.
> From: Max Ferretti [mailto:mferr...@scripps.edu]
> Sent: 10. december 2012 17:22
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] Viewing PyMol in 3D
> 
> Hey everyone,
> 
> Does anyone have experience setting up pymol to be viewed in 3D with
glasses? I'm hoping to build a system for this purpose.
> 
> >From what I have read, I will need a recent NVidia Quadro card and a
3D-capable LCD monitor with a resolution of at least 120Hz. I'm not sure
if I need to be more specific than that (if there are particular
cards/monitors that are known to work/not work). I'm also not quite sure
if this is possible on Windows 7. I've seen reports of people doing this
with Windows XP and Vista, but I would prefer to avoid those operating
systems.
> 
> Any suggestions or advice would be greatly appreciated.
> 
> -Max F

Dr Jeff Johns
Melatonin Research Group
Faculty of Pharmaceutical Sciences
Khon Kaen University
Khon Kaen 40002
Thailand
Phone: +66 (0)43 202 378
Email: jj...@kku.ac.th
Alternative email: jeffjohn...@hotmail.com

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to