Diffusion Krita 2565a74bdc9c

Vectorize Soft Rect Mask Generator

Authored by vanyossi on Jul 6 2018, 4:23 AM.

Description

Vectorize Soft Rect Mask Generator

Current implementation is only 3x faster than Scalar
as currently the slowest operation is getting the values
from the dataCurve. Math is not very heavy on this mask
type

Vectorization code works exactly a scalar method, which
inherits some bugs from the original implementation.

  • SoftRect does not generate a proper rect unless a very

particular curve is drawn. However the mask becomes very small

  • Curve does not alter the mask as expected, ie. the same as

circular soft. instead it generates smaller squares.

ref T9133