BrunoMTSousa
Member
|
Performance with many small geometries
Hi
I'm evaluating Esenthel and I'm having a small issue with performance when trying to render many small objects.
Im creating a Mesh in Init with mesh.Load("mesh name") and creating an array of 30*30 matrices to store the position of the meshes. (900 objects) (each object has 6 triangles so about 6000 tris rendering).
On Draw i then loop through the matrix array and so SetMatrix(m[i]) and mesh.drawAuto(NULL) only
I'm getting about 30 fps on my machine (Geforce 9400) I know it isn't the best, but on other engines im getting 70+fps on 10k triangles so I'm probably doing something wrong here.
Cheers
Bruno
|
|
12-30-2010 12:57 PM |
|
Esenthel
Administrator
|
RE: Performance with many small geometries
You shouldn't use MeshBase drawAuto
But Mesh::draw
Check rendering tutorials
|
|
12-30-2010 01:40 PM |
|