Blender Git Loki
Git Commits -> Revision febfaec
May 2, 2021, 21:29 (GMT) |
* Added new paint API method paint_stroke_apply_subspacing, for various things that need custom spacing (that is coaser than the brush radius), and refactored the existing dyntopo spacing code to use it. * Added option to topology rake to ignore brush falloff settings (it forcibly uses Smooth falloff). * Smooth and topology rake support custom spacing now. + This is especially important for the clay brush, which works better at smaller spacings and with a bit of autosmoothing. Now you can tell it to override the smooth spacing to be coarser, leading to much better performance. * Topology rake now has a projection setting similar to autosmooth which defaults to 1.0 (to preserve current behavior). The main motivation for this commit was to make topology rake work better for normal brushes. This is now possible, however it tends to make the brush slower and also the settings are a bit fiddly. We might want to make dedicated brush presets for this. Btw, the UI for brush settings are becoming a real mess. Help! |
Commit Details:
Full Hash: febfaecd97b421be70913548a0523027395ccc6b
Parent Commit: 2d98802
Lines Changed: +394, -118
11 Modified Paths:
/release/scripts/startup/bl_ui/properties_paint_common.py (+40, -9) (Diff)
/source/blender/blenkernel/intern/brush.c (+24, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+15, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+20, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+142, -48) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+22, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+4, -3) (Diff)
/source/blender/makesdna/DNA_brush_defaults.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+24, -24) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+91, -27) (Diff)
/source/blender/blenkernel/intern/brush.c (+24, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+15, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+20, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+142, -48) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+22, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+4, -3) (Diff)
/source/blender/makesdna/DNA_brush_defaults.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+24, -24) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+91, -27) (Diff)