Thanks, I will try it out, and let you know how it goes.... -Zak ----- Original Message ----- From: "Rob Nugent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 10:19 AM Subject: Re: [JAVA3D] Switch Groups
> Zak, > > Something like the following might work. (View in a fixed-width font!) > > bg > / \ > / \ > / vsg2 > / | > / sw1 > | / \ > vsg1 / Y > | / > lk1 lk2 > | | > \ / > \ / > sg1 > | > X > > Key: > bg = BranchGroup > vsg1 = ViewSpecificGroup for View for Canvas1 > vsg2 = ViewSpecificGroup for View for Canvas2 > lk1 = Link > lk2 = Link > sg1 = SharedGroup > X = Your geometry > sw1 = Switch group > Y = Your Geometry > > Toggle the switch will can Canvas2 from viewing the geometry X to the geometry Y. > Canvas1 will always display Geometry X. > > Rob > > Zak Nixon wrote: > > Well, I would only like to have two canvas', > > > > one to display the content at all times > > > > and the other to display the content some times, and then > > other times swapping out with other content. > > > > I am looking to construct minimial number of canvas' if possible. > > > > > > Zak > > ----- Original Message ----- > > From: "CARLOS DA SILVA DOS SANTOS" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, June 12, 2003 9:42 AM > > Subject: Re: [JAVA3D] Switch Groups > > > > > > Zak, > > > > Take a look at the ViewSpecificGroup class, maybe you can do what you want > > by using a different View to render into each canvas. > > > > hope this helps, > > > > Carlos > > > > > > -----Original Message----- > > From: Zak Nixon [mailto:[EMAIL PROTECTED] > > Sent: quinta-feira, 12 de junho de 2003 11:25 > > To: [EMAIL PROTECTED] > > Subject: [JAVA3D] Switch Groups > > > > > > I have one canvas that contains a BranchGroup with my environment(universe). > > I always need that displayed in that canvas. > > > > Canvas > > |__ Content (BG) > > > > > > > > I also have another canvas that needs to display 3 different sets of nodes, > > one of which needs to be the above environment content. > > The other two nodes will just display messages. > > > > If I use a Switch node, whenever I switch in one canvas, will it be > > reflected in each canvas? > > > > I would like to cut down on the number of clone() calls if possible, and > > would not like to make a copy of the environment content if possible(every > > 1/10 sec). > > > > Is there anyway I can keep the content being displayed in one window, and be > > switched in another? > > > > Thanks > > > > Zak > > > > > > > > ========================= > > 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". > > -- > > > Rob Nugent > Sun Microsystems, Southampton, UK > > [EMAIL PROTECTED] > > Tel: +44 (0) 1489 585503 > Fax: +44 (0) 1489 881363 > > =========================================================================== > 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".
