> I would like to create 2 buttons: one which turns on a > fog effect and one thatt turns it off. I know how to > create the effect of fog and add it to the branch > group, but don't know a way to add and takeaawy the > effect by the press of a button. Can anyone help?
Put the fog under a BranchGroup, set the ALLOW_DETACH capability, and then just detach the BranchGroup when you want the fog to go away. -Paul =========================================================================== 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".
