multiple view

I am trying to implement multiple view in the simple universe. I can attach several viewers to one viewplatform. But how can I put all these viewers to different places?I tried physicalbody, but it didn't work as I expectedCheers~
[252 byte] By [hunterzja] at [2007-10-3 12:00:57]
# 1
You use a separate canvas3D and Viewer for each position.regards
messengersa at 2007-7-15 14:37:27 > top of Java-index,Security,Cryptography...
# 2
that's what i did. But how to position the viewer?
hunterzja at 2007-7-15 14:37:27 > top of Java-index,Security,Cryptography...
# 3
I tried to set the parameter of the physical body. But it didn't work proporly.
hunterzja at 2007-7-15 14:37:27 > top of Java-index,Security,Cryptography...
# 4
If I understand the question correctly:A viewer navigates through the virtual universe by changing the transform in the scene graph hierarchy above the ViewPlatform. You usually navigate by changing the transform returned by
messengersa at 2007-7-15 14:37:27 > top of Java-index,Security,Cryptography...
# 5
is that the only way?coz i am trying to attach more viewers to a single viewplatform instead of add more viewplatform to the universe. As you know simple universe only has one viewplatform.....
hunterzja at 2007-7-15 14:37:27 > top of Java-index,Security,Cryptography...
# 6

Something like this?

Canvas3D canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration());

View view = new View();

ViewPlatform vplat = new ViewPlatform();

view.attachViewPlatform(vplat);

BranchGroup viewBranch = new BranchGroup();

viewBranch.addChild(vplat);

PhysicalBody pBody = new PhysicalBody();

view.setPhysicalBody(pBody);

PhysicalEnvironment pEnv = new PhysicalEnvironment();

view.setPhysicalEnvironment(pEnv);

view.addCanvas3D(canvas);

& see also the javadoc for ViewSpecificGroup

regards

messengersa at 2007-7-15 14:37:27 > top of Java-index,Security,Cryptography...