That works well for a single user application, but for a multiuser application (and it was a hilarious bug) you end up with a bunch of object trailing behind the user.
> -----Original Message-----
> From: Alejandro Terrazas [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 26, 2001 10:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Turning objects on and off: my experience
>
>
> One other not very sophisticated method is too translate the object
> to some place far away or behind the view.
>
> Alex.
>
> ----- Original Message -----
> From: "Dola Woolfe" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, August 25, 2001 10:31 PM
> Subject: [JAVA3D] Turning objects on and off: my experience
>
>
> > Hi,
> >
> > Since I started this thread, I would like to relate
> > back some of my experiences following the people's
> > advice (for which I am thankful).
> >
> > 1. Detach/Re-attach. Predictably, this works but for
> > some reason this was slower than the setVisible()
> > alternative (3).
> >
> > 2. Make Bounds small or empty, thus excluding the
> > object. For some reason this _did not_ work for me.
> > Even after setting bounds AutoCompute to false.
> > Perhaps I'm still missing something here.
> >
> > 3. Using setVisible on a RenderingAttribute object.
> > This worked like charm. First, it yeilded the most
> > concise code, since if you have a boolean flag for
> > keeping track of the object's visibility you can use
> > setVisible(false). Second, this seemed much crisper
> > (i.e. more responsive) than 1.
> >
> > 4. Switch Node. Haven't used it yet. Seems like a
> > robust alternative.
> >
> > Thanks for all responses!
> >
> > Dola
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute with
> Yahoo! Messenger
> > http://phonecard.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".
>
> ==============================================================
> =============
> 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".
>