Blender Git Loki
Git Commits -> Revision a7947a2
Revision a7947a2 by Joseph Eagar (sculpt-dev) October 26, 2021, 08:55 (GMT) |
Sculpt: New "auto-fset" setting Added a new "auto face set" setting for brushes. It basically invokes the draw face set tool, with a few differences: * The painted face set is fixed by user setting. * More then one face set can be created, these are assigned based on distance to the stroke line. * TODO: write a proper API for wrangling stroke curves (should interpolate at least G2!). The point of this is to enable better hard surface brushes. Since the settings are extremely finicky I've added an example of one (based on clay strips) to startup.blend. The necassary steps to make a hard brush out of this are as follows: 1. Autosmooth: ~0.4; 2. Autosmooth radius scale: ~1.5. 3. Auto fset: on. 4. Hard edge mode: on (but turn off inherit). |
Commit Details:
Full Hash: a7947a233d9d711260a5a921df114aea3e7b1518
Parent Commit: 3bcfe9b
Lines Changed: +454, -46
10 Modified Paths:
/release/datafiles/startup.blend (+0, -0) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+56, -4) (Diff)
/source/blender/blenkernel/intern/brush_channel_define.h (+10, -2) (Diff)
/source/blender/blenkernel/intern/brush_engine.c (+42, -2) (Diff)
/source/blender/blenkernel/intern/brush_engine_presets.c (+12, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+98, -19) (Diff)
/source/blender/editors/sculpt_paint/sculpt_brushes.c (+79, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+117, -18) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+38, -0) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+2, -1) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+56, -4) (Diff)
/source/blender/blenkernel/intern/brush_channel_define.h (+10, -2) (Diff)
/source/blender/blenkernel/intern/brush_engine.c (+42, -2) (Diff)
/source/blender/blenkernel/intern/brush_engine_presets.c (+12, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+98, -19) (Diff)
/source/blender/editors/sculpt_paint/sculpt_brushes.c (+79, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+117, -18) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+38, -0) (Diff)
/source/blender/makesdna/DNA_brush_enums.h (+2, -1) (Diff)