Re: [PyOpenGL-Users] Reading Depth Component - not working anymore?
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2007-12-28 18:55:52
|
Hart's Antler wrote: > 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. > If you can send me a sample script that demonstrates the problem I can far more easily fix the bug. It does sound like a bug, incidentally. The image handling code is completely rewritten, so it's not unlikely there would be differences between the old and new implementations. Take care, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |