You get your Shape3D Object from picking

You just have to do :
shape.getAppearance().getColoringAttributes().setColor(COLOR3F);
Just be carrefull to set the right attributes (ALLOW_APPEARANCE_WRITE,
ALLOW_COLORING_ATTRIBUTE_WRITE)

Cyril
-----Message d'origine-----
De: Adriano Cavalcanti Silva [mailto:[EMAIL PROTECTED]]
Date: vendredi 23 mars 2001 11:39
À: [EMAIL PROTECTED]
Objet: [JAVA3D] Picking & WakeupBehavior ....|:0(.


Hi there,
I have a lot of 3D object, so object A, B, C, etc; e.g. - I need to
implement a
code to change the color of the object Qa, when the object A was picked.
Perhaps it would work with WakeupBehavior, but I can't find some way to link
the WakeupBehavior with the pick method.
Some hints ?  ....|:0).
Thnx in advance. Adriano

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