[GEM-dev] stencil
cyrille henry
cyrille.henry at la-kitchen.fr
Sat Mar 4 09:36:44 CET 2006
james tittle a écrit :
> hey cyrille,
>
> On Mar 3, 2006, at 8:54 AM, cyrille henry wrote:
>
>> does anyone have succefully used stencil buffer with GEM?
>>
>> here is what i'm trying to do, without succes...
>
>
> ...this is easy: it's not working because the gemwindow creation
> doesn't request a stencil buffer (at least on osx and linux)! However,
> I just committed a small change to the osx code that indeed does enable
> the stencil buffer, and it should be just as easy to do for linux and
> windows...after doing so, the patch works as expected...
thanks.
i'll look at your change.
>
> ...this does bring up an issue: should we always create the additional
> buffers (ie. depth, stencil, accumulation, aux), or should we create a
> message for gemwin to selectively enable/disable these before window
> creation? Currently on osx, 24bit depth and 8bit stencil buffers are
> created, and on linux it just creates a 16bit depth buffer...
i personnally don't know. what's the pros and cons?
thanks
Cyrille
>
> time to go out,
> jamie
>
>
>
More information about the GEM-dev
mailing list