Wilfried Zeise (zeise++at++uni-wuppertal.de)
Wed, 1 Apr 1998 11:02:03 +0200
Thanks to Mario and Rob for their answers regarding my Z-buffer problem. I
am using IRIX 6.2, so multisampling shouldn't be the problem for
glReadPixels.
When I use glReadPixels(...,GL_DEPTH_COMPONENT,...) in a simple Performer
program, like simple.c in the programming guide, it works fine. I want to
use glReadPixels in perfly, because we made some extensions to this program.
In perfly this command doesn't work. It gives me for every pixel the Z-value
1.0!
Is there a kind of "pre-condition" for the use of glReadPixels with
GL_DEPTH_COMPONENT? Which part of perfly prevents me from reading the
Z-buffer? Is there an OpenGL or Performer command, that forbids to read the
depth buffer?
Thanks
Wilfried
Wilfried Zeise
University of Wuppertal
=======================================================================
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:57:10 PDT