[osg-submissions] RenderStage - Stencil Buffer is missing (patch)
Art Tevs
stud_info2 at yahoo.de
Thu Apr 24 15:42:55 PDT 2008
Hi Robert,
just before the v2.4, there is one line missing in the
current RenderStage.cpp.
In the method runCameraSetup the setup for stencil
buffer is missing. You can see that between the lines
350-359 the stencil attachmetn is missing. I have
attached a patched file. Take a look. I haven't tested
stencil attachment at all, hence I can not be sure if
there is anything missing.
Even more, there are some extensions around, which
enables depth buffer and stencil to be attached into
one RenderBuffer, something like GL_DEPTH_STENCIL_EXT
or GL_DEPTH24_STENCIL8_EXT. I think if we provide the
stencil attachmetn support, then we have to think on
this extensions too. It would be nice if somebody
could test stencil implementation as it is and provide
a patch which includes all this functionality.
Best regards,
Art
__________________________________________________________
Gesendet von Yahoo! Mail.
Mehr Möglichkeiten, in Kontakt zu bleiben. http://de.overview.mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RenderStage.cpp
Type: text/x-c++src
Size: 40935 bytes
Desc: 4034188335-RenderStage.cpp
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080425/851bb236/attachment-0001.cpp
More information about the osg-submissions
mailing list