[GEM-dev] pull_request - pix_noise

IOhannes m zmoelnig zmoelnig at iem.at
Thu Dec 15 17:07:57 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-12-15 14:47, Nicolas Montgermont wrote:
> 
> 
> Le 15/12/11 14:03, IOhannes m zmoelnig a écrit :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 2011-12-15 13:35, Nicolas Montgermont wrote:
>>> Le 14/12/11 15:54, IOhannes m zmoelnig a écrit :
>>>> btw, i pushed a cleaned up version.
>>> The [Grey( message is now generating a blue image.
>> unable to reproduce. [GREY(, [GRAY(, [grey( and [gray( all produce
>> greyscale images, with no need to [bang(, [set( or whatever.
>>
> using pix_noise-help.pd patch and clicking on the message create and
> then on the message GREY
> Macbook Pro 2.4GHz osx 10.6.8
> Pd-extended-0.42.5
> Gem ver: 0.93.git 5284ad0
> 

i had a look and found the following:
- - the code was always buggy :-)
- - it used fixed color offsets within pixels (e.g. "3" for "blue"), which
is simply wrong on OSX. Gem has special constants "chRed",... for
platform independent color offsets.
- - i also changed the color-type from GL_RGBA to GL_RGBA_GEM, which will
actually do the same (GL_RGBA on w32&linux and GEM_BGRA_EXT on osx) but
with less confusion :-)

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7qG1oACgkQkX2Xpv6ydvSfjwCgqNv008XJ/H8sVwqteNdGFEiK
L+oAn18msJ18kBYF6X6dOoP9CpfECQIj
=7Enf
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20111215/1f6ed4c0/attachment.bin>


More information about the GEM-dev mailing list