Blender Git Loki
Git Commits -> Revision 9680edf
August 24, 2021, 20:18 (GMT) |
* Implemented bounday/face set corner handling. * New function SCULPT_vertex_is_corner, similar to SCULPT_vertex_is_boundary it takes argument to check face sets. PBVH_FACES/GRIDS version is incomplete. It returns a bitmask of whether the vert is a boundary corner and/or a face set one. * PBVH_BMESH uses a somewhat more expensive calculation to detect corners of face set islands by edge angle. This is currently not done for boundary corners. Corner pinning now happens in: * The internal smoother dyntopo uses for stability reasons. * SCULPT_vertex_neighbor_average_interior. * Topology rake. * Dyntopo collapse. Note that DynTopo always pins face set corners but everything else only does so if preserve face sets is on. |
Commit Details:
Full Hash: 9680edf77c555964322e55fb8d52f033fe8797b6
Parent Commit: a00bfa8
Lines Changed: +435, -59
6 Modified Paths:
/source/blender/blenkernel/intern/dyntopo.c (+13, -5) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+146, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+248, -40) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+15, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+7, -0) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+6, -2) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+146, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+248, -40) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+15, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+7, -0) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+6, -2) (Diff)