Blender Git Commit Log

Git Commits -> Revision 219937f

Revision 219937f by Lukas Toenne (master)
March 9, 2015, 14:23 (GMT)
Fix T43674: Smoke collision does not detect obstacles reliably.

The smoke obstacle detection was using a maximum distance for BVH
checks to find mesh elements that define boundary cells in the grid.
This BVH test was using an arbitrary value of 0.6 cell units. It should
be `sqrt(3)*0.5` to account for the maximum possible distance of mesh
elements inside a cell. Otherwise some cells that should form the
boundary are not detected as such (no closest mesh element found inside
the radius), so you get gaps in the smoke obstacle.

Commit Details:

Full Hash: 219937fc5dbde485bdd50feaccf496e26c63df40
Parent Commit: b14e287
Lines Changed: +2, -1

1 Modified Path:

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