Quoting rat@telecoma.net:
thx a lot for checking and solving, i guess gige is also looking for the problem, maybe we should inform the others that u found the problem ?
damn webmail interfaces. ;) hopefully this will make it to the list.
On Thu, 31 Jul 2003 cgc@humboldtblvd.com wrote:
Quoting rat@telecoma.net:
more info: the change which leads to the non alpha thingi must have happend after 15th of may. i m helping a student with a project and he uses the bogusfront windows binaries, and with the 2003-05-15 ones it still works.
erich
Ok, this helped a ton in finding the problem. In pix_texture I
hardcoded GL_RGB
as the internal texture format, and forgot to add in the code to have
it switch
on the fly. The previous code for setting the internal GL format was
wrong, so
I will try and correct this tonight when I get back on a GEM CVS
machine.
If you need to fix this ASAP and can't wait for a commit, then change
the
GL_RGB8 in glTexImage2D to GL_RGBA (it's about line 265 in
pix_texture).
Sorry about this, I was mainly trying to assure the fastest possible
YUV and
rectangle texture path on OSX and forgot to test alpha functions
before the commit.
cgc
On Thu, 31 Jul 2003 cgc@humboldtblvd.com wrote:
Quoting rat@telecoma.net:
thx a lot for checking and solving, i guess gige is also looking for the problem, maybe we should inform the others that u found the problem ?
#ifdef COMPLAIN Yes, I have been trying to look into it a bit, but the coding style is really scary .... There must be better ways to do that ? #elif BE_NICE Great that you found the bug .... #else #endif
Greetings, Guenter
damn webmail interfaces. ;) hopefully this will make it to the list.
On Thu, 31 Jul 2003 cgc@humboldtblvd.com wrote:
Quoting rat@telecoma.net:
more info: the change which leads to the non alpha thingi must have happend after 15th of may. i m helping a student with a project and he uses the bogusfront windows binaries, and with the 2003-05-15 ones it still works.
erich
Ok, this helped a ton in finding the problem. In pix_texture I
hardcoded GL_RGB
as the internal texture format, and forgot to add in the code to have
it switch
on the fly. The previous code for setting the internal GL format was
wrong, so
I will try and correct this tonight when I get back on a GEM CVS
machine.
If you need to fix this ASAP and can't wait for a commit, then change
the
GL_RGB8 in glTexImage2D to GL_RGBA (it's about line 265 in
pix_texture).
Sorry about this, I was mainly trying to assure the fastest possible
YUV and
rectangle texture path on OSX and forgot to test alpha functions
before the commit.
cgc
GEM-dev mailing list GEM-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/gem-dev
Quoting guenter geiger geiger@xdv.org:
#ifdef COMPLAIN Yes, I have been trying to look into it a bit, but the coding style is really scary .... There must be better ways to do that ? #elif BE_NICE Great that you found the bug .... #else #endif
Greetings, Guenter
Touché. Yes that code needs a good scrubbing. I'm partial to the C approach of writing functions to handle each case. This is kind of what I did with the Altivec code since you can #ifdef functions to avoid generating illegal instructions etc. I can have a go at this over the weekend since a lot of the evil is my doing in the first place. I have to make the disclaimer that I spent a helluva lot of time making sure that code runs the fastest possible path on OSX and I'm not willing to give that up at this point. :)
I'll try to fix and commit the alpha thing tonight.