Hi,
i have a problem with removing Branch graphs from scene.
 
I use SimpleUniverse and have one Branch graph in the scene.
I want it dynamically replaced by other one.
After i do it, memory from the first is still used
and when i do it many times i received "java.lang.outOfMemory"
exception.
 
Could somebody help me with this memory problem.
It's very urgent.
 
here is my code: su = SimpleUniverse, scene = BranchGroup.
 
---
(su.getLocale()).removeBranchGraph(scene);
scene = createSceneGraph(model,chosenPath,trans_old);
scene.compile();
su.addBranchGraph(scene);
---
 
thx for all answers very very much
Jakub
 

---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.351 / Virová báze: 197 - datum vydání: 19.4. 2002

Reply via email to