Blender Git Commit Log

Git Commits -> Revision f7bbc7c

Revision f7bbc7c by Pablo Dobarro (master)
June 23, 2020, 14:28 (GMT)
Sculpt Vertex Colors: Initial implementation

Sculpt Vertex Colors is a painting system that runs inside sculpt mode, reusing all its tools and optimizations. This provides much better performance, easier to maintain code and more advanced features (new brush engine, filters, symmetry options, masks and face sets compatibility...). This is also the initial step for future features like vertex painting in Multires and brushes that can sculpt and paint at the same time.

This commit includes:
- SCULPT_UNDO_COLOR for undo support in sculpt mode
- SCULPT_UPDATE_COLOR and PBVH flags and rendering
- Sculpt Color API functions
- Sculpt capability for sculpt tools (only enabled in the Paint Brush for now)
- Rendering support in workbench (default to Sculpt Vertex Colors except in Vertex Paint)
- Conversion operator between MPropCol (Sculpt Vertex Colors) and MLoopCol (Vertex Paint)
- Remesher reprojection in the Voxel Remehser
- Paint Brush and Smear Brush with color smoothing in alt-smooth mode
- Parameters for the new brush engine (density, opacity, flow, wet paint mixing, tip scale) implemented in Sculpt Vertex Colors
- Color Filter
- Color picker (uses S shortcut, replaces smooth)
- Color selector in the top bar

Reviewed By: brecht

Maniphest Tasks: T72866

Differential Revision: https://developer.blender.org/D5975

Commit Details:

Full Hash: f7bbc7cdbb6cb0d28504c6a8dd51bee5330d1f17
Parent Commit: 27972c4
Lines Changed: +2123, -145

2 Added Paths:

/source/blender/editors/sculpt_paint/sculpt_filter_color.c (+304, -0) (View)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+471, -0) (View)

56 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+14, -1) (Diff)
/release/scripts/startup/bl_ui/properties_data_mesh.py (+28, -0) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+13, -0) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+17, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+11, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_mesh_remesh_voxel.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+14, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+24, -6) (Diff)
/source/blender/blenkernel/intern/customdata.c (+25, -25) (Diff)
/source/blender/blenkernel/intern/mesh_remesh_voxel.c (+31, -0) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+21, -8) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+31, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+11, -1) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+16, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+20, -4) (Diff)
/source/blender/draw/intern/draw_cache.c (+6, -0) (Diff)
/source/blender/draw/intern/draw_cache.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_extract.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_extract_mesh.c (+62, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+75, -6) (Diff)
/source/blender/editors/include/ED_mesh.h (+9, -0) (Diff)
/source/blender/editors/mesh/mesh_data.c (+176, -2) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+2, -0) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+2, -0) (Diff)
/source/blender/editors/object/object_remesh.c (+5, -0) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+259, -23) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+3, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_detail.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mask.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c (+6, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+29, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_mask_expand.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+20, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_transform.c (+4, -4) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+54, -4) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+27, -16) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+20, -6) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+2, -3) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+51, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+219, -4) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021