Fuzzy brushes ought to be smoothed when in instant preview mode
Open, WishlistPublic

Description

The code in KisBrushMaskScalarApplicator (which I recently patched so that it becomes a bit faster) is not aware of LoD, so it ends up sampling the individual pixels it'll display from a uniform distribution.

Instead, it ought to sample from a "bell curve" that gets more narrow as the zoom level moves away from 100%.

The problem I face in implementing this is that the MaskProcessingData currently holds only a KisFixedPaintDevice, which knows nothing of the KisDefaultBounds type. I cannot simply fake a KisDefaultBounds object in that code; it has to be passed in from the callers.

tpaulssen updated the task description. (Show Details)
tpaulssen raised the priority of this task from to Needs Triage.
tpaulssen assigned this task to dkazakov.
tpaulssen added a subscriber: tpaulssen.
Restricted Application added a subscriber: woltherav. · View Herald TranscriptJan 12 2016, 10:15 AM

At 20% zoom, drawing with a 1000px big airbrush_linear_noisy brush:

Before:

After:

See how the before is fuzzy and the after is smooth.

This requires KisFixedPaintDevice to learn about LOD; that's a task that's slightly too big for me, as it probably involves a whole lot of stuff.

@dkazakov could you have a look at that perhaps? :)

woltherav triaged this task as Wishlist priority.Feb 28 2017, 11:31 AM
woltherav edited projects, added Krita: Abyss; removed Krita: Next Features.