example:
Group myGroup = new Group(); //not alive, not compiled.
BranchGroup myBG = new BranchGroup();//not alive, not compiled.
BranchGroup mainBG = new BranchGroup();//not alive, not compiled.
mainBG.addChild(myBG);
myBG.compile();
mainBG.compile(); //compiled
simpleU.addBranchGraph(mainBG); //live
myGroup.moveTo(myBG); //this detach myBG from mainBG but not "decompile"
// and attach it to myGroup
myBG.addChild(new MyGeometry());
mainBG.moveTo(myBG);
...
I hope this help you!
Philip Wong wrote:
> Dear All,
>
> Suppose I have a networked multiuser j3d VR. If one of the users want to add
> a new geomtry, e.g. his dog, to this environment, does the whole virtual
> universe needs to be recompiled? Is there anyway to add new geomtries, transform
> groups, etc. to the virtual world in runtime?
>
> thanks!
>
> philip wong
>
> ===========================================================================
> 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".