Blender Git Commit Log
Git Commits -> Revision 38d6533
Revision 38d6533 by Pablo Dobarro (master) March 5, 2020, 20:07 (GMT) |
Sculpt Face Sets Face Sets are the new system to control the visibility state of the mesh in sculpt and paint modes. They are designed to work in modes where brushes are the primary way of interaction and they provide much more control when working with meshes with complex shapes and overlapping surfaces. This initial commit includes: - Sculpt Face Sets data structures and PBVH rendering. - Face Set overlay and opacity controls. - Sculpt Undo support. - Remesher reprojection support. The visibility state of the mesh is also preserved when remeshing. - Automasking and Mesh filter support. - Mask expand operator mode to expand Face Sets (Shift + W) and flood fill areas by connectivity (press Ctrl while expanding). - Sculpt Mode Face Sets and Visibility API. - Sculpt Face Sets creation and visibility management operators. - Operator to randomize the Face Sets colors. - Draw Face Sets brush tool to create and edit the Face Sets. Drawing on the mesh creates a new Face Set. Pressing Ctrl before drawing modifies the Face Set under the brush at the beginning of the stroke. - Updated keymap and menu to work with Face Sets from Sculpt Mode (H to toggle visibility, Alt + H to show all, Shit + H to hide). - Pie menu on the W key with Face common Sets operations. Know limitations: - Multires support. The Face Sets and Visibility API needs to be implemented for Multires. Reviewed By: jbakker, #user_interface, Severin Differential Revision: https://developer.blender.org/D6070 |
Commit Details:
Full Hash: 38d6533f212bf9001cd5f70ed8757eccb9b39dad
Parent Commit: e56471b
Lines Changed: +1381, -101
38 Modified Paths:
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+11, -8) (Diff)
/release/scripts/startup/bl_ui/properties_data_mesh.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+3, -0) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+54, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh_remesh_voxel.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+6, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+13, -3) (Diff)
/source/blender/blenkernel/intern/brush.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+11, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/mesh_remesh_voxel.c (+49, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+16, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+93, -13) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+4, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+13, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_sculpt.c (+6, -4) (Diff)
/source/blender/draw/engines/overlay/shaders/sculpt_mask_vert.glsl (+4, -1) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+1, -5) (Diff)
/source/blender/editors/object/object_remesh.c (+9, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+830, -27) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+25, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+75, -6) (Diff)
/source/blender/gpu/GPU_buffers.h (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+84, -19) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+4, -3) (Diff)
/source/blender/makesdna/DNA_mesh_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+6, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -0) (Diff)
/release/scripts/startup/bl_ui/properties_data_mesh.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+3, -0) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+54, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh_remesh_voxel.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+6, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+13, -3) (Diff)
/source/blender/blenkernel/intern/brush.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+11, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/mesh_remesh_voxel.c (+49, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+16, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+93, -13) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+4, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+13, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_sculpt.c (+6, -4) (Diff)
/source/blender/draw/engines/overlay/shaders/sculpt_mask_vert.glsl (+4, -1) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+1, -5) (Diff)
/source/blender/editors/object/object_remesh.c (+9, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+830, -27) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+25, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+75, -6) (Diff)
/source/blender/gpu/GPU_buffers.h (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+84, -19) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+4, -3) (Diff)
/source/blender/makesdna/DNA_mesh_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+6, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -0) (Diff)