Depth buffer reading problem

  • Follow


Hello,

I have problem to read depth buffer and display it.
It works good on older graphics cards but on cards with hardware
acceleration is some problem. As depth map are displayed only strips
or dots.

I have reported that geforce MMX 400 with installed reference drivers
6.31 works OK.

Not working on newer nvidia drivers and ati too.

Any idea where may be problem?


      glReadPixels(0, 0, BufWidth, BufHeight, GL_DEPTH_COMPONENT,
GL_UNSIGNED_INT, PTR);

the same if used float

thanks
0
Reply vrece 2/3/2004 12:48:07 PM


0 Replies
152 Views

(page loaded in 0.012 seconds)

Similiar Articles:













7/26/2012 2:42:12 PM


Reply: