July 14, 2015, 14:51 (GMT) |
GP Sculpt: Pinch brush can now be inverted using Ctrl (i.e. "Inflate") Just like with the mesh sculpting tools, holding Ctrl can now be used to apply the inverse transform when using the pinch brush. So, instead of drawing the points towards the brush, Inflate will push them away. |
July 14, 2015, 14:42 (GMT) |
GP Sculpt: Initial implementation of "Pinch" Brush This brush draws all the points inwards towards the midpoint of the brush. I'm not sure if this brush is really that useful or not, so I'll leave it as-is for now. Watch out for how strong you set the brush to be; even with 0.3, you can already get some really strong/rapidly changing results. |
July 11, 2015, 05:46 (GMT) |
GP Sculpt: Reduce maximum size of brushes to make the UI sliders more controllable |
July 11, 2015, 04:54 (GMT) |
GP Sculpt: Fix for random crashes - forgot to adjust array size when adding new brush types |
July 10, 2015, 13:39 (GMT) |
GPencil Sculpt: "Push" Brush This is similar to the grab brush in that it translates points according to the strength of the brush. The difference however is that it is applied instead to whatever points are under the brush as it travels, instead of only those that were within the brush region initially. Notes: * The effect of this brush is more like a "smear" effect * I got a crash initially, but haven't been able to reproduce. So, unless this crops up again, I'll consider that a one-off for now. |
July 10, 2015, 13:24 (GMT) |
GPencil Sculpt: Added defines for a bunch of new brush types to be added |
July 10, 2015, 13:24 (GMT) |
GPencil Sculpt: Improved tooltip for Grab brush |
July 10, 2015, 13:24 (GMT) |
GPencil Smooth Brush: Added "Affect Pressure" option Use the "Affect Pressure" option to smooth out the pressure values of strokes, in addition to smoothing the coordinates. |
July 10, 2015, 12:22 (GMT) |
Merge branch 'master' into GPencil_Editing_Stage3 |
July 10, 2015, 12:15 (GMT) |
GP Sculpt: "Grab" Brush This brush can be used to move clusters of points around, without needing to select them first. Like the "Grab" brush in Sculpt Mode, this brush only operates on the brush circle at the start of the grab operation. The strength of the effect applied to each point is determined at the start of the stroke based on factors such as how far away from the center of the brush the point lies, and the strength of the brush. (Yay! Worked first time!) |
July 7, 2015, 10:49 (GMT) |
GPencil Sculpt: Redraw the view on mousemove even if none of the strokes was affected The active viewport needs to get redrawn, or else the brush circle will not move when "selection mask" is enabled and the user is trying to paint over non-selected areas. |
July 7, 2015, 10:45 (GMT) |
GPencil Sculpt: MMB can now be used for viewport manipulations while the sculpt operator is active |
July 7, 2015, 09:40 (GMT) |
CMake support |
July 7, 2015, 09:40 (GMT) |
GPencil Sculpt: Code Cleanup * Removed inlined math in favour of mathlib functions * Simplified arguments to some functions/callbacks by reusing passsed-in coords (as vectors/arrays instead of as separate values) |
July 7, 2015, 05:52 (GMT) |
GP Smooth Brush: Affect endpoints by a reduced amount instead of not at all Endpoints can't be handled normally, as they tend to easily "shrink", reducing the length of the stroke. However, we still want some smoothing to take place, as it looks odd without anything happening. |
July 6, 2015, 14:48 (GMT) |
Merge branch 'master' into GPencil_Editing_Stage3 |
July 6, 2015, 14:46 (GMT) |
Code cleanup * Remove all mention of the complicated way of implementing smoothing for now * Disable debug print |
July 6, 2015, 14:43 (GMT) |
GP Stroke Sculpting: Initial implementation of a "Smooth" Brush This commit introduces a basic "smooth" brush tool for sculpting Grease Pencil strokes (i.e. for getting rid of wobbles or kinks in the stroke). The current implementation is still quite rough (with quite a few points noted about how it could be better). Usage Notes: * It is highly recommended to have the "Use Falloff" option enabled. Doing so allows you to have quite a bit more subtlety to how well you can control the effects of this brush (i.e. this option can be used to prevent the brush from "shrinking" the strokes too much, if you use the edge of the brush) * A radius of 25 px, and strength = 0.5 are also good starting points Implementation Notes: * This currently only affects the stroke coordintes. Whether pressure values should be handled by this brush (with/without an option to turn this on/off), or whether it should be handled as a separate brush remains to be seen. * This isn't exactly the most efficient implementation. It also suffers from the fact that because its effects are applied from the first point in the stroke to the last (and in a single pass), you can get unwanted accumulated smoothing effects. * Currently all points in the neighbourhood are given equal priority. We could investigate different weighting schemes here. * This is currently hardcoded to consider 2 points before and 2 points after the current one. This could be improved by offering control over how many on either side to consider... |
July 6, 2015, 14:34 (GMT) |
GP Stroke Sculpting: Fix bug with falloff calculation Falloff calculation was incorrect as it could produce invalid values if the distance to a point exceeeded the radius of the brush, resulting in "large negative values". |
June 30, 2015, 00:29 (GMT) |
Merge branch 'master' into GPencil_Editing_Stage3 |
|