Actions in TVP

Please use this part to report bugs & errors, ask questions & "How to..."
frankrause
Posts: 4
Joined: 12 Apr 2012, 04:04

Actions in TVP

Post by frankrause »

I'm new to actions in TVP - can I set an area of effect in an action? For instance, if I want it to floodfill or magic-wand select in a specific area every time?

Thanks,
-Fran
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Actions in TVP

Post by Elodie »

Concerning the floodfill, you can select all your images and apply the same floodfill everywhere by hitting Enter on your keyboard.

Selections stay the same, whatever your layer or image. If the area that you want to select change at every frame, you will have to re-do a new selection.

I assume you want to select things in your animation in order to flood fill it on a new layer, don't you ?
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Actions in TVP

Post by Mads Juul »

You can set the position of the fill tool with this george commands

Code: Select all

tv_fill 400 400
read more here
http://wiki.tvpaint.fr/index.php?title=Tv_Fill

and you can include the code in an action using embedded george script.

Unfortuanetely you cannot do the same with the selection.
I have made a feature request for this some time ago here
viewtopic.php?f=21&t=5457
Please support the feature request if you also are interested in controlling selections through actions.
-Mads
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Actions in TVP

Post by Fabrice »

frankrause wrote:I'm new to actions in TVP - can I set an area of effect in an action? For instance, if I want it to floodfill or magic-wand select in a specific area every time?

Thanks,
-Fran
Hi Fran,

It has been a long time, nice to see you there. :)
Feel free to post some images, we might give you better advices. Is it for one of your students ?
Fabrice Debarge
frankrause
Posts: 4
Joined: 12 Apr 2012, 04:04

Re: Actions in TVP

Post by frankrause »

Hi Fabrice!

My goal was to magic-wand select in the upper left corner, inverse the selection, and then floodfill on a layer beneath the artwork to quickly color roughs for pencil tests. It sounds like some other people have been trying to do this as well. Hopefully this feature gets into a future release. Thanks!
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Actions in TVP

Post by ZigOtto »

frankrause wrote:Hi Fabrice!

My goal was to magic-wand select in the upper left corner, inverse the selection, and then floodfill on a layer beneath the artwork to quickly color roughs for pencil tests. It sounds like some other people have been trying to do this as well. Hopefully this feature gets into a future release. Thanks!
yes, it's roughly what FigureFill does, try it and tell us if it helps.
frankrause
Posts: 4
Joined: 12 Apr 2012, 04:04

Re: Actions in TVP

Post by frankrause »

Thanks for the link. I tried "FigureFill" but when I click outside my shape, nothing happens. I'll see if I can figure out what's wrong.
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Actions in TVP

Post by Svengali »

frankrause wrote:I tried "FigureFill" but when I click outside my shape, nothing happens. I'll see if I can figure out what's wrong.
Fran, Sorry for the confusion... Probably your problem is that you downloaded the original TVPX, which other people also had a problem with (similar to yours).

If you revisit the link and download and install the newly updated .TVPX file I just posted there, it should work for you. Let us know if that solves it.

Sven
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Actions in TVP

Post by D.T. Nethery »

frankrause wrote:Thanks for the link. I tried "FigureFill" but when I click outside my shape, nothing happens. I'll see if I can figure out what's wrong.
Use the updated FigureFill here:

http://www.tvpaint.com/forum/viewtopic. ... =15#p50843" onclick="window.open(this.href);return false;
frankrause
Posts: 4
Joined: 12 Apr 2012, 04:04

Re: Actions in TVP

Post by frankrause »

Yes, unfortunately that's the version I was using. I tried it out on two different computers but it doesn't do anything. I've been trying it every way I can imagine but it doesn't have an effect.
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Actions in TVP

Post by Svengali »

Hi Fran,

Uh-oh. Sorry to hear that.

I wonder could you give the exact version number of the TVPaint software that you are using? Also, are there any error messages that pop up? Do you have the stencil for the any Layer accidentally turned on (the mask icon in the Menu Panel across the top would be highlighted a pale orange as happens when you manually toggle it). Check that the background color and the Fill color are different. Obviously, if the background is white and the fill color is white, you won't see anything happen (I did this myself a few times :roll:) . Make sure that your painting "mode" for the selected tool is set to "Color". If it is anything else, you might not succeed with the fill (the script should explicitly set the fill to color and in the next version of Figure Fill, I will have it do that). Opacity should be set to 100%, too - worth a look just to be sure.

Finally, are you positive you are using the TVPX file and custom panel labeled "Figure Fill 9&10"? That's the new version that includes the "+Fill" button; the update seems to work now for everyone who originally had problems.

Sven
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Actions in TVP

Post by Fabrice »

frankrause wrote:Hi Fabrice!

My goal was to magic-wand select in the upper left corner, inverse the selection, and then floodfill on a layer beneath the artwork to quickly color roughs for pencil tests. It sounds like some other people have been trying to do this as well. Hopefully this feature gets into a future release. Thanks!
Yes, some new options are in developments.

One quick workaround does exists though, I'm going to write a short tutorial this afternoon. stay tuned.
Fabrice Debarge
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Actions in TVP

Post by Peter Wassink »

Hello Fran,
Welcome here, just wanted to say that i love your work.
Nosy Bear (and its making of! you really lifted the animators curse there :wink: )

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
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Actions in TVP

Post by Fabrice »

Fabrice wrote:
frankrause wrote:Hi Fabrice!

My goal was to magic-wand select in the upper left corner, inverse the selection, and then floodfill on a layer beneath the artwork to quickly color roughs for pencil tests. It sounds like some other people have been trying to do this as well. Hopefully this feature gets into a future release. Thanks!
Yes, some new options are in developments.

One quick workaround does exists though, I'm going to write a short tutorial this afternoon. stay tuned.
ok, here is a quick suggestion :

Let's say you have your animation on one layer (blue layer).

1°) Create a new animation layer (red layer) behind the blue layer, and add as many instances as you have in your animation.
2°) Use the "Flood Fill" tool to color the first frame of the red layer.
3°) Select all the frames of the red layer (shortcut : Ctrl + A), and use the [Enter] key. All the frames of the red layer should be colored completely.
4°) Now, come back to the first frame of the red layer.
5°) In the "Flood Fill" tool, select the "Erase" drawing mode, and set the source parameter to "top" or "front" (depending if you are using TVPaint Animation 9 or 10, we changed the localisation).
6°) Now, choose a place on the canvas where the character (blue layer) will never be, during all your animation duration. Then click to use your "Flood Fill" tool.
Only the caracter should be colored, every colored pixels outside should be removed.
7°) Select all the frames of the red layer (shortcut : Ctrl + A), and use the [Enter] key. Only the caracter should be colored, but this time on all the animation.

Does it make sense ? Sorry for the lack of images. I can add some if you want.

Such processes should be more easy to do in the next updates. :)

Of course you can play with the "Flood Fill" tool other parameters, like "expand" or "gap closer" to improve the results.
Fabrice Debarge
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Actions in TVP

Post by D.T. Nethery »

Does it make sense ? Sorry for the lack of images. I can add some if you want.
Let me be among those who raise my hand and say "Yes, please" for images. (so I can send people here to read this tutorial) .

This would also be a function that deserves a complete Video Tutorial for TVPaint 9 / 9.5 /10 along with a tutorial for the improved flood fill paint system coming in the updates to TVPaint 10 when those appear .

-DN


------

Fabrice wrote:
Fabrice wrote:
frankrause wrote:Hi Fabrice!

My goal was to magic-wand select in the upper left corner, inverse the selection, and then floodfill on a layer beneath the artwork to quickly color roughs for pencil tests. It sounds like some other people have been trying to do this as well. Hopefully this feature gets into a future release. Thanks!
Yes, some new options are in developments.

One quick workaround does exists though, I'm going to write a short tutorial this afternoon. stay tuned.
ok, here is a quick suggestion :

Let's say you have your animation on one layer (blue layer).

1°) Create a new animation layer (red layer) behind the blue layer, and add as many instances as you have in your animation.
2°) Use the "Flood Fill" tool to color the first frame of the red layer.
3°) Select all the frames of the red layer (shortcut : Ctrl + A), and use the [Enter] key. All the frames of the red layer should be colored completely.
4°) Now, come back to the first frame of the red layer.
5°) In the "Flood Fill" tool, select the "Erase" drawing mode, and set the source parameter to "top" or "front" (depending if you are using TVPaint Animation 9 or 10, we changed the localisation).
6°) Now, choose a place on the canvas where the character (blue layer) will never be, during all your animation duration. Then click to use your "Flood Fill" tool.
Only the caracter should be colored, every colored pixels outside should be removed.
7°) Select all the frames of the red layer (shortcut : Ctrl + A), and use the [Enter] key. Only the caracter should be colored, but this time on all the animation.

Does it make sense ? Sorry for the lack of images. I can add some if you want.

Such processes should be more easy to do in the next updates. :)

Of course you can play with the "Flood Fill" tool other parameters, like "expand" or "gap closer" to improve the results.
Post Reply