Blender Git Commit Log
Git Commits -> Revision 4a07876
Revision 4a07876 by Campbell Barton (master) March 23, 2009, 06:00 (GMT) |
Speedup for bullet physics mesh conversion Was adding each face with a remove doubles option that made conversion increasingly slower for larger meshes, this would often hang blender when starting with the BGE with larger meshes. Replace btTriangleMesh()->addTriangle() with btTriangleIndexVertexArray() YoFrankie level_1_home.blend starts a third faster, level_nut about twice as fast. - previous commit was also incorrect using the original meshes vert locations rather then the vert locations that came from the derived mesh. - Softbody is relying on removing doubles at 0.01 to give stable results, this no longer works but seems a bit dodgy anyway. Maybe some post-processing filter could fix up a mesh for bullet softbody. |
Commit Details:
Full Hash: 4a078765623b72641164a25291e925bb4e64bcba
SVN Revision: 19379
Parent Commit: bd13f30
Lines Changed: +189, -109