What if you want to reconnect the Shape3D later, or move it to another part
of the SG?  In that case, you've got to have the BranchGroup structure,
can't just remove a child - as I know to my cost!

Tony Burrows

-----Original Message-----
From: Yazel, David J. [mailto:[EMAIL PROTECTED]]
Sent: 14 February 2002 14:07
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Removing Shpa3D from a live SceneGraph


Oooh... bad word alert!

Hehe... yes, the limitation of only being able to add or remove branch
groups at runtime is a painful one.  I can only assume that this limitation
buys Java3d the power to more efficiently manage the scene.

Dave Yazel

-----Original Message-----
From: Michael Nischt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 8:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Removing Shpa3D from a live SceneGraph


>
> There is no way to remove a Shape3D from the live scenegraph unless the
>parent of the Shape3D is a BranchGroup which then can be detached from
>its parent. That is:
>
>TransformGroup
>   -Shape3D
>
>You cannot remove Shape3D from live scene but
>
>TransformGroup
>  -BranchGroup
>     -Shape3D
>
>you can call detach() of BranchGroup which means shape3d would also be
>detached.
>


you're right - fuck, I had to insert thousands of BranchGroup's in my App :(


greets
 -Michael Nischt

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

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