Changing the Tint Color

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Broughtvulture
Posts: 31
Joined: 09 Jul 2015, 00:58

Changing the Tint Color

Post by Broughtvulture » 08 Dec 2015, 23:35

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
Windows 7 64-bit
FX 8350 8 Core - 16 GB RAM
TVPaint Professional 11.0.8 64-bit

BNV

User avatar
Animark
Posts: 501
Joined: 16 Oct 2008, 15:26
Location: Berlin

Re: Changing the Tint Color

Post by Animark » 09 Dec 2015, 08:00

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.
TVPaint 10.5.7 - Win10/64
TVPaint 11.0.8 - Win10/64
TVPaint 11.0.8 - Win10/64 (Wacom Companion 2)

Elodie
Posts: 13913
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Changing the Tint Color

Post by Elodie » 22 Dec 2015, 06:11

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.

User avatar
NathanOtano
Posts: 960
Joined: 01 Apr 2014, 07:07
Location: Paris, France
Contact:

Re: Changing the Tint Color

Post by NathanOtano » 22 Dec 2015, 12:03

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.
Last edited by NathanOtano on 22 Dec 2015, 15:35, edited 5 times in total.
Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

User avatar
schwarzgrau
Posts: 1084
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: Changing the Tint Color

Post by schwarzgrau » 22 Dec 2015, 13:40

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
Mac OS X 10.13.6 / TVP 11.0.8 PRO / Cintiq 22HD
Mac OS X 10.13.6 / TVP 11.0.8 PRO / Cintiq Companion 2
SCHWARZGRAU.COM

User avatar
NathanOtano
Posts: 960
Joined: 01 Apr 2014, 07:07
Location: Paris, France
Contact:

Re: Changing the Tint Color

Post by NathanOtano » 22 Dec 2015, 14:52

Oh I remember this script, thanks.
Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

Post Reply