Normally if you set a BufferedImage to an ImageComponent by reference you are not allowed to change it anymore or the results are undefined. In version 1.3 I think they have a new feature to do this but you must use the updateData method of ImageComponent2D.
regards Paul Joachim Diepstraten schrieb: > Hi Kelvin > > > The transparency value as specified by the TransparencyAttritbues > > object is ignored for RGBA rasters. The transparency value should > > be combined with the alpha value in the raster or geometry object > > to produce the final alpha value used in blending. This is > > bug 4401323 - Transparency value ignored for RGBA rasters > > in v1.2.1_03 which got fixed in v1.3 beta1. That's why > > you see the behavior. > > Hmm I still don't see the connection between my problems and your > description. Just to make things clear again. I've set an > ImageComponent2D as background and as soon as I write something to the > alphaRaster of the BufferedImage which is contained in the > ImageComponent2D it completly disappears and isn't rendered at all. > Same goes for Textures on Objects. And in both cases I don't have a > transparencyAttributes NodeComponent. > > And I'm using J3D1.3beta1 > > EOF, > J.D. > > =========================================================================== > 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". =========================================================================== 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".
