Page 1 of 1

Eraser power baed on alpha of the lines being erased

Posted: 25 Jan 2023, 09:14
by cwellems
I'm trying to create an eraser that simulates the way I use eraser on real paper.

When animating with paper and pencil, I draw a few extremely faint lines before placing the dark final line. Then to clean up the drawing I rub the eraser gently over the faint lines and they come away easily. The dark lines might get rubbed a little too but they very little darkness.

I'd like to create an eraser in TVPaint that applies more power on pixels that have a low alpha, and less power over pixels with high alpha, so my faint layout lines will be reduced without accidentally rubbing away too much of the final line too. Will this require a script or is there some other way to make such a tool?

Re: Eraser power baed on alpha of the lines being erased

Posted: 25 Jan 2023, 12:36
by slowtiger
I don't know how thick or black your lines are but you should try the "erode" effect on this one first.

Re: Eraser power baed on alpha of the lines being erased

Posted: 25 Jan 2023, 13:37
by D.T. Nethery
cwellems wrote: 25 Jan 2023, 09:14 I'm trying to create an eraser that simulates the way I use eraser on real paper.

When animating with paper and pencil, I draw a few extremely faint lines before placing the dark final line. Then to clean up the drawing I rub the eraser gently over the faint lines and they come away easily. The dark lines might get rubbed a little too but they very little darkness.

I'd like to create an eraser in TVPaint that applies more power on pixels that have a low alpha, and less power over pixels with high alpha, so my faint layout lines will be reduced without accidentally rubbing away too much of the final line too. Will this require a script or is there some other way to make such a tool?

In this pencil set posted in the Contents Sharing forum there are four "kneaded erasers" that will do what you want. viewtopic.php?p=99263
File is Crayons.tvpx

TVPaint_Crayons_Pencil_and_Eraser_Set.png
TVPaint_Crayons_Pencil_and_Eraser_Set.png (26.2 KiB) Viewed 1341 times

.