Performance for ConvexHull
Posted: Thu Dec 13, 2012 1:57 am
I load my model and use ConvexHull to add to Space.
I find some model exe 'new ConvexHull' very slow. The model is not very complex.
So, I need help for how to let it fast.Thanks!
Code like:
TriangleMesh.AddMesh(model.Meshes, matrix, verticesList, indicesList);
ConvexHull hull = new ConvexHull(verticesList, 1); // this line run slow,can i fast?
I think the verticesList is to big, but i do not know how to decreases it.
I find some model exe 'new ConvexHull' very slow. The model is not very complex.
So, I need help for how to let it fast.Thanks!
Code like:
TriangleMesh.AddMesh(model.Meshes, matrix, verticesList, indicesList);
ConvexHull hull = new ConvexHull(verticesList, 1); // this line run slow,can i fast?
I think the verticesList is to big, but i do not know how to decreases it.