Blender Git Loki
Git Commits -> Revision 1914ed7
Revision 1914ed7 by Campbell Barton (master) March 22, 2009, 21:04 (GMT) |
Speedup for bullet creating convex hull meshes In a simple test with ~12000 verts, overall BGE startup time went from ~4.5 sec to a bit under a second. - before adding each vert it did a check for a duplicates. - Using RAS_Polygon verts can give a lot of duplicates because the verts also store UV's and normals. - Was increasing the array one item at a time, now resize the array once. - Use the blender mesh mvert array rather then RAS_TexVert's, so needed to include some DNA headers. |
Commit Details:
Full Hash: 1914ed72b25cd856c7be3e341e87f9bfa8966275
SVN Revision: 19365
Parent Commit: 615c523
Lines Changed: +59, -26