Automatic Fill George Script

A forum dedicated to George scripting questions
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Automatic Fill George Script

Post by Mads Juul »

I'm playing around with the idear to a George script where I automaticall ytry to fill an area of all my instances in an animation layer, but I dont know if this is possible.

I just go through the different stages of the script:

* get x,y coordinate for Fill witn Param dot.

* make a fill with tv_fill

* now I would go to the next onstance on the layer but I dont know if this is possible.
I can advance one frame with tv_image = tv_getimage + 1. but can I detect
if the frame is an exposure or image?
* then i would make a new fill but first I would diside if the animation had moved so much that i would fill outside the first area. I could do this by making a selecting first and see if the boundaries of the selection was equally to the boudaries of the project is this possible?

-mads
User avatar
fabrice_
Posts: 1146
Joined: 08 Feb 2006, 14:57
Location: France

Post by fabrice_ »

Hi madsjuul,

It's not an answer regarding your George question, but did you try the autopick color option ? Maybe it could help you to perform your filling operations.
see also : http://www.tvpaint.com/forum/viewtopic.php?t=995 I did a small video tutorial.

Fabrice Debarge / Beta-Team member / Author of the user-manual.
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Post by Mads Juul »

that god damned smart .')
thank you
A guess I will have to optain the SDK to get a Better George reference
-mads
User avatar
fabrice_
Posts: 1146
Joined: 08 Feb 2006, 14:57
Location: France

Post by fabrice_ »

A guess I will have to optain the SDK to get a Better George reference
Just send an email to support@tvpaint.fr :)

Fabrice Debarge / Beta-Team member / Author of the user-manual.
Post Reply