Hey, I'm fairly new to pyglet and opengl, less so to python. I'm trying to load a 320x240 png with transparency and stretching it to fill the entire screen in full screen mode. I'm encountering two issues. When transparency is working properly, I get a nice clean un anti-aliased edge when I don't scale the image. When I do scale the image, there is this ugly white line between the transparent and opaque parts of my image. Considering most of the screen is black, this white line is VERY noticeable and absolutely must be fixed. The image I am trying to draw has no anti-aliasing to speak of and only has two colors in it, black and transparent.
Less importantly, the gnome image viewer clearly shows that all my pngs have transparencies in them but curiously enough, only one of 9 images gets drawn with transparency. All my images are exported simultaneously from graphicsgale. Right before drawing each time I am calling: glEnable(GL_BLEND) glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) I did this as a test without any of my other code running to eliminate any other possible issues and I have the same problem. Transparency only works properly on one of the 8 images so it must be something with the files but I'm hoping there is some gl setting that I don't know about that accounts for different alpha settings. Despite these issues, I'm loving pyglet. Any help would be much appreciated.
-- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
