Reading Z-buffer

New Message Reply Date view Thread view Subject view Author view

Shawn Soeder (shawn_soeder++at++esplt14m-s.grumman.com)
7 Dec 1995 15:02:23 -0500


Hello,

I'm trying to read the z-buffer by calling a routine at the end of perfly's
PostDraw() routine. This routine uses the following gl code:

    readsource(SRC_ZBUFFER);
    lrectread(300,300,500,500,parray);

This doesn't work. If I use SRC_FRONT I can easily read the front buffer.
Is the depth buffer being cleared somewhere in Performer's Draw process?

Thanks,
Shawn


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:07 PDT

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