Blender Git Commit Log

Git Commits -> Revision ae1c1cd

Revision ae1c1cd by Bastien Montagne (master)
February 22, 2017, 08:40 (GMT)
Refactor Mesh split_faces() code to use loop normal spaces.

Finding which loop should share its vertex with which others is not easy
with regular Mesh data (mostly due to lack of advanced topology info, as
opposed with BMesh case).

Custom loop normals computing already does that - and can return 'loop
normal spaces', which among other things contain definitions of 'smooth
fans' of loops around vertices.

Using those makes it easy to find vertices (and then edges) that needs
splitting.

This commit also adds support of non-autosmooth meshes, where we want to
split out flat faces from smooth ones.

Commit Details:

Full Hash: ae1c1cd8c0da0c4b86efc171d5a6e34fbfb50d67
Parent Commit: 3622074
Lines Changed: +262, -237

3 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+259, -235) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021