Re: [PD] pix_contrast eats up cpu power

2008-10-20 Thread olsen
cyrille henry wrote: hello, i don't understand everything on your mail. i thought adjusting the contrast brightness needs to be done in the frag file - with the update help example its clear! my problem was by modifing the color argument in the frag file i also loose opacity of the whole

Re: [PD] pix_contrast eats up cpu power

2008-10-18 Thread Roman Haefeli
On Fri, 2008-10-17 at 18:25 +0200, cyrille henry wrote: use shader! you'll have to make your own shader, but adjusting color saturation is quite easy. see gem documentation/10.glsl/01.simple_texture it doesn't seem to work on my box. no matter, what shader i load, the texture looks the same.

Re: [PD] pix_contrast eats up cpu power

2008-10-18 Thread cyrille henry
hello, i don't understand everything on your mail. with color = color * 0.1 , then every color component (R, G and B) will be 10 times smaller than the original texture color, so the images will be darker. color value are between 0 and 1, so you can try curve like this : color =

Re: [PD] pix_contrast eats up cpu power

2008-10-18 Thread cyrille henry
Roman Haefeli a écrit : On Fri, 2008-10-17 at 18:25 +0200, cyrille henry wrote: use shader! you'll have to make your own shader, but adjusting color saturation is quite easy. see gem documentation/10.glsl/01.simple_texture it doesn't seem to work on my box. no matter, what shader i

Re: [PD] pix_contrast eats up cpu power

2008-10-18 Thread Roman Haefeli
On Sat, 2008-10-18 at 13:12 +0200, cyrille henry wrote: Roman Haefeli a écrit : On Fri, 2008-10-17 at 18:25 +0200, cyrille henry wrote: use shader! you'll have to make your own shader, but adjusting color saturation is quite easy. see gem documentation/10.glsl/01.simple_texture

Re: [PD] pix_contrast eats up cpu power

2008-10-18 Thread cyrille henry
...Roman Haefeli a écrit : having saturation processed on the gpu would save oli's and my project. I updated the svn in order to add brightness and contrast in the 1st example. hope it will help Cyrille ___ Pd-list@iem.at mailing list

Re: [PD] pix_contrast eats up cpu power

2008-10-18 Thread Roman Haefeli
On Sat, 2008-10-18 at 20:02 +0200, cyrille henry wrote: ...Roman Haefeli a écrit : having saturation processed on the gpu would save oli's and my project. I updated the svn in order to add brightness and contrast in the 1st example. hope it will help hey, thank you so much. it's

[PD] pix_contrast eats up cpu power

2008-10-17 Thread olsen
hi roman me are working on an videoinstallation using gem - only an additional [pix_contrast] in the gem chain hits the processing limit of our computer - is there a way to adjust color saturation in the gpu instead of the cpu in Gem? thanksgreets olsen -- Planet Pluto bleibt!

Re: [PD] pix_contrast eats up cpu power

2008-10-17 Thread cyrille henry
use shader! you'll have to make your own shader, but adjusting color saturation is quite easy. see gem documentation/10.glsl/01.simple_texture cyrille olsen a écrit : hi roman me are working on an videoinstallation using gem - only an additional [pix_contrast] in the gem chain hits the

Re: [PD] pix_contrast eats up cpu power

2008-10-17 Thread olsen
hep cyrille thanks for this hint - though it's my first time using shader - i tweaked around a bit with the example. i changed color saturation towards muchocolore in the texture.frag file. although removing color to get a black white image i'm also loosing opacity f.e. with color = color*