Hi Pramual, this is my code but I don't change the tickness of my LineArray....why??
//LineArray Color3f lColor1 = new Color3f(1.0f, 0.0f, 0.0f); LineAttributes la = new LineAttributes(); la.setLineWidth(5.0f); Appearance appla = new Appearance(); appla.setLineAttributes(la); LineArray axisXLines = new LineArray(2, LineArray.COORDINATES | LineArray.COLOR_3 ); axisXLines.setCoordinate(0, new Point3f(-1.0f, 0.0f, 0.0f)); axisXLines.setCoordinate(1, new Point3f( 1.0f, 0.0f, 0.0f)); Shape3D s3d = new Shape3D(); s3d.setAppearance(appla); s3d.setGeometry(axisXLines); objRoot.addChild(s3d); axisXLines.setColor(0,lColor1); axisXLines.setColor(1,lColor1); ----- Original Message ----- From: "Pramual Suteecharuwat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 10:30 AM Subject: Re: [JAVA3D] LineArray! > Assume that "stripA" is your geometry object and "YourBranchGroup" is the > BranchGroup object, try doing something like this: > > > // --- Appearance ----------------------- > LineAttributes pa = new LineAttributes(); > pa.setLineWidth(3.0f); > pa.setLineAntialiasingEnable(true); > > Appearance app = new Appearance(); > app.setLineAttributes(pa); > > Shape3D s3d = new Shape3D(); > s3d.setAppearance(app); > s3d.setGeometry(stripA); > > YourBranchGroup.addChild(s3d); > > ... > > Enjoy, > > Pramual S. > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > =========================================================================== > 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".