Hi Sean, I just double check and the fix is integrated. We are using our internal J3DGraphics2D test program with GL_EXT_abg disable. The bug appear in v1.3 beta1 using texture mapping (i.e. -Dj3d.g2ddrawpixel=false which is default under windows) but not in v1.3 beta2.
I've a few questions (1) Is the bug reproducible under v1.3 beta2 DirectX version ? (2) Is the bug reproducible if you are setting the flag Java -Dj3d.g2ddrawpixel=true yourApps under v1.3 beta2 OpenGL version. I guess you may encounter a different bug that is not the same one. Usually if the user did not supply a test program we would try our best to reproduce it. To ensure the problem that you mention resolve in v1.3 release, please send us a test case to investigate. Thanks. - Kelvin ---------------- Java 3D Team Sun Microsystems Inc. >Date: Thu, 02 May 2002 13:07:40 -0700 >From: Sean Sylvis <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] J3DGraphics2D: color display problems >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 >Content-transfer-encoding: quoted-printable >Content-class: urn:content-classes:message >Delivered-to: [EMAIL PROTECTED] >Thread-topic: [JAVA3D] J3DGraphics2D: color display problems >Thread-index: AcHAzok4QtjPq9eaTlap3MKWN/PufgxRkUEQ >X-MS-Has-Attach: >X-MS-TNEF-Correlator: >Comments: To: Kelvin Chung <[EMAIL PROTECTED]> > >I just downloaded Java3D Beta2 and this bug is still appearing in my application. >Will this be fixed in the next release? > >Sean > > >> -----Original Message----- >> From: Kelvin Chung [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, February 28, 2002 7:02 PM >> To: Sean Sylvis >> Cc: [EMAIL PROTECTED] >> Subject: Re: [JAVA3D] J3DGraphics2D: color display problems >> >> >> Hi Sean, >> >> Bug 4645320 - >> >> J3DGraphics2D RGBA will draw as ABGR if GL_EXT_abgr extension >> not support >> >> is submitted for this. It will be fixed in v1.3 beta2. >> >> Thanks for your bug report. >> >> - Kelvin >> ------------ >> Java 3D Team >> Sun Microsystems Inc. >> >> >Date: Thu, 28 Feb 2002 17:17:41 -0800 >> >From: Sean Sylvis <[EMAIL PROTECTED]> >> >Subject: [JAVA3D] J3DGraphics2D: color display problems >> >To: [EMAIL PROTECTED] >> >MIME-version: 1.0 >> >X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 >> >Content-transfer-encoding: quoted-printable >> >Content-class: urn:content-classes:message >> >Delivered-to: [EMAIL PROTECTED] >> >Thread-topic: J3DGraphics2D: color display problems >> >Thread-index: AcHAvuH6HrqFwRq7Qfe2l1HAc866Vw== >> >X-MS-Has-Attach: >> >X-MS-TNEF-Correlator: >> > >> >I have been trying to develop a 2D graphics overlay system >> for my application. >> I am developing on a Win2000 system using a 32mb ATI Radeon. >> > >> >Using the Java3D 1.3beta1 implementation, in my subclassed >> postRender() method, >> I tried to draw to the 2D graphics context, but have come >> across a problem that >> seems to be an implementation bug. All of the drawing to the >> graphics context >> undergoes some sort of color conversion process before being >> displayed. For >> example, the code: >> > >> >J3DGraphics2D.setPaint(new Color(255,255,0)); // Yellow >> >J3DGraphics2D.drawRect(10, 10, 100, 100); >> >J3DGraphics2D.drawString("molecule", vX, vY); >> > >> >results in the display of a magenta (Color: 255,0,255) >> rectangle and string. >> Setting the color to J3DGraphics2D.setPaint(new >> Color(255,0,255)), or magenta, >> results in the display of yellow objects. In addition, if >> ever the red component >> of the color, such as Color(0,255,0) is equal to zero, no >> objects will display. >> > >> >It almost seems that the RGBA components are getting mixed >> up at some point in >> the rendering pipeline. I am drawing directly to the >> J3DGraphics2D context, so I >> don't believe I am causing this conversion. I thought that >> maybe the red >> component was being converted to an alpha value, which after >> testing proved >> incorrect. I have tried this on many different background >> colors, with all the >> different AlphaComposite types, all with the same results. >> > >> >This color conversion bug did not show up when I was using >> the Java3D 1.2.1 >> implementation and it does not show up when I draw to a >> JPanel using the normal, >> Graphics2D context in a Swing application without a Canvas3D. >> > >> >Thanks for any insight, >> > >> >Sean >> > >> >============================================================= >> =============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". =========================================================================== 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".