Blender Git Commit Log

Git Commits -> Revision 8cf2d5c

Revision 8cf2d5c by Nicholas Bishop (master)
June 24, 2007, 22:28 (GMT)
== Sculpt Mode ==

Added a new input control that smooths the brush stroke.

This option controlled by the menu item Sculpt>Input Control>Smooth Stroke. When enabled, the brush has a delayed effect on the model; a green line is drawn to indicate the smoothed path of the stroke. After ~200 pixels, the first half of the stroke will be applied to the model; the process then repeats, with a new segment of the stroke being applied to the model after every 200 pixels. On mouse up, any remaining portion of the stroke will be applied.

Other changes:
* Added a flags field to SculptData; currently only used for smooth stroke but other flags can be moved into it
* Moved the damaged_rects/verts into SculptSession
* Simplified brush application by moving init_editdata into do_symmetrical_brush_actions
* Removed Averaging from sculpt Input menu; smooth stroke should take its place

TODO:
* Fix display of the smooth line in Partial Redraw mode
* Make the smoothing and delay factors adjustable
* Optimize the stroke application (currently using the old 'dot' style of applying the brush)

Commit Details:

Full Hash: 8cf2d5ca4acb40459f6937f7b2c50e4fc42c22c7
SVN Revision: 11036
Parent Commit: 296758f
Lines Changed: +381, -66

1 Added Path:

/source/blender/src/sculptmode-stroke.c (+280, -0) (View)

5 Modified Paths:

/source/blender/include/BDR_sculptmode.h (+22, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+5, -0) (Diff)
/source/blender/src/drawview.c (+4, -0) (Diff)
/source/blender/src/header_view3d.c (+4, -5) (Diff)
/source/blender/src/sculptmode.c (+66, -60) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021