Steve,
 
The basic technique depends on whether you are using a SimpleUniverse derived scenegraph or the core VirtualUniverse. I would recommend understanding the VirtualUniverse methods (a good idea is to look at the source to SimpleUniverse and the utility classes to see what is going on).
 
The basics are:
Add ViewPlatform leaf nodes on the "view" side of your scenegraph. Use different branches of the scenegraph (Locale.addBranchGraph). The TransformGroups above ViewPlatforms will define the viewer's orientation in space. Create a View (and all the other attributes such as PhysicalBody etc.) and attach the View to the ViewPlatform. Register the View with the desired Canvas3D.
 
Take a look at the Viewer utility class to see how SimpleUniverse manages some of these operations.
 
Best of luck!
 
Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com

 
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Grenier
Sent: 23 October 1999 09:38
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Multiple views of same Universe.

Hello,
 
Ok, how would I most effectively generate multiple views with the same Universe and scene graphs.  I have two different canvas3D objects that I generate the scene in.  However, both windows show the exact same content.  So is there a way I can easily achive this without actually re-creating a BranchGroup each time I want to update the scene?  Thanks!
 
Steve Grenier

Reply via email to