First thing you should do is upgrade the Java3D version, it has come a long way since then. I'm using Java3D 1.3 and am able to do it successfully on Windows platform. You have to set the COLOR_WRITE capability of LineArray and then use the setColors method.
This feature is BUGGY on Linux version...which I reported Y'day,though,I haven't got any response for the bug report. nitin -----Original Message----- From: Raghavendra R [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Changing LineArray color Hi, Is it possible to change the colors of LineArray at runtime? I am initially drawing lines as LineArray in white color. Later, i tried to change the color to black. However, it is not getting reflected on the Canvas3D. I am using JRE 1.2.2 / Java3D 1.1.3. Thanks Raghav =========================================================================== 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".
