Blender Git Loki
Git Commits -> Revision f295685
Revision f295685 by Antonis Ryakiotakis (soc-2013-paint) August 13, 2013, 17:57 (GMT) |
Curved strokes for paint modes. This commmit introduves a first rough implementation of strokes guided by screen space curves for artist review. This is somewhat limited because it does not allow panning (which in 3d viewport wouldn't help anyway). To use select Curve under the stroke menu, or press the A key By dragging, the user can define the first bezier control points. It is also possible to select and edit the bezier handles independently. To constrain the handles to follow each other (similar to aligned bezier curves), use shift before selecting and dragging a handle. To avoid accidentally adding a curve point, the user needs to explicitly use Ctrl-Click to add another bezier point. To confirm the stroke use either enter or spacebar. TODOs: No pressure simulation or dynamic curve subdivision is done in this first implementation. Also the draw calls for the bezier could be optimized better. |
Commit Details:
Full Hash: f295685634b3f7f66c018cc3e33b5983852854c8
SVN Revision: 59115
Parent Commit: c6882f0
Lines Changed: +351, -32
5 Modified Paths:
/release/scripts/startup/bl_ui/space_image.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+336, -27) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+11, -2) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+336, -27) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+11, -2) (Diff)