Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a pixel shading tool #85
From anasion....@gmail.com on March 02, 2012 21:22:01
What do you need to do? Shading tool
A tool for adding midtones/highlights to the canvas How would you like to do it? Add another brush option
Original issue: http://code.google.com/p/aseprite/issues/detail?id=85
I think, more than a tool this feature could be implemented using a drawing mode to be able to use it with the existing the pencil, box and circle tools.
Since you have to pre-define a gradient or ramp beforehand anyways, you could automatically go into that mode when that gradient is selected.
In our conversation you mentioned a bucket, which i assume is some sort of split area in the palette panel? This could work fairly well!
Highlighting should work through the use of the left mouse button, while the right mouse would shade, moving the index within the ramp up or down accordingly.
Sure! Indeed there is already some (commented) code. Also I think there were some 1.0 beta (0.9.6) that included a Shading mode in the combobox where "Default / Set Alpha / Lock Alpha" ink
That's a good idea.
Great work so far. Works as well as expected!
Using Left/Rightclick to move the ramp up and down works well with a mouse, however it proves to be difficult when using a stylus. Having a button(hotkey e.g. x like the color left/right flip) to flip the order of the selected color ramp so you can remain using the stylus would be a great improvement.
I found it weird that the shading tool works only on any of the colors in the ramp.
The selection of colors are always sorted in order of the color index instead of the color selection order, which makes it difficult to get the color progression you want. It would be appreciated if you could drag-drop/rearrange the colors in the selected ramp to get the progression how you like it.
When working with different custom ramps in one image it can be quite the hassle to either sort the palette so the selection is lined up (if at all possible) or to reorder/rearrange the palette every time you want to change your ramp. For that it would be good to have drop down history on the ramp you can select previously created ramps (either saved per .ase or palette file)
Thanks for the great work. Really love the feature so far <3
I was thinking that in Shading mode,
The good thing about the current mode is that you can be safe that colors that aren't in the gradient aren't modified. One question, in this new mode, if I press left key above a color outside the gradient, do I paint with the right-most color in the gradient?
Yeah, I'd imagine it starts on the right most color and works its way up, and vice versa for the right click respectively.
In fact i personally find it confusing that left click works from right to left side in the gradient. even if left/right click coincides with the direction on the gradient, i'd imagine it more like left click works forward on the gradient. it feels more intuitive to me if the default action works left to right. it doesn't really matter with the x-swap though.