Re: [info-performer] RE: Stereo in Windows?

New Message Reply Date view Thread view Subject view Author view

From: c.mottram (ucftchr++at++ucl.ac.uk)
Date: 02/27/2003 03:08:14


What should work....
Maybe I'm totally wrong as I haven't had a chance to try it yet!
I think you have to render both channels to a single window using separate
back buffers

glDrawBuffer(GL_BACK_RIGHT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
draw the right eye
glDrawBuffer(GL_BACK_LEFT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
draw the left eye

then call

swapBuffers();

I'm not sure of the exact performer syntax for this I'm afraid, But as long
as there is a single swapbuffers after you've drawn your left and right eyes
the hardware should take over and make sure that alternating left and right
eyes are sent down the cable at whatever refresh rate you're running at.
Hope this is right....
Cheers
Chiron

At 19:14 26/02/2003 +0100, you wrote:
>Thank you for the info.
>
>Anyone knows if there is a software solution (such as Softgenlock for
>Linux or similar) for Windows? If not, do you any place/web where I can
>find the circuit design/scheme to split the refresh rate?
>
>Thanks again.
>
>
>
>Vicente de Miguel Soria wrote:
>
>> Hello everybody.
>>
>> I'm trying to implement a 3D stereo Performer application.
>>
>> I'm trying now to do the stereo IN the Performer application, with
>> PFFB_STEREO, glDrawBuffer (LEFT and RIGHT), etc... It seems to work,
>but
>> the synch between the Performer refresh and the glasses it's not
>correct
>> and I don't know how to fix it.
>>
>> Anyone has any idea or has tested this?
>>
>>
>
>I have recently done active stereo on MS-Windows using Performer3.0.
>See my recent postings on pfAPC for details (anonymous ftp
>mars.imti.nrc.ca,
>cd public/downloads).
>
>We had the same problem with stereo on PC hardware on both Linux
>and MS-Windows. We solved it with a small, inexpensive circuit and a
>couple of connectors.
>
>Connected in-line with the video out, and powered from most video out
>connections, we placed a circuit to divide the refresh rate in half.
>Find
>the
>signal which runs at your refresh rate - say 120Hz - and divide it down
>to
>60Hz. Use this 1/2 rate to drive your Crystaleyes emitter. We put a
>switch
>in the circuit to select either the normal or inverted output from the
>divider
>so that we could swap left and right eye sync. Works good!
>
>Of course, my pfAPC library has a feature where you can swap left and
>right eyes in any stereo mode - all done in software with a single key
>press.
>
>Good luck!
>
>Dan.Johnston++at++nrc.gc.ca
>
>--
> ___|__ |
> / | \ ||\ Daniel (Dan) Johnston
> /___|___\ || \ Dan.Johnston++at++nrc.gc.ca
> _____|____ || \ National Research Council of Canada, London, ON
> | | | || \ Integrated Manufacturing Technologies Institute
>\___| | | ||____\ Tel: (519) 430-7081 Fax: (519) 430-7090
> \_o_\___|____|_|______\_ Inst: http://www.nrc.ca/imti
> \ o / These opinions are my own! Not those of NRC.
> \________________/ Virtual Reality:
> http://www.nrc.ca/imti/vetc/home.html
> More Tall Ships - Fewer Computers!
>
>
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-----------------------------------------------------------------------
>
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-----------------------------------------------------------------------
>
>
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Feb 27 2003 - 03:09:02 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.