[JAVA3D] OutOfMemoryException

2000-12-26 Thread K.R.Karthikeyan
Hi, public void refresh() {   mainBranchGroup.removeChild(0);   mainBranchGroup.addChild(createSceneGraph(canvas3D)); } If i call this method for 10 or 20 times it is throwing OutOfMemoryException Is anybody can help me regarding this.   K.R.Karthikeyan

Re: [JAVA3D] Immediate Mode Appearance Question/Problem

2000-12-26 Thread Brad Cain
Hi John -   I'm a Java3D newbie, but I've worked with a number of other 3D APIs (most recently Direct3D).  I've seen this problem several times in other systems.  Here's what might be going on: Java3D - or the underlying native API - is indeed buffering up primitives and state changes, and