[PD] GEM / pix objects : limiting colours

IOhannes m zmoelnig zmoelnig at iem.at
Mon Mar 12 11:15:25 CET 2007

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  
> saturation ...

right, gem handles colors as 8bit integer values, so you are out of luck

however, i just added the changes for saturated maths in [pix_offset] to
the CVS, so check it out recompile and report whether it works as expected.


More information about the Pd-list mailing list