Blender Git Loki

Git Commits -> Revision 1dadd3b

Revision 1dadd3b by Nicholas Bishop (master)
October 23, 2012, 23:54 (GMT)
Partially replace convex hull implementation with Bullet implementation

* Bullet's convex hull implementation is significantly more robust
than the one I implemented, as well as being faster.

* This fixes bug [#32864] "Convex Hull fails in some cases."
projects.blender.org/tracker/?func=detail&aid=32864&group_id=9&atid=498

That bug, and others like it, relate to the poor handling of
co-planar surfaces in the input. Pretty much any model that is
simple-subdivided a few times gave very bad results before, Bullet's
implementation handles this much better.

* In order to ensure a smooth transition, the Bullet output is
translated into the existing HullTriangle hash structure. This makes
it easy to ensure that the existing slot output stays the same; the
interactions between the slots are somewhat complicated, detangling
is a TODO.

* Reviewed by Brecht:
https://codereview.appspot.com/6741063

Commit Details:

Full Hash: 1dadd3b7c65ac24f5299d10766d7df3aa5f8c495
SVN Revision: 51558
Parent Commit: 0b16c9e
Lines Changed: +159, -321

8 Modified Paths:

/source/blender/bmesh/CMakeLists.txt (+5, -0) (Diff)
/source/blender/bmesh/intern/bmesh_opdefines.c (+4, -0) (Diff)
/source/blender/bmesh/operators/bmo_hull.c (+134, -321) (Diff)
/source/blender/bmesh/SConscript (+5, -0) (Diff)
/source/blender/editors/mesh/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+2, -0) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+2, -0) (Diff)
/source/blender/editors/mesh/SConscript (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021