Blender Git Commit Log

Git Commits -> Revision 0607cd2

Revision 0607cd2 by Luca Rood (cloth-improvements)
March 4, 2017, 03:24 (GMT)
Replace plNearestPoints with a deticated solution

Implement a dedicated collision detection function (was previously
relying on Bullet's generic `plNearestPoints`).
This function computes all the collision data to be used for response:
coordinates, distance, direction vector.

This new function has three advantages:

* Remove a dependency from cloth simulation (Bullet).
* Give more pleasing collision results (this function is tailored
specifically for our collision response method).
* Much faster computation (not benchmarked extensively, but observed
overal simulation time was cut roughly in half with "collision-heavy"
simulations).

Commit Details:

Full Hash: 0607cd2e15cc54692c7eed01500f6098dbaf1722
Parent Commit: 9f0176d
Lines Changed: +266, -121

2 Modified Paths:

/source/blender/blenkernel/BKE_collision.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/collision.c (+265, -120) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021