Hi (yes me again), I've looked through the J3D faq and can't find this -
What's the easiest way to load a greyscale texture and use it as a transparency map on a surface that has no inherent color? i.e. I want the result to be just the texture, in transparent form, with 100% transparent areas of the texture not drawn. At the moment I'm loading a GIF but of course that has no real ALPHA channel in it. I suspect I just want my image to be ALPHA data and no colour data. Anyone got suggestions on the best way to do this? There are several long-winded ways I can think of (loading the gif, copying the pixel data to a new buffered image's alpha channel) I'm a bit confused about this actually... :( A concrete case � I have a small square grayscale texture of a round blob, with anti-aliasing at the edges of the blob. I want to put this texture onto my square, and have the face of the square simply look like a round transparent blob with no apparent corners. (I can do the texturing part and the transparency part on the appearance � but using my GIF of course I'm getting black corners on the face as the image data is in the pixel channel rather than the alpha channel) Yours, feeling pretty stupid. ==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
