[PD] pix_mask and gemframebuffer

cyrille henry ch at chnry.net
Wed Nov 9 13:07:44 CET 2011


hello,
pix_masque need a pix, not a texture.
(one is in the CPU, the other in the GPU).
you need a pix_snap to pass the texture to a pix object.
beware, this is slow.
i recommend using a shader to emulate pix_masque, but using 2 texture and not 2 pix.
it will be hundred time faster.


Cyrille


Le 09/11/2011 11:52, Max a écrit :
> dear list,
>
> i'm trying to generate a b/w mask in gemframebuffer for a pix_mask
> pix_mask seems to ignore the texture from gemframbuffer.
> hints appreciated.
> m.
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list