Futher more, if you want to change some attributes of the appearance object you have to set the capability.
You can check the java3d API documentation for specific: http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_3_API/j3dapi/index.html Under Shape3D and Appearance. Serge Selon Mike Pilone <[EMAIL PROTECTED]>: > myShape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE). Normally the > exceptions give you a plain English name of the capability you'll need. > > -mike > > -----Original Message----- > From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] > On Behalf Of Silvano Maneck Malfatti > Sent: Wednesday, July 28, 2004 9:00 AM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Appearance Problem > > I am trying to set a shape3D appearance in runtime, but this error happens > > javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to set > appearance at javax.media.j3d.Shape3D.setAppearance(Shape3D.java:472) > > What flag must I set to do it work? > > Thanks > > > /********************************************* > SILVANO MALFATTI > COMPUTER SCIENCE - URI University > HOME - http://www.urisan.tche.br/~smalfatti > ********************************************/ > > > > > ------------------------------------------------- > URI - Campus de Santo Angelo-RS > http://www.urisan.tche.br > > =========================================================================== > 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".