From: Alexandre Naaman (naaman++at++laplace.engr.sgi.com)
Date: 10/11/2001 17:04:00
On Thu, 11 Oct 2001, Alexandre Naaman wrote:
Just a minor correction ....
seeing as how you've attached your new channel to the "old" one, there's
no need to respecify the draw callbacks.
A+,
Alex.
> On Thu, 11 Oct 2001, Todd J. Furlong wrote:
>
> Hi Todd,
>
> Ok, so you did not mention in your previous mail that you were using code
> based on perfly.
>
> You might want to ensure that your draw callbacks get invoked on the new
> channel that you've created. That might explain the ghosting ...
>
> As for the resizing issue, off hand, I dunno ...
>
> A+,
>
> Alex.
>
> > 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 - 17:04:02 PDT