Well you can use an alternate appearance and have it set the rendering
attributes of its scoped nodes to setVisible(false).  You can change the
scope of the AlternateAppearance from one sub-scene to another.  Problem is
that nodes which have setVisible to false it is still pickable.  Course you
can pick all instead of pick closest, then pick the first result that is
visible.

Dave Yazel


-----Original Message-----
From: Andy K [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 1:26 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Hiding Nodes


Hello again..

Just a quickie.. (I think)

Is there anyway to hide shapes in a compiled scenegraph
only I have various objects (which are pickable) and want the
user to be able to select one and hide it (also making it
un-pickable) and then click another shape, hide the new one
and reset the old hidden node so that it's visible and pickable.

Thanks again for all your help..

At least I'm getting there now..

Andy Knight
Software Engineer
Syngenta

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

Reply via email to