blender/source/gameengine/Physics/Bullet
Campbell Barton 4a07876562 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.
2009-03-23 06:00:21 +00:00
..
CcdPhysicsController.cpp Speedup for bullet physics mesh conversion 2009-03-23 06:00:21 +00:00
CcdPhysicsController.h Speedup for bullet physics mesh conversion 2009-03-23 06:00:21 +00:00
CcdPhysicsEnvironment.cpp Fix: The debug lines of Physics Debug Visualization were drawn incorrectly when using overlay scenes (it was using the wrong camera) 2009-03-09 05:01:16 +00:00
CcdPhysicsEnvironment.h Fix: The debug lines of Physics Debug Visualization were drawn incorrectly when using overlay scenes (it was using the wrong camera) 2009-03-09 05:01:16 +00:00
CMakeLists.txt Speedup for bullet creating convex hull meshes 2009-03-22 21:04:28 +00:00
Makefile Speedup for bullet creating convex hull meshes 2009-03-22 21:04:28 +00:00
SConscript Speedup for bullet creating convex hull meshes 2009-03-22 21:04:28 +00:00