Re: [PD] GEM / pix objects : limiting colours

2007-03-18 Thread Sciss
p.s. [saturate 1( and [saturate 0( _do_ work with [pix_gain], however not with [pix_offset], so maybe you could just copy the behaviour from pix_gain directly to pix_offset? Am 18.03.2007 um 21:54 schrieb Sciss: i managed to build GEM from the CVS, but the problem is same as before (see

Re: [PD] GEM / pix objects : limiting colours

2007-03-18 Thread Sciss
i found a workaround. if i insert a [pix_rgba] object before [pix_offset], it will work (doesn't work without your fix, so thanks a lot for it!). strangely the alpha channel is the first, followed by red, green, blue, so it's really ARGB not RGBA ... 's fine for me know! ciao, -sciss- Am

Re: [PD] GEM / pix objects : limiting colours

2007-03-12 Thread IOhannes m zmoelnig
chris clepper wrote: On 3/11/07, *Sciss* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: mac intel. however the pix_offset help file says When adding an offset to each color-channel, no clipping is done. Thus you can wrap around the color-space, so probably it behaves right,

Re: [PD] GEM / pix objects : limiting colours

2007-03-12 Thread Sciss
ok, but let me know if there's any kind of work around ... i guess internally everything is int8 not float32? because if float32 (-- i don't want to degrade the bit-resolution... --), i could do pix_gain 0.5 before the colourization, then afterwards a pix_gain 2.0 with saturation ...

Re: [PD] GEM / pix objects : limiting colours

2007-03-12 Thread IOhannes m zmoelnig
Sciss wrote: ok, but let me know if there's any kind of work around ... i guess internally everything is int8 not float32? because if float32 (-- i don't want to degrade the bit-resolution... --), i could do pix_gain 0.5 before the colourization, then afterwards a pix_gain 2.0 with

[PD] GEM / pix objects : limiting colours

2007-03-11 Thread Sciss
hi, how can i limit the RGB channels of a film that goes through [pix_film] - [pix_buf] - [pix_gain] - [pix_offset]. right now i get colour wrapping from gain + offset but i want to limit the colours. say i scale down the red channel and i add an offset to the green channel, i don't want

Re: [PD] GEM / pix objects : limiting colours

2007-03-11 Thread Sciss
mac intel. however the pix_offset help file says When adding an offset to each color-channel, no clipping is done. Thus you can wrap around the color-space, so probably it behaves right, only in my case i want to prevent wrapping ... ciao, -sciss- Am 11.03.2007 um 18:13 schrieb chris

Re: [PD] GEM / pix objects : limiting colours

2007-03-11 Thread chris clepper
On 3/11/07, Sciss [EMAIL PROTECTED] wrote: mac intel. however the pix_offset help file says When adding an offset to each color-channel, no clipping is done. Thus you can wrap around the color-space, so probably it behaves right, only in my case i want to prevent wrapping ... The PPC code

Re: [PD] GEM / pix objects : limiting colours

2007-03-11 Thread chris clepper
The colors should not wrap around. What CPU are you using? On 3/9/07, Sciss [EMAIL PROTECTED] wrote: hi, how can i limit the RGB channels of a film that goes through [pix_film] - [pix_buf] - [pix_gain] - [pix_offset]. right now i get colour wrapping from gain + offset but i want to limit the