try pattr.setBackFaceNormalFlip(true); Dave >-----Original Message----- >From: Alessandro Borges [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 17, 2003 07:04 PM >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] How can put color to back side of plane > >The back face is black becouse there is no light there to show its color. >You can: >-add some white ambient light; >-put a directional light in your viewing platform; > or something like that... ;-) > >Alessandro > > >----- Original Message ----- >From: "Naveen Babu Chikkala" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, July 17, 2003 3:06 PM >Subject: [JAVA3D] How can put color to back side of plane > > >> In 3D I need represent plane >> I am using following code for plane >> >> PolygonAttributes pattr = new PolygonAttributes(); >> pattr.setPolygonMode(pattr.POLYGON_FILL); >> pattr.setBackFaceNormalFlip(false); >> >> pattr.setCullFace(pattr.CULL_NONE); >> ap.setPolygonAttributes(pattr); >> >> using pattr.CULL_NONE its showing other side of plane in black color . >> >> I am using mouse behaviors to the universe. I have given plane as red >color. I need same color in other side of plane but its showing in black. >> >> Any solution for my problem >> >> naveen >> >> >=========================================================================== >> 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".