Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Michael Pfeiffer
Yes, that works! Thank you! On Tue, 2 Dec 2003 10:37:41 -0300, Alessandro Borges <[EMAIL PROTECTED]> wrote: Hi, Try to set also a TransparencyAttribute to your shape's appearance. Just setting a texture with alpha is not enougth. Alessandro --- Michael Pfeiffer <[EMAIL PROTECTED]> escreveu: On T

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Alessandro Borges
Hi, Try to set also a TransparencyAttribute to your shape's appearance. Just setting a texture with alpha is not enougth. Alessandro --- Michael Pfeiffer <[EMAIL PROTECTED]> escreveu: > On Tue, 2 Dec 2003 12:49:34 -, Jeremy Booth > <[EMAIL PROTECTED]> > wrote: > > >> BufferedImage flareImage

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Michael Pfeiffer
On Tue, 2 Dec 2003 12:49:34 -, Jeremy Booth <[EMAIL PROTECTED]> wrote: BufferedImage flareImage=new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB); flareImage.setRGB(0,0,width,height,pixels,0,width); according to the javadoc setRGB doesn't set any alpha, just the RGB, so the alpha will

Re: [JAVA3D] Transparency in Texture

2003-12-02 Thread Jeremy Booth
Michael Pfeiffer said: > Hi, > > 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 Buffe

[JAVA3D] Transparency in Texture

2003-12-02 Thread Michael Pfeiffer
Hi, 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