I just tried this and it didn't work....
In my appearance code, I have

     Material theMaterial = new Material();
     theMaterial.setCapability(Material.ALLOW_COMPONENT_READ);
     theMaterial.setCapability(Material.ALLOW_COMPONENT_WRITE);
      :
     A.setMaterial(theMaterial);

and I still get the "no capability to get appearance" exception.

Any other thoughts on how to change a Sphere's color?

Bob Gray

-----Original Message-----
From: David Halle [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 13, 1999 10:01 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Changing Sphere Color


By setting the capability bit  ALLOW_COMPONENT_READ/WRITE of your Material
component
it should works.

regards

David HALLE.
--------------------------
E-Mail:[EMAIL PROTECTED]


______________________________________________________________________
Message envoye depuis iFrance >>  http://www.ifrance.com
Gratuit >> Hebergement (50 Mo)/Vos emails (POP&HTML)/Vos P.A.
NOUVEAU : votre agenda online gratuit !

===========================================================================
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".

Reply via email to