No, only BranchGroups may be added or removed from a live scene.

You can add a BranchGroup to another BranchGroup.

So, assuming you wanted to add a Shape3D to a live scene.

Your shape is represented by /S2\
Your current live scene could be represented by
Locale---BranchGroup1---TransformGroup1---Shape3D1
or[L]---(BG1)---(TG1)---/S1\

You can add your /S2\ by attaching a (BG2) to (BG1)

[L]---(BG1)---(TG1)---/S1\
        \
          ----(BG2)---/S2\

(I hope this ASCII art lines up, this mail client isn't using a fixed font)

Of course, there's no reason you couldn't put a TG in front of BG2 to place
it somewhere else in the world

[L]---(BG1)---(TG1)---/S1\
        \
          ----(BG2)---(TG2)---/S2\


----- Original Message -----
From: "Altshooler, Rakefet (MED)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 1:43 AM
Subject: [JAVA3D] Adding and removing nodes from a live scene - continue


>         Hi,
>
>         I already sent an email in this subject with two questions. I got
an
> answer to one of them. Thanks!
>         I think my first question was not clear so I'll try to ask it
again:
>
>         Is there any way to add / remove nodes in a live scene which are
not
> a BranchGroup type  (TransformGroup for example) ?
>         Suppose that the answer to the above question is NO, Is it OK to
add
> a BranchGroup to a node which is not a Locale?
>
>         Thanks again,
>         Rakefet
>
>
===========================================================================
> 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".


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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