Re: [PyOpenGL-Users] Lighting and texturing
Brought to you by:
mcfletch
From: Richard J. <ric...@op...> - 2001-09-23 12:54:11
|
Thanks Mike, the problem was in fact a GL_DECAL use. The lesson18 source in the NeHe demo directory needs to be fixed to remove it. Works a treat then. 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... Mike - that info you posted looked like an FAQ entry - if it is, what's the URL please? Richard |