Allan Schaffer (aschaffe)
Fri, 13 Sep 1996 16:31:36 -0700
Are you using a multisample visual? If so, it won't work --
glReadPixels can only read the 'regular' Z buffer. It's not possible
to read the multisample Z buffer (either on RE or IR).
I would wager you get zero's because the call to glReadPixels is
reading the standard Z buffer, but none of the "real" Z data is
stored there.
If that's not it -- i also have a vague recollection that texture
needs to be disabled for glReadPixels to work..
Allan
--
Allan Schaffer aschaffe++at++sgi.com
Silicon Graphics http://reality.sgi.com/aschaffe
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:32 PDT