Re: [PyOpenGL-Users] No stencil buffer?
Brought to you by:
mcfletch
From: Lorenzo M. <lma...@de...> - 2009-01-20 09:14:41
|
Jordan Sorensen wrote: > I've been developing a simple application using PyOpenGL for a few weeks > now, and trying to add a feature that requires use of the stencil > buffer. However, the stencil buffer doesn't seem to be working- all > pixels pass the test, even when the test is GL_NEVER. > glGetInteger(GL_STENCIL_BITS) returns 0, but running glxinfo on my > machine shows that my graphics card supports an 8 bit stencil buffer. > I'm running Ubuntu and my graphics card is an nVidia GeForce Go 7300. > Anyone have any ideas? IIRC the stencil buffer shares the available bits of the depth buffer; thus, the choice is between having a 24 bit depth buffer with no stencil buffer and a 16 bit depth buffer with 8 bit stencil buffer. -- Lorenzo Mancini |