Blender Git Commit Log

Git Commits -> Revision 4f616c9

Revision 4f616c9 by Campbell Barton (master)
September 27, 2017, 15:39 (GMT)
Vertex/Weight Paint: Use PBVH for painting

2016 GSOC project by @nathanvollmer, see D2150

- Mirrored painting and radial symmetry, like in sculpt mode.
- Volume based splash prevention,
which avoids painting vertices far away from the 3D brush location.
- Normal based splash prevention,
which avoids painting vertices with normals opposite the normal
at the 3D brush location.
- Blur mode now uses a nearest neighbor average.
- Average mode, which averages the color/weight
of the vertices within the brush
- Smudge mode, which pulls the colors/weights
along the direction of the brush
- RGB^2 color blending, which gives a more accurate
blend between two colors
- multithreading support. (PBVH leaves are painted in parallel.)
- Foreground/background color picker in vertex paint

Commit Details:

Full Hash: 4f616c93f7cb8c8c8e038bc0c949c931242971c2
Parent Commit: 2de5e14
Lines Changed: +2026, -819

25 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+47, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+36, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+4, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+30, -5) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+12, -2) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -12) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+18, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+0, -10) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+19, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+10, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+20, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1565, -591) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+40, -183) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+193, -0) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -6) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021