Page 1 of 2

Actions in TVP

Posted: 12 Apr 2012, 19:22
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

Re: Actions in TVP

Posted: 13 Apr 2012, 06:59
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 ?

Re: Actions in TVP

Posted: 13 Apr 2012, 09:21
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

Re: Actions in TVP

Posted: 13 Apr 2012, 12:36
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 ?

Re: Actions in TVP

Posted: 13 Apr 2012, 19:18
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!

Re: Actions in TVP

Posted: 13 Apr 2012, 19:35
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.

Re: Actions in TVP

Posted: 13 Apr 2012, 21:48
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.

Re: Actions in TVP

Posted: 14 Apr 2012, 00:23
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

Re: Actions in TVP

Posted: 14 Apr 2012, 03:08
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;

Re: Actions in TVP

Posted: 14 Apr 2012, 22:36
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.

Re: Actions in TVP

Posted: 15 Apr 2012, 02:24
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

Re: Actions in TVP

Posted: 16 Apr 2012, 11:26
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.

Re: Actions in TVP

Posted: 16 Apr 2012, 14:45
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: )


Re: Actions in TVP

Posted: 16 Apr 2012, 16:26
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.

Re: Actions in TVP

Posted: 16 Apr 2012, 19:25
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.