Re: [info-performer] Quad-buffered stereo

New Message Reply Date view Thread view Subject view Author view

From: Jason Daly (jdaly++at++ist.ucf.edu)
Date: 12/17/2002 15:11:38


> some things off the top of my head:
> - what nvidia driver version? i remember the 23.13/4 being able to supply
> a non-null pointer for multi-sampling but locking up the whole system
> when performer used it. since then we avoid them in our code, so i can't
> say for sure if that still may a problem source.

31.23

> - switching to APPCAULLDRAW and then not getting any signal usually would
> mean there's sth. missing in the arena, e.g. a shared variable setup in
> APP but also needed in CULL/DRAW. from my experience the linux
> implementation is far more unforgiving on that then the irix one

Hmm, I don't pass any channel data at all. My program is set up so that
I can switch from mono to stereo with a key press. In mono, it works
fine. When I switch to stereo, I only seem to get the right eye (the
scene shifts to the right a tad, but otherwise looks normal).

> - the same goes for doing gl related calls from a non-gfx context. under
> APPCULLDRAW that's no problem, forking DRAW and doing gl calls in APP
> will not work. unfortunately the only test for this is to run the whole
> thing on at least two cpu's.

I only make two OpenGL calls at all, and these are made from DRAW
callbacks. I have two overlapping pfChannels, each attached to a DRAW
callback. The callbacks are like this:

glDrawBuffer(GL_BACK_LEFT); (or GL_BACK_RIGHT)
chan->clear();
pfDraw();

> maybe you could strip down your app to the relevant parts (init, setup,
> stereo draw) and maybe someone on the list has an idea where the dragons
> are?

I might have to do that. That'll have to wait, though :-)

Thanks for your ideas.

--"J"


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Dec 17 2002 - 15:14:13 PST

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