Stereo in a X Window

New Message Reply Date view Thread view Subject view Author view

Daniela Rainer (zrgr0390++at++visin2.rus.uni-stuttgart.de)
Wed, 12 Jun 1996 14:09:30 +0000


Hi,

I asked this question several times but never got a answer. My problem is
stereo in Performer in a X Window.

 - I use STR_BOT to switch to stereo mode

 - open a pfPipeWindow and set the type to
        pfPWinType(pw, PFPWIN_TYPE_X);

 - choose a framebuffer configuration
        pfChoosePWinFBConfig(pw, FBAttr) with
           FBAttr[] = {PFFB_RGBA, PFFB_DOUBLEBUFFER, PFFB_STEREO, NULL};

 - init the two channels

 - init the view with the view offsets

 - in the PreDraw-Callback I set alternating
        XSGISetStereoBuffer(xdisplay, glWindow, STEREO_BUFFER_LEFT);
        XSGISetStereoBuffer(xdisplay, glWindow, STEREO_BUFFER_RIGHT);

It seems that XSGISetStereoBuffer doesn't have any effect because I only see
the leftbuffer.

Is there anybody who has a working PERFORMER program with stereo in a X window?
(I only have examples in GL and OpenGL).

Any idea what I'm doing wrong or if there is a bug in the framebuffer
configuration for the pfPipeWindow of type X ?

Thanks for any help

Daniela

-- 
----------------------------------------------------------------------------
Daniela Rainer

rainer++at++rus.uni-stuttgart.de Tel.: ++49-(0)711-685-5970 ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html 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 2.0b2 on Mon Aug 10 1998 - 17:53:00 PDT

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