Hi Joachim,

I don't know how java.awt.image.Raster and javax.media.j3d.Raster are
related to each other, but all that seems to be very similar to the
last bug I reported. It has the id 4623445.

Regards,

Ingo

> Hi
>
> I still got interesting effects when using INT_ARGB BufferedImage with
> RGBA ImageComponent2D this time it's not with Texture but with Background
> as soon as I write something to the AlphaRaster of the BufferedImage it
> won't be displayed anymore in J3D1.3b1
>
> Here the lines I'm using
>
>    BufferedImage backBImage = new
>      BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB);
>    WritableRaster alphaRaster = backBImage.getAlphaRaster();
>    int data[] = new int[1];
>    for (int y1=0; y1<height; y1++)
>      for (int x1=0; x1<width; x1++) {
>        backBImage.setRGB(x1,y1,255);
>        data[0] = 255;  // doesn't matter what value I use here
>        alphaRaster.setPixel(x1,y1,data);
>    }
>
>    ImageComponent2D backImage = new
>      ImageComponent2D(ImageComponent.FORMAT_RGBA,width,height);
>
>    backImage.set(backBImage);
>
> This thing is really starting to annoy me.
>
> EOF,
>  J.D.
>
> --
> Explore SRT with the help of Java3D
> (http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
> (http://www.antiflash.net/java3d/relativity (mirror)

===========================================================================
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".

Reply via email to