> How am I actually supposed to setup the Switch node to get it to
> work? Thanks

        Here is my code excerpt:

        // Setup the Switch
        shapes.setWhichChild ( Switch.CHILD_ALL );
        visible_mask = new BitSet ( num_files );
        for ( int i = 0; i < num_files; i++ )
            visible_mask.set ( i );
        shapes.setChildMask ( visible_mask );

Mona

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

"While you are busy dancing for others, just remember that
others are also busy dancing for you"
                                        (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