[PyOpenGL-Users] Reading Depth Component - not working anymore?
Brought to you by:
mcfletch
From: Hart's A. <bha...@ya...> - 2007-12-28 18:44:27
|
I am using the latest pyopengl (ctypes based) release for Ubuntu Gusty. I am unable to read the zbuffer using glreadpixels GL_DEPTH_COMPONENT, my function had worked before with the much older pyopengl2.x series. I'm not sure if this is a bug in new ctypes-pyopengl or is it my ATI drivers not supporting that feature. I'm wondering if anybody has had any luck doing this? One note is that i can read the zbuffer directly into a texture (for shadows) with no problem using glCopyTexSub2d. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |