Invert Floodfill Option

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Invert Floodfill Option

Post by Mads Juul »

What about an "Invert" checkbox option for the floodfill tool. When enabled the floodfill will fill the inverted area instead of the selected area.
When I am storyboarding I am all the time painting my characters with a white behind pen so the background is not visible through the characters. And an invert floodfill option would do this much easier.
INVERTFILL.png
-Mads
Last edited by Mads Juul on 12 Mar 2012, 10:12, edited 1 time in total.
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Invert Floodfill Option

Post by Elodie »

Hmmm, interesting idea !
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Invert Floodfill Option

Post by Sewie »

+1!
Good suggestion!
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
CartoonMonkey
Posts: 1087
Joined: 01 Jun 2007, 18:47
Location: Portland, Oregon
Contact:

Re: Invert Floodfill Option

Post by CartoonMonkey »

I like this! It can be done in steps for sure.. given there are no gaps or minimal gaps in the outside lines of your character.
I'm still trying to figure out how to do a special action to flood fill an area with gap detection turned on. Maybe I'll try again tonight for a simple toolbar addon that does this.. I think I'm almost there.

I have a solution that semi-works for me. Thought I'd share it: viewtopic.php?f=11&t=5648
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Invert Floodfill Option

Post by Peter Wassink »

+1
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Invert Floodfill Option

Post by Svengali »

Mads,
I think I've worked out a script (suggested by chad essley's post) that does what you want but it depends on the user making certain FLOODFILL settings manually. If there were a pair of commands like those I requested HERE the whole fill behind (figurefill.grg) process could be accomplished with a single click. If we get these commands or something similar in the next TVP update, I'll post the script (and FigFill button pictured below).

The fills are created on a separate layer, one level below the line-drawn shapes.

Note that the user clicks either on some part of the background to auto-fill behind all closed figures or the user can also draw a line, starting on some part of the background and ending inside an interior closed shape which also remains unfilled.

Finally, one click of the FigFill button will allow the the script to perform this automatic fill-behind operation over a user-selected series of line-drawing frames chosen by the user.
FigureFill.gif
FigureFill.gif (56.51 KiB) Viewed 20933 times
Sven
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Invert Floodfill Option

Post by Peter Wassink »

Svengali wrote:... If we get these commands or something similar in the next TVP update, I'll post the script (and FigFill button pictured below).
Awesome Sven!
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Invert Floodfill Option

Post by slowtiger »

I second this feature request. This will be a great improvement for all artists who prefer to paint mostly transparent - they need one solid layer under their characters. And it's going to make work faster for those who like that "black lines only" look, where you still need to block out backgrounds behind characters.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Invert Floodfill Option

Post by D.T. Nethery »

Peter Wassink wrote:
Svengali wrote:... If we get these commands or something similar in the next TVP update, I'll post the script (and FigFill button pictured below).
Awesome Sven!

This would be extremely useful.

+1 on this feature request !
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Invert Floodfill Option

Post by Mads Juul »

Svengali wrote:Mads,
I think I've worked out a script (suggested by chad essley's post) that does what you want......
The fills are created on a separate layer, one level below the line-drawn shapes.

Sven
Is it possible to make the fill on the SAME layer as the outline. that's what I want. not on another layer.


Could be nice with a script.
I still think the invert fill would be a nice feature. And maybe more easy for a new user. than finding a script on the forum ;-)
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Invert Floodfill Option

Post by Svengali »

madsjuul wrote: Is it possible to make the fill on the SAME layer as the outline. that's what I want. not on another layer...
I still think the invert fill would be a nice feature. And maybe more easy for a new user. than finding a script on the forum ;-)

You could either modify a line or two in the script or simply merge the fill layer with the outline layer after the shape fills are generated.

For me, there are lots of good reasons to have the fill created on a separate layer, or eventually, even on several separate layers for full coloring, shading and texturing.

I agree that a parameter check box for inverting the fill as part of the options in the Filling Shape section could be most helpful for new users and veterans alike. Let's see what tomorrow brings. :D

Sven
Post Reply