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

Santi belfegor at gmail.com
Tue Nov 20 18:52:06 CET 2012


Hello,

i don't know if this is the right place to write, sorry if don't.

I'm working in a project with PD/Gem and i need more blending methods than
the original Alpha object has. I've modified slightliy the file alpha.cpp
(see atachment) and recompiled Gem. Simply i've 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 doesn't 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 i've made is very simple and obvious, so i'm
thinking about why not had made before... do i have lost something?

Regards and sorry for my english...

Santi Noreña
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20121120/dc430975/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alpha.cpp
Type: text/x-c++src
Size: 5121 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20121120/dc430975/attachment.cpp>


More information about the GEM-dev mailing list