Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2010-02-04 00:41:03 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2010-02-04 00:41:03 +0300
commit0020de72e45cae82561e07e284c520170e5e3ea8 (patch)
treeee7a23bfc47d2edaa7ec5d6fcb666c7f28ec28cd /source/blender/blenlib
parent02d9da1d5d0387238014e7737b76c87cd520b754 (diff)
BGE: Optimize Soft body conversion: don't create BVH structure.
A btBvhTriangleMeshShape object is created when converting a mesh to physics, also in case of Soft body although the soft body will not use it (it only uses the mesh interface). This patch keeps this system for compatibility with the KX converter but avoids the creation of the BVH structure, which consumes a lots of CPU. This should speed up significantly the conversion of large mesh to softbody. A secondary optimization is that the sharing of shapeInfo is extended to rigid body using gImpact. Before it was only active between static body and soft body.
Diffstat (limited to 'source/blender/blenlib')
0 files changed, 0 insertions, 0 deletions