This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Rotating Brushes

Tags: None
(comma "," separated)
cestarian
Registered Member
Posts
88
Karma
0
OS

Rotating Brushes

Sat Sep 27, 2014 2:39 pm
In this video(1:14) you will see the guy rotating his brush tip in a menu and he can actually see the rotation. I want to be able to do that, but in Krita when we adjust the angle of our tip, the brush preview doesn't show the rotation at all (although the brush outline does)

The immediate and easy solution I can think of for this would be allow for brush rotation via keybind (so for example hold alt and middle mouse to rotate the brush) this way we can see on the brush outline how the brush is oriented while we drag.

The ideal solution however I think would be to add this to the right click palette. So if you right click, you get the usual palette we have now, and to the right of that we would have a brush preview of our current brush which we could use to set the angle of our brush, and perhaps a few other things (opacity, size and flow maybe) adding cool stuff like that to the right click palette would surely be nice for people who would like to have as minimal a UI as possible while they draw.

Right now though, I think adjusting the tip angle is a bit much of a pain (unless I missed something...)
User avatar
z-uo
Registered Member
Posts
16
Karma
0

Re: Rotating Brushes

Tue Sep 30, 2014 5:31 pm
The immediate and easy solution I can think of for this would be allow for brush rotation via keybind (so for example hold alt and middle mouse to rotate the brush) this way we can see on the brush outline how the brush is oriented while we drag.


I'd love that


cestarian
Registered Member
Posts
88
Karma
0
OS

Re: Rotating Brushes

Tue Dec 16, 2014 11:29 am
Any news on this? This would be REALLY helpful...
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Rotating Brushes

Tue Dec 16, 2014 3:37 pm
No, sorry, we haven't gotten round to doing this yet.
cestarian
Registered Member
Posts
88
Karma
0
OS

Re: Rotating Brushes

Wed Dec 17, 2014 2:35 pm
Aw, I'm willing to give it a try to implement the method of holding down a key to rotate the brush myself if I can find the related files, I'd need to see the code used for the current function for changing angles in the brush settings menu, and I'd need to know what file would be appropriate to store the keyboard shortcut function I'll make. I think it's probably gonna be a trivial task to implement it, if I just knew my way around the necessary code o)

Anyone up for pointing the appropriate files out for me?
nharmony
Registered Member
Posts
192
Karma
1
OS

Re: Rotating Brushes

Wed Dec 17, 2014 8:35 pm
I like the idea of having that stuff in the palette widget. I did an ugly mockup. I'd call it something like brush quickprefs.

Image


alternatively, we could just have a brush quick prefs docker.
Right now the only way to get a different brush angle, is to rotate canvas.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Rotating Brushes

Wed Dec 17, 2014 9:11 pm
That's an interesting idea. It'll also be quite easy to add a rotation slider to the set of sliders in the top toolbar. finally, adding shortcuts for rotation starts in kis_tool_brush.cc, similar to opacity, size and light/dark.
nharmony
Registered Member
Posts
192
Karma
1
OS

Re: Rotating Brushes

Wed Dec 17, 2014 9:52 pm
Just to be clear, i'm no programmer. ;D

I'm not against holding down a shortcut to rotate the brush, or adding more options to the header. I just wanted to point out though, this ps widget also allows you to interactively change the ratio and rotation at the same time. I know there are strong thoughts about being a ps "clone", but i thought i'd mention anyway. Brush ratio and rotation, much like brush size, can change a lot throughout a session. Currently, you have to go all the way up to the brush setting just to do this.

Also, If you have a predefined tip, ratio is nowhere to be found.
User avatar
Kalia
Registered Member
Posts
5
Karma
0

Re: Rotating Brushes

Tue Jan 27, 2015 8:05 pm
+1 for the idea :)

Ps.: GIMP has this as well, not only PS, so it would be a shame if Krita stayed behind :P
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Rotating Brushes

Wed Jan 28, 2015 8:52 am
There will always be things that we don't have time for _even_ if Photoshop and Gimp has the feature as well. See my blog: http://www.valdyas.org/fading/index.cgi ... ibbon.html
Chris Jones
Registered Member
Posts
152
Karma
1

Re: Rotating Brushes

Thu Jan 29, 2015 6:53 am
nharmony wrote:I like the idea of having that stuff in the palette widget. I did an ugly mockup. I'd call it something like brush quickprefs.

Image


alternatively, we could just have a brush quick prefs docker.
Right now the only way to get a different brush angle, is to rotate canvas.


I wonder if some of this functionality could be tied to the shift key, as an enhancement to the brush size tool, rather than adding it as another button to the popup menu? It would need to be intuitive enough to not interfere with normal resizing behaviour though.


nharmony
Registered Member
Posts
192
Karma
1
OS

Re: Rotating Brushes

Fri Jan 30, 2015 9:43 pm
@Boud and others...

Ok so we can do without widget (even though I think that would be fun) How about \ +drag for rotate brush, and ctrl + \ and drag for ratio?

As far as I can see, those aren't shortcuts that are assigned to anything by default? its in the same area as the shift key so it doesn't feel so "foreign" to user? so we can have Size/rotation/ratio all in the same area.

the problem is, ratio is not something that can be changed with predefined tips at the moment.

As long as I can see in real time the rotation and ratio of the brush, just like the size, I think this could work? thoughts?
darkhog
Registered Member
Posts
49
Karma
0

Re: Rotating Brushes

Sat Feb 07, 2015 3:46 am
Since Shift+drag with brush tool changes brush's size, how about following bindings for rotation/ratio:

Ctrl+Drag with brush tool - rotate brush
Shift+Alt+Drag with brush tool - ratio (rationale for this is because shift is used for scaling it would be intuitive if shift+alt would be used to change brush's proportions, a.k.a ratio).
nharmony
Registered Member
Posts
192
Karma
1
OS

Re: Rotating Brushes

Sat Feb 07, 2015 9:24 am
ctrl drag is already in use for the eyedropper tool, and its pretty common to drag in order to select the right colour. So that won't be available.
darkhog
Registered Member
Posts
49
Karma
0

Re: Rotating Brushes

Sat Feb 07, 2015 3:06 pm
nharmony wrote:ctrl drag is already in use for the eyedropper tool, and its pretty common to drag in order to select the right colour. So that won't be available.

Then use alt only for eyedropper. Frankly, from all my friends that uses Krita regularly I've never saw anyone who actually used "current layer only" version of eyedropper that is bound to Alt and even if they did, they did so by accident. Besides layer-only version could be rebound to something like alt+ctrl.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]