Hi,
Well I think that I become crazy trying to do the following things :
- create a buffered image
buffer=new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB);
- create an Image2D component
im2d_1 = new ImageComponent2D(ImageComponent2D.FORMAT_RGBA,buffer);
- create a texture
texture=new Texture2D(Texture2D.BASE_LEVEL,Texture2D.RGBA,width,height);
texture.setCapability(texture.ALLOW_IMAGE_WRITE);
texture.setImage(0,im2d_1);
- create transparency attribute
TransparencyAttributes ta = new
TransparencyAttributes(TransparencyAttributes.BLENDED, 1);
- create an appearance with this texture and ta
Appearance app=new Appearance();
app.setTexture(texture);
app.setTransparencyAttributes(ta);
Well I didn't have any transparency, I looked at the archives and found that it is a
bug, I read the bug comment on the Sun site but I didn't understand how to fix it
I want to draw in this image with a behaviour
At this time I can draw in the image but not have the transparency
Someone can help me ?
Thanks in advance
===========================================================================
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".