Re: Multi-channel bug?

New Message Reply Date view Thread view Subject view Author view

Glenn Waldron (gwaldron++at++galileo.hpc.org)
Wed, 20 Mar 1996 08:49:26 -0500 (EST)


>
> In my original version of (b), some parts of the channel are not covered
> by a viewport (the top RHS and the bottom RHS). This appears to be
> causing the problem.
>

When you clear the screen in the draw callbacks, you're probably
calling pfClearChan() which just clears the channel viewports.
Whatever was in the framebuffers before you started is never getting
cleared and the garbage is being displayed.

In the initial draw process callback (where you open the window) try

  cpack(0x0);
  clear();
  swapbuffers();
  clear();

or whatever the OpenGL equivalent is. This clears both framebuffers
before you start.

Glenn.

----------------------------------------------------------------------
Glenn A. Waldron - Sr. Programmer e: gwaldron++at++isi.edu
USC/Information Sciences Institute v: +1 703 812 4732
4350 N. Farifax Dr. Ste. 620 f: +1 703 812 4738
Arlington, Virginia 22203 w: http://www.isi.edu


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:52:34 PDT

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