Each node in a scene graph, including Shape3Ds, have capability bits
that you can explicitly set/unset. By default, you can hardly do
anything with a node once it is attached to a live scene graph, and this
allows the renderer to perform lots of optimisations.
Have a look at the capability bits defined for the nodes you want to
alter, and just set the relevent ones. This will let you do whatever you
want. Detaching and reconstructing the branch group is VERY expensive!

Lewis.

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] On Behalf Of Prof. C. Ratsch
Sent: 08 October 2003 10:17
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Java3D Scene modification during runtime


To change a shape3D (for example color or size witfh Scrollbar) during
runtime,  I found out the only way with detach and  reconstruct the
branchgroup. Is this correct or are there some quicker or easier ways?
Thank you for help! C. Ratsch

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