1
Support / Performance with many objects, low fps
« on: February 13, 2014, 10:01:52 am »
First of all, thanks for the wonderful 3D engine.
I create Android app with many object3D. I need to know the parameters of each object, such as сenter, vertices, bounding box. Each object consists of 2-20 triangles and will respond to collisions (setCollisionMode(Object3D.COLLISION_CHECK_OTHERS)). And I use forceGeometryIndices(true);
The results:
186 Objects - 24 fps and 186 draw calls per frame;
552 Objects - 12 fps.
Phone:
512 MB RAM
CPU 1 GHz
GPU Adreno 205
Android 4.0
How to reduce draw calls and improve fps in my case?
I create Android app with many object3D. I need to know the parameters of each object, such as сenter, vertices, bounding box. Each object consists of 2-20 triangles and will respond to collisions (setCollisionMode(Object3D.COLLISION_CHECK_OTHERS)). And I use forceGeometryIndices(true);
The results:
186 Objects - 24 fps and 186 draw calls per frame;
552 Objects - 12 fps.
Phone:
512 MB RAM
CPU 1 GHz
GPU Adreno 205
Android 4.0
How to reduce draw calls and improve fps in my case?