Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional options for fill tool #762

Open
3 tasks
MrStevns opened this issue Sep 21, 2017 · 3 comments
Open
3 tasks

Additional options for fill tool #762

MrStevns opened this issue Sep 21, 2017 · 3 comments

Comments

@MrStevns
Copy link
Member

MrStevns commented Sep 21, 2017

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:
image
tumblr_inline_o52gr2aaez1tsrpfp_540

TODO:

  • Exclude/include colors when filling
  • Close gap
  • Expand/Contract fill
@Jose-Moreno
Copy link
Member

@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.

@MrStevns
Copy link
Member Author

MrStevns commented Sep 23, 2017

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
2

It's not perfect yet, but it works like this:

  1. Draw some segment
  2. intersect the mouse with the contour, this extracts the vector points
  3. 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.

@MrStevns
Copy link
Member Author

MrStevns commented Sep 26, 2017

I have reliable vector fill working now.
objects sticking to each other has also been fixed in most cases.
vector progress

I still need to solve objects sticking to each other with automatic contour fill using the pencil tool but it's getting there.

@J5lx J5lx moved this to Medium Priority in Feature Priority Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Medium Priority
Development

No branches or pull requests

3 participants