Re: [PyOpenGL-Users] No stencil buffer?
Brought to you by:
mcfletch
From: Gary H. <gh...@is...> - 2009-01-20 06:34:31
|
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? > Thanks a ton, > -JS > How are you creating your window? The window, and any depth/stencil/aux buffers associated with it, are not created by OpenGL, but are part of the context created with the window via what ever method you use to create the window. So I repeat -- what method do you use to create a window, and can you find a way to specify a stencil buffer at that time? Gary Herron > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |