I am having a bit of a problem understanding how to use the different Texture formats available. The javadoc says something like this:
javax.media.j3d.Texture Format - the data format. The format is one of the following: INTENSITY - the texture image contains only texture values. LUMINANCE - the texture image contains only luminance values. ALPHA - the texture image contains only alpha values. LUMINANCE_ALPHA - the texture image contains both luminance and alpha values. RGB - the texture image contains red, green, and blue values. RGBA - the texture image contains red, green, blue, and alpha values. I have used the RGB format so far without problem, but I want to be able to at least know when to use the others- I think I need answers to the following questions: What should the image look like for different formats- can I use a black to white fade for an ALPHA format texture and if so, how will it know which colour is transparent and which is solid? Does the same apply for LUMINANCE and INTENSITY textures? Tied to this; what kind of image should I be using? Am I right in thinking that if I set a shape with a wood RGB texture and then applied a LUMINANCE texture with a light center and darker outside I would get an effect a little like a spotlight shining on a wood surface? Is this the kind of thing they were designed for? When the INTENSITY documentation says "the texture image contains only texture values" what does that actually mean? Surely all texture images contain only texture values? If I am completely barking up the wrong tree here, or if there are any good resources on this online any pointers you can offer would be gratefully appreciated. Thanks, - ben ==========================================================================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".
