Hello again
I need to alter the appearance object of Shape3D objects imported using
a 3ds Java Loader.(no I still cant get Amapi to work. see next email if you like)
Quick question. Is this possible? I found the same Question archived but no answer to
it. I ask because although I can get hold of the imported shape3D object I cant seem
to manipulate it (this is all before the SceneGraph is compiled) In particular I need
to alter the Color see code snippet below...
leaf = (Shape3D)group4Enumeration.nextElement(); //gets the Shape3D
System.out.println(" hello the leaf is"+ leaf);
Appearance appearance = leaf.getAppearance();
appearance.setCapability(appearance.ALLOW_COLORING_ATTRIBUTES_WRITE);
ColoringAttributes coloringAttributes = new
ColoringAttributes(0.0f,0.0f,0.5f,coloringAttributes.NICEST);
appearance.setColoringAttributes(coloringAttributes); //does not work
Kind Regards
Adrian
===========================================================================
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".