[GEM-dev] Different Alpha Blending Methods in Alpha Object

ch at chnry.net ch at chnry.net
Fri Nov 23 12:05:02 CET 2012


 Le jeu 22/11/12 18:42, "chris clepper" cgclepper at gmail.com a écrit:
> I really thought Jamie added all of that a long time ago.  I know I
> had versions with all (or most) of the blend modes.  Obviously,
> shaders make it kind of obsolete, so I probably never used the modes
> after 2006 or so.
you can only change blending mode for multitexture. and yes, in this case, shader are more flexible.
cheers
c

> 
> On Thu, Nov 22, 2012 at 7:45 AM, Cyrille Henry  wrote:
> 
> Le 21/11/2012 15:02, Jack a écrit :
> Le 20/11/2012 18:52, Santi a écrit :
> Hello,
> 
> i dont know if this is the right place to write, sorry if dont.
> 
> Im working in a project with PD/Gem and i need more blending methods
> than the original Alpha object has. Ive modified slightliy the file
> alpha.cpp (see atachment) and recompiled Gem. Simply ive add the
> different OpenGL blending mehods to the switch in the function
> funmess(). Some are working in mi system (Debian Wheezy), others are
> the same output than GL_ONE. I like specially GL_ONE_MINUS_SRC_COLOR,
> it doesnt saturate the bright pixels like GL_ONE_MINUS_SRC_ALPHA does.
> 
> My question: Is there any reason to not include different alpha
> blending methods? the modification ive made is very simple and
> obvious, so im thinking about why not had made before... do i have
> lost something?
> 
> Regards and sorry for my english...
> 
> Santi Noreña
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev [1]
> 
> Hello,
> 
> You can use the object [GEMglBlendFunc].
> 
> yes, but i dont see any reason not to include it in the alpha
> object.
> cheers
> c
> 
> ++
> 
> Jack
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev [2]
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev [3]
> 
> 
> 
> Links:
> ------
> [1] http://lists.puredata.info/listinfo/gem-dev
> [2] http://lists.puredata.info/listinfo/gem-dev
> [3] http://lists.puredata.info/listinfo/gem-dev
> 
> 




More information about the GEM-dev mailing list