Hi list,
I am puzzled by a simple problem in Gem but am unable to find a solution from Gem's documentation:
Playing back anim-1.mov from one pix_film object and forking the pix-stream using [t a a] in order to be able to crossfade between its color and greyscale version, I am getting a grey picture in the unmodified branch as soon as the right outlet of [t a a] is connected to [pix_2grey] inlet, even with that object's outlet being left unconnected. (see attached patch) I don't understand why this happens, I have checked all colorspaces with [pix_info] and they are alike (RGBA). Is there a better way to crossfade between a color image and its grayscaled version?
Thanks for all ideas! Peter
Hello Peter,
See the help about [pix_separator]. You can also use shaders (using textures) to accomplish your aim. ++
Jack
Le 14/09/2016 à 23:21, Peter P. a écrit :
Hi list,
I am puzzled by a simple problem in Gem but am unable to find a solution from Gem's documentation:
Playing back anim-1.mov from one pix_film object and forking the pix-stream using [t a a] in order to be able to crossfade between its color and greyscale version, I am getting a grey picture in the unmodified branch as soon as the right outlet of [t a a] is connected to [pix_2grey] inlet, even with that object's outlet being left unconnected. (see attached patch) I don't understand why this happens, I have checked all colorspaces with [pix_info] and they are alike (RGBA). Is there a better way to crossfade between a color image and its grayscaled version?
Thanks for all ideas! Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Thank you Jack,
Indeed! I was aware of the GL separate object but didn't know that I had to use the same approach for pixes. Somehow I feel this could be mentioned in some GEM docs (but where?). Thank you for your kind reply! I am curious how it could be done using shaders, but am quite happy the way things are working now!
all the best, Peter
Hello Peter,
See the help about [pix_separator]. You can also use shaders (using textures) to accomplish your aim. ++
Jack
Le 14/09/2016 à 23:21, Peter P. a écrit :
Hi list,
I am puzzled by a simple problem in Gem but am unable to find a solution from Gem's documentation:
Playing back anim-1.mov from one pix_film object and forking the pix-stream using [t a a] in order to be able to crossfade between its color and greyscale version, I am getting a grey picture in the unmodified branch as soon as the right outlet of [t a a] is connected to [pix_2grey] inlet, even with that object's outlet being left unconnected. (see attached patch) I don't understand why this happens, I have checked all colorspaces with [pix_info] and they are alike (RGBA). Is there a better way to crossfade between a color image and its grayscaled version?
Thanks for all ideas! Peter
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
hello
Le 15/09/2016 à 21:34, Peter P. a écrit :
[...] I am curious how it could be done using shaders,
open the 1st shader exemple patch (GEM/exemples/10.glsl/01.simple_texture.pd) load the shader (using the bang), and play with the contrast (from -1 to 0 for grey to color).
cheers c