Hello everyone:
I have trouble in using JME3 to handle a big scene on android, in the scene there are 4 millions of triangles or even more than 10 million.
I tried to add all the triangles to the scene divided into several times, and the OOM appeared at last. Then I found that in the function “GeometryBatchFactory.optimize(childNode);” , there has used “Buffer” in it, and not release the buffer, when I want to add more triangles, the OOM appeared. Now I can show 1 million triangles in my scene.
What I want to do is after I moved the data to the GPU, I can release the buffer and move the next data to the GPU, and release … In this case, I want to show a big scene in my android phone just like what I did in using the OpenGL ES.
In order to show a big scene on android, what should I do? Is there any solution?
Thank you very much!