From: Todd J. Furlong (tfurlong++at++e-motek.com)
Date: 10/11/2001 07:22:46
Hi Alex,
I believe Channel 0 is the GUI in the perfly program because the GUI
briefly appears and then disappears when I try channel 0. I've been
able to almost get stereo using channel 1, and I do an assert (which I
didn't copy over to my e-mail) after getting the pointer to make sure
it's not NULL.
I am setting the stereo window by changing the FBAttrs variable in
generic.C to match the stereo.c example. Does that seem right?
// stereo display attributes
static int FBAttrs[] = {PFFB_RGBA,
PFFB_DOUBLEBUFFER,
PFFB_STEREO,
PFFB_DEPTH_SIZE, 23,
PFFB_RED_SIZE, 1,
PFFB_STENCIL_SIZE, 1,
None,};
Let me try and explain what I see with this approach: I get a stereo
pair that looks fine, but there is an additional ghost image of my
geometry that remains fixed on the screen when I rotate the viewpoint.
Also, the window does not seem to respond to resize commands: it briefly
resizes and then goes back to its original size. Any advice on thses
problems?
-Todd
Alexandre Naaman wrote:
> On Wed, 10 Oct 2001, Todd J. Furlong wrote:
>
> Hi Todd,
>
> Is it possible that:
>
> m_p_pfleft = p_mainpipe->getChan(1); //get main view
>
> is returning a NULL ptr?
>
> should this not be p_mainpipe->getChan(0) ?
>
> Are you setting up the frame buffer attributes on the pfPipeWindow
> properly so that it supports stereo? Sounds like you are but it's not 100%
> clear in your explanation what you've done to "declare the initial window
> as a stereo window".
>
> A+,
>
> Alex.
>
>
This archive was generated by hypermail 2b29 : Thu Oct 11 2001 - 05:21:59 PDT