I do agree with chris, the user should not have to care too much about color conversion, and as pix_rbga is only needed to convert film output to Gem "native" colorspace it could be done in the film objects themselves.
Guenter
On Wed, 7 May 2003, chris clepper wrote:
- [pix_rgba]
on mac this used to produce the wrong colours. i think the rgba-format for mac is GL_ABGR_EXT, so i changed it to this (but i have not tested it)
pix_rgba should have no function on OSX at all. i had #ifdef'd out all of the code that would do anything. frankly this object is really pointless as the film/video object should decompress to the correct display format. i've never had to use this object in any GEM patch, it may be useful for implicit color-conversion, but that's about it. also, the correct format for OSX is GL_BGRA_EXT. i don't think the one you have above even exists. anyway i will just ifdef out the changes so the object has no effect again.
cgc
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev