SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] scirun apps in stereo?


Chronological Thread 
  • From: Martin Cole <mjc@sci.utah.edu>
  • To: Ian Miller <ian_o_miller@yahoo.com>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] scirun apps in stereo?
  • Date: Thu, 06 Sep 2007 09:08:30 -0600

"our stereo" is a bit overstated.  We simply use OpenGL to achieve
stereo.  We render left and right eye scenes to GL_BACK_LEFT, and
GL_BACK_RIGHT if the user selects stereo. (which can be done, once an
stereo capable context is available)

The rest is up to the driver and the graphics card.

We regularly use shutter glasses stereo, so I guess I am preconditioned
to think in those terms :)

--mc


On Wed, 2007-09-05 at 18:48 -0700, Ian Miller wrote:
> Martin,
> 
> I'm also interested in setting up stereo for a medical application. I
> am currently trying to get funding for a polarized projector setup
> along the lines of the geowall project
> (http://geowall.geo.lsa.umich.edu/intro.html).
> 
> Since you mentioned that "our stereo is set up for shutter glasses", I
> just wanted to make sure that SCIRun would be able to be set up for
> the polarized application.
> 
> Thanks in advance.
> 
> ian
> 
> 
> Martin Cole <mjc@sci.utah.edu> wrote:
>         Ok so this really requires more information. Our stereo is set
>         up for
>         shutter glasses. This means you need to have a display device
>         that can
>         refresh quickly enough. (~120Hz) It sounds like you have
>         this... This
>         gives us left and right eye at 60Hz each... I know we have
>         made this
>         work at a lower refresh rate for a larger display. If I
>         remember
>         correctly Option "Stereo" "3" is correct for shutter glasses.
>         
>         When I first got this working on linux, I had to have a Quadro
>         card to
>         get stereo enabled in the driver, I'm not sure if this is
>         still true. 
>         
>         We attempt to get a context that supports stereo when you
>         start up, if
>         you can get such a context the stereo button will not be
>         greyed out.
>         
>         I haven't done this myself for a number of years, but if you
>         need
>         additional help I am happy to do so.
>         
>         --mc
>         
>         
>         On Wed, 2007-09-05 at 13:25 -0600, Martin Cole wrote:
>         > You want Option "Stereo" "3"
>         > 
>         > --mc
>         > 
>         > On Wed, 2007-09-05 at 14:07 -0400, Jack Gundrum wrote:
>         > > Hi Chems,
>         > > 
>         > > The Stereo option shows up in VMD for example but I did
>         have to edit the 
>         > > code for ParaView and change the default stereo option
>         from
>         > > red-green to "crystal eyes stereo" to get the frame
>         sequential stereo 
>         > > to work. 
>         > > 
>         > > What is the default stereo mode for SciRun??? My graphics
>         driver 
>         > > is configured for stereo and it is working - see config
>         file below
>         > > 
>         > >
>         
> -------------------------------------------------------------------------------------------------------------------
>         > > 
>         > > nvidia-xconfig: version 1.0 (buildmeister@builder26) Mon
>         Feb 26 
>         > > 23:37:58 PST 2007
>         > > The NVIDIA X Configuration Tool.
>         > > 
>         > > This program is used to manipulate X configuration files,
>         specifically 
>         > > to enable
>         > > NVIDIA X driver functionality.
>         > > 
>         > > Copyright (C) 2005 NVIDIA Corporation.
>         > > 
>         > > [root@vislab1 ~]# nvidia-xconfig -t
>         > > 
>         > > Using X configuration file: "/etc/X11/xorg.conf".
>         > > 
>         > > ServerLayout "Default Layout"
>         > > |
>         > > |--> Screen "Screen0"
>         > > | |
>         > > | |--> Monitor "Monitor0"
>         > > | | |
>         > > | | |--> VendorName "Unknown"
>         > > | | |--> ModelName "Unknown"
>         > > | | |--> HorizSync 
>         > > | | |--> VertRefresh 
>         > > | | |--> Option "DPMS"
>         > > | |
>         > > | |--> Device "Videocard0"
>         > > | | |--> Driver "nvidia"
>         > > | | |--> VendorName "Videocard Vendor"
>         > > | | |--> BoardName "nVidia Corporation G70GL [Quadro 
>         > > FX4500]"
>         > > | |
>         > > | |--> Option "TwinView" "true"
>         > > | |--> Option "TwinViewOrientation" "Clone"
>         > > | |--> Option "MetaModes" "1400x1050,1400x1050; 
>         > > 1280x1024,1280x1024"
>         > > | |--> Option "ConnectedMonitor" "dfp,dfp"
>         > > | |--> Option "Stereo" "4"
>         > > | |--> DefaultColorDepth 24
>         > > | |--> Modes "1400x1050; 1280x1024"
>         > > |
>         > > |--> InputDevice "Mouse0"
>         > > | |
>         > > | |--> Driver "mouse"
>         > > | |--> Option "Protocol" "auto"
>         > > | |--> Option "Device" "/dev/input/mice"
>         > > | |--> Option "Emulate3Buttons" "no"
>         > > | |--> Option "ZAxisMapping" "4 5"
>         > > | |--> Option "CorePointer"
>         > > |
>         > > |--> InputDevice "Keyboard0"
>         > > | |
>         > > | |--> Driver "kbd"
>         > > | |--> Option "XkbModel" "pc105"
>         > > | |--> Option "XkbLayout" "us"
>         > > | |--> Option "CoreKeyboard"
>         > > |
>         > > 
>         > > 
>         > > Extensions
>         > > |
>         > > |--> Option "Composite" "Disable"
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > 
>         > > Touati wrote:
>         > > > HI Jack,
>         > > >
>         > > > I've been trying to understand this better myself. I've
>         had some 
>         > > > success with stereo video in SCIRun using an xorg.conf
>         file that was 
>         > > > provided to me by a vendor. Once the settings are
>         configured 
>         > > > correctly for your hardware, the stereo check box should
>         be available 
>         > > > in Viewer Options.
>         > > >
>         > > > I think the important parts are the Modeline settings:
>         > > >
>         > > > Modeline "1400x1050_96_GTF" 205.45 1400 1512 1664 1928
>         1050 1051 
>         > > > 1054 1110 -HSync +Vsync
>         > > >
>         > > > and the Monitor definition:
>         > > >
>         > > > Section "Monitor"
>         > > > Identifier "Monitor[0]"
>         > > > VendorName "Monitor Vendor"
>         > > > ModelName "DP8000"
>         > > > HorizSync 25.0 - 108.0
>         > > > VertRefresh 50.0 - 256.0
>         > > >
>         > > > here is a link to the complete file:
>         > > >
>         > > >
>         http://solar.sci.utah.edu/software/SCIRun/stereo/xorg.conf.txt
>         > > >
>         > > > I wish I could be more help. Hope this helps you get
>         started towards 
>         > > > a solution.
>         > > >
>         > > >
>         > > >
>         > > > Regards,
>         > > >
>         > > > //cheMs
>         > > >
>         
> -----------------------------------------------------------------------
>         > > > Chems Touati
>         > > > Producer and Motion Graphics Designer
>         > > > Visual Supercomputing Center
>         > > > chems@sci.utah.edu 
>         > > > 801.581.4772
>         > > >
>         > > > SCI Institute, University of Utah
>         > > > http://www.sci.utah.edu
>         > > >
>         > > >
>         > > >
>         > > >
>         > > >
>         > > > On Sep 4, 2007, at 12:25 PM, Jack Gundrum wrote:
>         > > >
>         > > >> Hi,
>         > > >>
>         > > >> I am trying to use SciRun in stereo but the radio
>         button under Viewer 
>         > > >> Options to turn on stereo it is grayed out.
>         > > >> I use frame sequential stereo for other apps on my
>         machine and would 
>         > > >> like to know how to run SciRun in stereo?
>         > > >>
>         > > >> I am running Redhat EL 5 and my graphics card is an FX
>         4500 which I 
>         > > >> have set to run in twinview clonemode stereo. -any
>         ideas would be 
>         > > >> helpfull
>         > > >> -thanks.
>         > > >>
>         > > >>
>         
> ===========================================================================
>         > > >> == The SCIRun Users mailing list: send email to 
>         > > >> majordomo@sci.utah.edu ==
>         > > >> == for more details. 
>         > > >> ==
>         > > >> == Please acknowledge use of SCIRun in your papers and
>         reports: 
>         > > >> ==
>         > > >> == see
>         http://software.sci.utah.edu/scirun-biopse_citation.bib ;
>         > > >> ==
>         > > >>
>         
> ===========================================================================
>         > > >
>         > > 
>         > >
>         
> ===========================================================================
>         > > == The SCIRun Users mailing list: send email to
>         majordomo@sci.utah.edu ==
>         > > == for more details. ==
>         > > == Please acknowledge use of SCIRun in your papers and
>         reports: ==
>         > > == see
>         http://software.sci.utah.edu/scirun-biopse_citation.bib ==
>         > >
>         
> ===========================================================================
>         > 
>         >
>         
> ===========================================================================
>         > == The SCIRun Users mailing list: send email to
>         majordomo@sci.utah.edu ==
>         > == for more details. ==
>         > == Please acknowledge use of SCIRun in your papers and
>         reports: ==
>         > == see
>         http://software.sci.utah.edu/scirun-biopse_citation.bib ==
>         >
>         
> ===========================================================================
>         
>         
> ===========================================================================
>         == The SCIRun Users mailing list: send email to
>         majordomo@sci.utah.edu ==
>         == for more details. ==
>         == Please acknowledge use of SCIRun in your papers and
>         reports: ==
>         == see http://software.sci.utah.edu/scirun-biopse_citation.bib
>         ==
>         
> ===========================================================================
> 
> 
> 
> 
> ______________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search that gives answers, not web
> links. 

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page