Peter Szinek wrote:
Suppose i have constructed the scene graph and compiled the root object. Now, i want to find an easy way to hide/unhide some objects in response to user action (e.g. the axis in response to acheckbox set/unset). Is there a clean way to accomplish this? Something like BranchGroup.hide() or Shape3D.hide(). Or you have to do it somehow through geometry/appearance modifying?
You will need at least some level of control over your scene graph construction in order to insert RenderingAttributes objects. Then you can call setVisible() on the attributes to control visibility. You'll also need the appropriate capability bits set too. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== 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".