Hi Ahmed:

        Thank you very much for your generous help!

Cheers,

Mona

> You can do No.1 or No.3
>
> No.2 could work but is not a good idea speciall if there are other objects
behind it. then chaning the color to background color wont help
>
> No.3 will work if u have the object(s) in your branch group u have to Detach
the BranchGroup and remove the objects then Attach the branchgroup back
>
> Ahmed
>
> -----Original Message-----
> From: Mona Wong [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 3:44 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] making an object(s) "disappear"
>
>
> Hi:
>
>         I'm sure this must be documented somewhere but I have not been able to
> find the answer, especially with j3d.org down ...
>
>         I have several 3d objects in my canvas and I want to allow the user to
> turn off display of any object(s) s/he chooses.  I can see several ways of
doing
> this ...
>
>         1.  Make each object a BranchGroup and detach it when requested by the
> user
>         2.  Change the color or the object to the background color so the user
> will no longer "see" it
>         3.  "Detach" the object from the BranchGroup.
>
>         Does anyone have any input on what is the proper or best method?  If
#3
> is the answer, could someone point me to some docs on how to do this?
>
> Thanks,
>
> Mona
>
> ==================================================================
> Mona Wong
> National Center for Microscopy and Imaging Research
> University of California, San Diego
> http://ncmir.ucsd.edu/
>
> "The truth shall set you free, but first it will piss you off"
>                                 A Landmark instructor
> ==================================================================
>
> ===========================================================================
> 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".

==================================================================
Mona Wong
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/

"The truth shall set you free, but first it will piss you off"
                                A Landmark instructor
==================================================================

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