Blender Git Loki
Git Commits -> Revision 5f95f7d
Revision 5f95f7d by Nicholas Bishop (master) May 21, 2012, 23:32 (GMT) |
Add input sample averaging to PaintStroke. Averages input samples to make the brush stroke smoother. Only mouse location is averaged right now, not pressure/tilt/etc. The DNA is in struct Paint.num_input_samples, RNA is Paint.input_samples. In combination with PaintStroke usage this change applies to sculpt, vpaint, and wpaint. The range of useful values varies quite a bit depending on input device; mouse needs higher values to match tablet pen, so set max samples pretty high (64). Release note section: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Sculpting#Input_Stroke_Averaging |
Commit Details:
Full Hash: 5f95f7d2adb25ef7b821ec08f7f627664152d0b4
SVN Revision: 46862
Parent Commit: b951c2b
Lines Changed: +94, -26
8 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+6, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+63, -10) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -12) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+63, -10) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -12) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+5, -0) (Diff)