Hi Olivier, I try the test program if I do
app0.setTransparencyAttributes( new TransparencyAttributes( TransparencyAttributes.BLENDED, 0.7f)); the program works fine but if I do app0.setTransparencyAttributes( new TransparencyAttributes( TransparencyAttributes.BLENDED, 0.1f)); it will show artifact as described. The difference is only the transparency alpha value set which is not big enough. For small alpha value the object is close to opaque so blending them together with z buffer off will cause the artifact. - Kelvin ---------------- Java 3D Team Sun Microsystems Inc. >Date: Thu, 02 May 2002 20:06:10 +0200 >From: Olivier Tassy <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] appearance problem >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 >X-Priority: 3 >X-MSMail-priority: Normal >Delivered-to: [EMAIL PROTECTED] > >Thank you all for your help. >I finally found a way to solve my problem. >I use > TransparencyAttributes t_attr = new TransparencyAttributes( > TransparencyAttributes.BLENDED, > 0.3f, > TransparencyAttributes.BLEND_SRC_ALPHA, > TransparencyAttributes.BLEND_ONE > ); > app0.setTransparencyAttributes( t_attr ); > >instead of > app0.setTransparencyAttributes(new >TransparencyAttributes(TransparencyAttributes.BLENDED, 0.3f)); > > >I send you a little soft (and a nice frog) to see the problem (see the >initappearance() method). > > >PS. I am still working with the beta1 but the problem seems to be the same >with the beta2 (Thank you Scott). > > >----- Original Message ----- >From: "Chien Yang" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, May 02, 2002 5:59 PM >Subject: Re: [JAVA3D] appearance problem > > >> Olivier, >> >> Are you using j3d1.3beta2 ? If yes, this is regression bug ? >> It looks more like an winding order problem, but we're happy to look into >> it if you've a test program for us. >> >> thanks, >> >> Chien Yang. >> Java 3D Team. >> >> >> >> > Date: Thu, 02 May 2002 15:00:09 +0200 >> > From: Olivier Tassy <[EMAIL PROTECTED]> >> > Subject: Re: [JAVA3D] appearance problem >> > To: [EMAIL PROTECTED] >> > MIME-version: 1.0 >> > X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 >> > Content-transfer-encoding: 7bit >> > X-Priority: 3 >> > X-MSMail-priority: Normal >> > Delivered-to: [EMAIL PROTECTED] >> > >> > Hi, >> > all my objects' PolygonAttributes are already in CULL_NONE mode. >> > When these object are double sided and transparent, the problem does not >> > occur (with a blender only). but I need some opaque shapes too. >> > >> > >> > ----- Original Message ----- >> > From: "Artur Biesiadowski" <[EMAIL PROTECTED]> >> > To: <[EMAIL PROTECTED]> >> > Sent: Thursday, May 02, 2002 2:30 PM >> > Subject: Re: [JAVA3D] appearance problem >> > >> > >> > > Olivier Tassy wrote: >> > > > Hello, >> > > > >> > > > I have got a strange problem with my 3D objects appearance: several >> > > > parts of the shape seem to miss and these parts are not the same >when I >> > > > rotate this object. This is worse when the shape 3d is double sided >(see >> > > > picture). >> > > >> > > It looks exactly like problem with winding order. Some of your >polygons >> > > are facing back. Either correct your geometry (by specyfing all >vertices >> > > counter-clockwise looking from outside of model) or set >> > > PolygonAttributes of appearance to CULL_NONE. >> > > >> > > Artur >> > > >> > > >> > >=========================================================================== >> > > 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". >> =========================================================================== 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".