Summary: | current sumi-e brush needs quite some cpu power. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Elián Hanisch <lambdae2> |
Component: | General | Assignee: | LukasT <lukast.dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, lukast.dev |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Elián Hanisch
2009-03-16 22:58:35 UTC
Do you use the opengl or the ordinary canvas? ordinary canvas, but I tried with opengl and didn't notice any difference. Yep, using big radius is slow, because it generates too much bristles. It is not matter of canvas. It is matter of algorithm. It is really slow. When you want to achieve bigger brush, rather scale it using scale factor. Lukas, can you decide whether this is a "won't fix" bug or whether you want to restrict the number of bristles to avoid extreme slowdown? SVN commit 1088887 by lukast: o Remove benchmark with QTime, I use benchmarks now o clean up the brush.cpp code a little o use setEnabled instead of removing from QVector, gives 2x speedup CCBUG:187344 M +6 -0 bristle.cpp M +14 -7 bristle.h M +14 -28 brush.cpp M +3 -3 brush_shape.cpp M +0 -21 kis_sumi_paintop.cpp M +0 -8 kis_sumi_paintop.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1088887 I think I fixed that. Now you can use many brush masks with different size and tune up the performance by density in the bristle settings. I found it usable e.g. with diameter around 100 px with density around 20%. If you think the sumi-e is still slow, you can reopen. |