Blender Git Loki

Git Commits -> Revision e21c21b

Revision e21c21b by Joseph Eagar (sculpt-dev)
November 28, 2021, 09:19 (GMT)
Sculpt-dev: support area weighted smooth for PBVH_FACES

* This was actually kind of annoying; the
vertex->face-area-list code is in pbvh and
relies on edge ordering
around verts, but that order is non-trivial for
PBVH_FACES (relying as it does on a vertex->poly
map). This ordering was calculated entirely in
editors/sculpt_paint/sculpt.c, not callable from
pbvh.
* The solution was to add a helper function to pbvh
for building vertex->edge lists from vertex->poly
maps. This is then used by both sculpt.c and the
vertex->face-area-list code.

* Also improved boundary bevel smooth a bit. I'm
thinking of extracting it from SCULPT_neighbor_coords_average_interior
into its own function and possibly its own brush.

Commit Details:

Full Hash: e21c21bbf9e7d3f7a400e1fc5485005c251c8f62
Parent Commit: e5804dc
Lines Changed: +384, -106

13 Modified Paths:

/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+23, -2) (Diff)
/source/blender/blenkernel/intern/paint.c (+71, -3) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+225, -32) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -0) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+10, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+28, -49) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+5, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_ops.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+10, -19) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021