Re: [PyOpenGL-Users] Lighting and texturing
Brought to you by:
mcfletch
From: Richard J. <ric...@op...> - 2001-09-23 13:17:03
|
On Sun, 23 Sep 2001 08:58, Richard Jones wrote: > The other problem I had - the transparency not working - is still a > problem. For that code, on Pete's suggestion, I've used GL_BLEND, but the > resultant image turns blue! I suspect my image's alpha channel is not up to > scratch. This is the image I attached to my last message. Any suggestions > for paint packages that produce reliable alpha channels? The GIMP seems to > (in editing) but I just loaded my PNG into another package and that said > the image is 24 bit. That tells me that either the GIMP is writing 6 bits > per channel (which as far as I can tell, it's not) or it's not writing the > alpha channel. And yet when I load the image back into the GIMP, it's got > transparency... Actually, the image is fine... I just got the alpha stuff going - the GL_BLEND isn't the TexEnv, it's just something that needs glEnable'ing. Fixed! Thanks for the help guys! :) Richard |