Re: [GtkGLExt] stencil buffer
- From: "Marcelo E. Magallon" <mmagallo debian org>
- To: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] stencil buffer
- Date: Wed, 15 Sep 2004 12:25:25 -0600
On Wed, Sep 15, 2004 at 07:45:04PM +0200, Daniel Godas wrote:
> id like to use the data from the stencil buffer to generate a bitmap
> mask for a gdkwindow (to change its shape), does anybody know how to
> get this data?
Tricky.
Setup an appropiate stencil function after you have your stencil, and
then draw a large monocromatico Quad, read the contexts of the color
buffer with glReadPixels.
HTH,
Marcelo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]