Blender Git Loki

Git Commits -> Revision 423ffa6

Revision 423ffa6 by Brecht Van Lommel (master)
May 18, 2013, 11:25 (GMT)
Painting / Sculpting: more tweaks to pressure sensitivity

* Also do pressure interpolation for brush size and spacing.
* Do smoothing of pressure when smooth stroke and sample average is enabled.
* Revert the OS X specific pressure change to pressure ^ 2.5, for low pressure
values like 0.05 it makes the pressure 100x lower, which is problematic. If
we need to adjust the pressure curve it should be done for all platforms.

Still weak:

* Pressure of first touch on tablet is difficult to control, usually it's low
which makes the stroke start out small or soft, but other times not. Finer
event capturing at ghost level would help, along with pressure changes without
mouse movement, but this may also need different paint stroke logic.
* Brush radius is rounded to integers, this gives noticeable stepping.
* Brush falloff is not antialiased, gives noticeable aliasing for small brush
sizes which was always a problem, but is more common with size pressure control.

Commit Details:

Full Hash: 423ffa60438218e7d8b0f5f5147c4837dcab3ca9
SVN Revision: 56896
Parent Commit: 75e3665
Lines Changed: +87, -54

2 Modified Paths:

/intern/ghost/intern/GHOST_SystemCocoa.mm (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+85, -52) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021