Hi Gerrit,

2010/6/16 Gerrit Voß <vo...@vossg.org>:
>
> Hi,

> one question, is GL_STENCIL_INDEX just the debugger output as usually it
> should be something like GL_STENCIL_INDEX8 ?
>
> But from http://www.opengl.org/wiki/GL_EXT_framebuffer_object#Stencil
>
> Stencil
> NEVER EVER MAKE A STENCIL buffer. All GPUs and all drivers do not
> support an independent stencil buffer. If you need a stencil buffer,
> then you need to make a Depth=24, Stencil=8 buffer, also called D24S8.
> Please search for the example about GL_EXT_packed_depth_stencil on this
> page.
>
> Could you give this a try instead.

Thanks for this hint, it was not just debugging output, I set it
wrongly to GL_STENCIL_INDEX.
But even corrected it does not work.


Another question:
Do I have to set the _sfImage Field of the Renderbuffers?
I did not do that for the Depthbuffer and it worked, so I didn't set
the Image of the Stencilbuffer either.
And if I have to set the Images, which OSG-Imageformat corresponds to
GL_STENCIL_INDEX8_EXT and GL_DEPTH_COMPONENT24?

Could this be the missing attachment?


Thanks,
Constantin

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to