hi everyone, It looks like there is no way to dump an universe after use. VirtualUniverse.removeAllLocales() is generally used to get rid of the universe which in turn checks and detaches all the branch groups added to the locales, which takes lot of *time* if the scene graph is complicated and large.
I was wondering if there is a way to dump the universe without calling these methods. I have a CAD model viewer application( SDI - single Document Interface viewer) where when I load the first model I creates the universe and scene graph as usual. But while loading the second model I want to get rid of the old scene graph as well as the universe and create afresh the same stuff for the second model. While deleting/destroying the universe I am forced to spend lot of time in closing the first model as I have to call universe.removeAllLocales() etc, sometimes it takes around *3 mins* since my scene graph has lot of branch groups and its quite complicated, even if the scene creation took less than a minute. This actually makes the second model loading very slow. I am not going to use the universe along with scene graph for the first model, so I want to get rid of that quickly before loading the second model in the viewer. Does anybody have any solution or hint? thanks anirban =========================================================================== 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".
