pencil
pencil copied to clipboard
Additional options for fill tool
The fill tool needs more features to become really useful, one feature i'm particularly interested in implementing for bitmap is the ability to exclude/include fill on a specific color.
The feature comes from the animation program Retas Studio, which in Asia was and probably still is much loved when working with cels and hand-drawn paper scans.
Retas studio images for reference:
TODO:
- [ ] Exclude/include colors when filling
- [ ] Close gap
- [ ] Expand/Contract fill
@CandyFace Yes! There was a similar request done in the past, more like TVPaint where you could tint or delete specific colors via macros or a tool. But this feature distribution looks great too and is very close to the feature idea!
One thing though, this is considering that one would ink & paint with bitmap tools. But what could be done about the ink & paint with vector tools?. I just realized it would be interesting to propose a feature where you could tint specific segments between control points, to achieve a similar effect. It would be similar to flash or toonboom where you could do just that, select a stroke segment and change it's colour. But if we could adapt this Retas idea to that, it's be awesome to maintain a single interface for both solutions. A layer-aware option panel for the fill tool.
I have no real plans for the vector fill tool except fixing the fill algorithm by filling the given vector points ( which I already have sorta working ) and stroke fill. Filling segments could be an interesting idea too.
You can see WIP here
It's not perfect yet, but it works like this:
- Draw some segment
- intersect the mouse with the contour, this extracts the vector points
- press anywhere to fill the shape.
It's fast and accurate because it simply follows the points, however it doesn't stop filling when another color intersects, compared to pixel fill.
edit:
as mentioned before, I really do not like the nature of being locked to a color and only being able to change using a different color on the palette. It should imo work like this:
- Select shape you want to fill or change color:
- Shape is highlighted
- Fill object or change color of object.
When the object is not selected, it should be possible to interact with the color wheel without changing color.
I have reliable vector fill working now.
objects sticking to each other has also been fixed in most cases.
I still need to solve objects sticking to each other with automatic contour fill using the pencil tool but it's getting there.