-----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-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ GEM-dev mailing list [email protected] http://lists.puredata.info/listinfo/gem-dev
