Thanks , that was the right tip i needed.
I have loaded the object with the objfile loader.
And i had removed the object from the implicid created
BranchGroup.
Thanks
Sebastian
--- Ahmed Shakil <[EMAIL PROTECTED]> wrote:
> actually you will have to make it DETACHABLE before
> you do anything to it. Detach the branch group add
> the Shape3d and attach it back
>
> Ahmed
>
> -----Original Message-----
> From: Saurabh Akhauri
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 8:15 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Re: [JAVA3D] Can´t add Shape3D at
> Runtime
>
>
> I have also faced this problem
> and as far as i could gather
> it is not possible to add shape3D to BG
> at run time
>
> saurabh
>
> ----- Original Message -----
> From: Sebastian Hentschel <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 30, 2001 12:08 AM
> Subject: [JAVA3D] Can´t add Shape3D at Runtime
>
>
> > Hi, i can´t add Shape3D object at runtime
> >
> > I have an BranchGroup added to my SimpleUniverse.
> > I have set the ALLOW_CHILDREN_EXTEND of the
> > BranchGroup
> >
> > And now at Runtime. I try the following
> >
> > Shape3D object = ...;
> > myBranchGroup.addChild(object);
> >
> > Ok i get an exception that says, that i only can
> > add another BranchGroup.
> >
> > OK i try the following
> >
> > BranchGroup b = new BranchGroup();
> > b.addChild(objekt);
> > myBranchGroup.addChild(b);
> >
> > BranchGroup b = new BranchGroup();
> > myBranchGroup.addChild(b);
> > b.addChild(objekt);
> >
> > Noting works.
> >
> > What i am doing wrong.
> >
> > I have search throug the sun forums , but they
> have
> > deleted the articles. And in the JAVA3D-INTEREST
> group
> > i find nothing.
> >
> > Please help me.
> >
> > Thanks Sebastian
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/?.refer=text
> >
> >
>
===========================================================================
> > 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".
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
===========================================================================
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".