when I load a picture with transparency information (e.g. a GIF-file) using the TextureLoader and map it onto a Shape3D, the transparent parts of the image appear transparent for the object too.
But when I try to do the same using a dynamically created BufferedImage, it doesn't works. The ARGB-bitmap of the image is loacted in the int-array "pixels":
BufferedImage flareImage=new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB); flareImage.setRGB(0,0,width,height,pixels,0,width); ... Texture2D FlareTexture=new Texture2D(Texture2D.BASE_LEVEL,Texture2D.RGBA,width,height); FlareTexture.setImage(0,new ImageComponent2D(ImageComponent2D.FORMAT_RGBA,flareImage));
That doesn't works, I never get a Shape3D which is partially transparent when I put the FlareTexture onto it. Does anybody know what could be wrong here?
Michael
-- http://java3d.virtualworlds.de http://www.3dchat.org - Welcome to the unreal world!
=========================================================================== 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".