Hi, i dont know much about script. i can create some toolbars and action, but nothing to fancy.
i want to create a button that erase only the blue in 50% in the entire image (because the blue by default its too hard).
anyone can give me some help?
thanks!
magic ereaser blue 50% Topic is solved
Re: magic ereaser blue 50%
This code turns down the aalpha channel in the blue channel of the current image with 50%
is this what you was looking for?
You can read about the command here
http://wiki.tvpaint.fr/index.php?title=Tv_PixelMatrix
I have also put it in a custom panel.
Hope it helps.
-Mads
Code: Select all
tv_pixelmatrix 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 -0.5 1 0
You can read about the command here
http://wiki.tvpaint.fr/index.php?title=Tv_PixelMatrix
I have also put it in a custom panel.
Hope it helps.
-Mads
- Attachments
-
- MEB50.tvpx
- (4.5 KiB) Downloaded 212 times
-
- Posts: 32
- Joined: 10 Dec 2013, 02:42
Re: magic ereaser blue 50%
JUST PERFECT! THANKS MADS!!!!
(y suppose that if i change the "0 0 -1.5 1 0" for "0 -1.5 0 1 0" work with the red or green, right?)
(y suppose that if i change the "0 0 -1.5 1 0" for "0 -1.5 0 1 0" work with the red or green, right?)
Re: magic ereaser blue 50%
Glad I can help.juansolimar wrote:JUST PERFECT! THANKS MADS!!!!
(y suppose that if i change the "0 0 -1.5 1 0" for "0 -1.5 0 1 0" work with the red or green, right?)
Yes this should turn down the red channel
Code: Select all
tv_pixelmatrix 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 -0.5 0 0 1 0
Code: Select all
tv_pixelmatrix 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 -0.5 0 1 0
Re: magic ereaser blue 50%
I didn't know geroge can control alpha value of Blue channel.
By the way, is it possible to fill only transparent areas(alpha value 0) with specific colors?
By the way, is it possible to fill only transparent areas(alpha value 0) with specific colors?
-
- Posts: 32
- Joined: 10 Dec 2013, 02:42
Re: magic ereaser blue 50%
HI! i was wondering. what if i want to erease by 50% only the black lines?
thnks
thnks
Re: magic ereaser blue 50%
Check out the half-erase panel I just posted in the Contents Sharing section:
http://forum.tvpaint.com/viewtopic.php?f=11&t=10684
Thanks!
David
http://forum.tvpaint.com/viewtopic.php?f=11&t=10684
Thanks!
David