Hi,
 
I'm developing a cloth simulation system. In this simulation, I must update all vertice every frame.
 
So, I've called 'GeometryArray.setCoordinate()' every frame. However, I found that the 'setCoordinate()' occured garbage collection frequently. I checked that the garbage collection didn't occur elsewhere. To solve this, I tried using By_Reference mode, but the result was the same as before. I feel sure that the garbage collection is occurring in internal geometry updating process of Java3D.
 
I'm using Java3D 1.2.1_04 and Java 1.4. How can i avoid the garbage collection. Is this possible if i use Java3D 1.3?(In my experiments, the result using Java3D 1.3 is slower than using Java3D 1.2. I don't know why.)
 
Thanks a lot.
 
Seungwoo Oh

Reply via email to