Hi everyone,
I'm trying to use the stencil buffer to render only parts of the final
image through other graph-attached cameras. The app works fine on ATI
hardware but NVIDIA fails. OpenGL reports that the stencil buffer has
only 0 bits (which is 8 bits on ATI, via
glGetInterv(GL_STENCIL_BUFFER_BITS) in a DrawCallback). I have tested
this on various linux boxes (Ubuntu 9.04, Fedora 11) with recent
hardware and recent drivers.
I'm pretty sure that a stencil buffer is available on this hardware
because OSG seems to be able to utilize it (stereo-mode in
osgUtil::SceneView uses stenciling and works fine). I'm pretty sure I've
missed something. Is there anything special to do to get or enable a
stencil buffer on Nvidia?
Thanks for your help and your time!
Nice greetings
Mathias Buhr
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org