You must put your geometry under a BranchGroup and then you can remove
and add BranchGroup; for starter, see
http://java.sun.com/products/java-media/3D/1_2_api/j3dguide/GroupNodes.doc.html#
49464. Or you can use the Switch class to turn objects rendering off and on;
for an example see
http://java.sun.com/products/java-media/3D/collateral/class_notes/slides/mt0137.
htm.
Cheers,
Mona
>
> I'm new to java3d, I'm having trouble allowing the user to add and
remove
> objects in the scene. I'm not sure how to remove a child object from a
> transform group. Whenever i use the removeChild() method, i get an error
> message saying that I can only remove BranchGrouyp objects... obviously i
> need some other way of doing this...
>
> any thoughts, pointers to example code that is doing something similar
> would be greatly appreciated.
==================================================================
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".