Page 1 of 1

Changing the Tint Color

Posted: 08 Dec 2015, 23:35
by Broughtvulture
As you know the sketch panels are very convenient when it comes to changing the color of your lines, without having to mess with the FX Panel. I was wondering how to change the color of the tint from black to another color like brown( R: 104 G: 066 B: 034 )? I was searching around and came by the George Script Documentation on http://wiki.tvpaint.com/index.php?title ... ecialBrush, but I still don't know how to use it. Someone please help me decipher this: http://wiki.tvpaint.com/index.php?title=Tv_CustomMode I looked at the values on the Red, Blue, Orange, and Green, but haven't been able to make much sense of it. I know that r(red), g(green), b(blue),and a(alpha). What is k and why are there 1, 2, 3, and 4 beside each value? Please help

Re: Changing the Tint Color

Posted: 09 Dec 2015, 08:00
by Animark
I don't know a lot about the George Script commands, but when I want to have another line color, I just use the "Preserve Transparency" function of a layer, one of the drawing tools and every color I like to have.

Re: Changing the Tint Color

Posted: 22 Dec 2015, 06:11
by Elodie
Colors from sketch panels are chosen very specifically. For example, in RGB sketch panel, red is pure (without nuance of blue or green), green is pure (without nuance of red or blue) and blue is pure (without nuance of red or green). When you hit "delete green", you will never affect red or blue.

If you use brown, it will be a mix of red and green. So, if you draw with brown and green lines, when you will hit your "delete green" button, it will also affect brown lines, that will turn into light red.

Plus, you will spend a longer time to change values in sketch panel rather than preserve alpha transparency and use any filled shape, as Animark suggested.

Re: Changing the Tint Color

Posted: 22 Dec 2015, 12:03
by NathanOtano
But if you don't need to delete only specific colors, you can use the color you want + pure black lines and erase only colored strokes.

Code: Select all

tv_cmd heads tv_pixelmatrix  1 0 0 0 0    0 1 0 0 0   0 0 1 0 0    -3 -3 -3 1 0 
With this command I think you will be able easily erase any colored pixel, even if it's not pure color. If your color is too dark and leaves grey, you can replace the "-3" by lower numbers.

Each section represents R, G, B and alpha and in it you can modify it with R, G, B, alpha and k (a simple added number that can be positive or negative). So you can put blue in red, red in blue, blue in alpha, add 50 to your blue channel, remove 50 opacity on all your channels... etc.

It's explained here :
http://wiki.tvpaint.com/index.php?title=Tv_PixelMatrix" onclick="window.open(this.href);return false;

I'm still searching a way to easily erase uncolored pixels but havn't found it.

Re: Changing the Tint Color

Posted: 22 Dec 2015, 13:40
by schwarzgrau
If you wan't to create own colors in your sketch-panel you're on the right track I guess, but if you just want to be able to "recolorize" your lines you can use this script by Svengali

Re: Changing the Tint Color

Posted: 22 Dec 2015, 14:52
by NathanOtano
Oh I remember this script, thanks.