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
Le 20/11/2012 18:52, Santi a écrit :
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
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
Hello,
You can use the object [GEMglBlendFunc]. ++
Jack
Le 21/11/2012 15:02, Jack a écrit :
Le 20/11/2012 18:52, Santi a écrit :
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
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
Hello,
You can use the object [GEMglBlendFunc].
yes, but i don't see any reason not to include it in the alpha object. cheers c
++
Jack
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
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.
On Thu, Nov 22, 2012 at 7:45 AM, Cyrille Henry ch@chnry.net wrote:
Le 21/11/2012 15:02, Jack a écrit :
Le 20/11/2012 18:52, Santi a écrit :
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
______________________________**_________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/**listinfo/gem-devhttp://lists.puredata.info/listinfo/gem-dev
Hello,
You can use the object [GEMglBlendFunc].
yes, but i don't see any reason not to include it in the alpha object. cheers c
++
Jack
______________________________**_________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/**listinfo/gem-devhttp://lists.puredata.info/listinfo/gem-dev
______________________________**_________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/**listinfo/gem-devhttp://lists.puredata.info/listinfo/gem-dev
Le 22/11/2012 13:45, Cyrille Henry a écrit :
Le 21/11/2012 15:02, Jack a écrit :
Le 20/11/2012 18:52, Santi a écrit :
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
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
Hello,
You can use the object [GEMglBlendFunc].
yes, but i don't see any reason not to include it in the alpha object.
Because it still exists in the [GEMglBlendFunc] :) Seriously, as Chris says it's better to use shaders now, it's more flexible. ++
Jack
cheers c
++
Jack
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
On 11/20/2012 06:52 PM, Santi wrote:
Hello,
i don't know if this is the right place to write, sorry if don't.
definitely the right place.
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...
applied.
do i have lost something?
in the future it would be nice if you could provide a patch from the current git-master (preferrably generated using "git format-patch").
gmsdr IOhannes