dear community,
as the topic sais I would like to change the color of the "all black" ink pot button.
The script is:
tv_cmd Heads tv_pixelmatrix 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
the color is:
R 066 G 055 B 042
how can I add the color information into the script?
thank you
vera
how to customize the color of the "all black" ink pot?
- toonsisters
- Posts: 105
- Joined: 11 Jan 2008, 13:38
- Location: Germany
Re: how to customize the color of the "all black" ink pot?
hi TS,
do you need to modify only the "Ink All in Black" into a custom "Ink All in Brown" tool ?
or will you need all the "Black" relative tools to be modified as well,
(Erase Black Pixels, Tint in Black, Magic Black Eraser) ?
anyway, you can start to try this : duplicate the "All in Black" Button,
then edit it and replace the command line by the one as on this attached pict. :
LMB click "Type Script's Command..."
ps : An other way consists to "buttonize" an FXstack,
I haven't tried this, but I think it should be possible after some FXs tweaking.
do you need to modify only the "Ink All in Black" into a custom "Ink All in Brown" tool ?
or will you need all the "Black" relative tools to be modified as well,
(Erase Black Pixels, Tint in Black, Magic Black Eraser) ?
anyway, you can start to try this : duplicate the "All in Black" Button,
then edit it and replace the command line by the one as on this attached pict. :
LMB click "Type Script's Command..."
ps : An other way consists to "buttonize" an FXstack,
I haven't tried this, but I think it should be possible after some FXs tweaking.
- Attachments
-
- AllBrownButton.png (7.81 KiB) Viewed 14657 times
- toonsisters
- Posts: 105
- Joined: 11 Jan 2008, 13:38
- Location: Germany
Re: how to customize the color of the "all black" ink pot?
Hi Zigotto,
sorry for my late reply. I just realized that I haven't gave you feedback yet.
Yes, your recommended script does exactly what I need.
Thank you very much again,
vera
sorry for my late reply. I just realized that I haven't gave you feedback yet.
Yes, your recommended script does exactly what I need.
Thank you very much again,
vera
-
- Posts: 1
- Joined: 13 Jun 2018, 09:28
Re: how to customize the color of the "all black" ink pot?
It worked in TVP 10, I've tried the same script in TVP 11 and it didn't seem to work. Any idea?
Thank you
Thank you
Re: how to customize the color of the "all black" ink pot?
Hi, I have the same question.
I want to create a button that turns all my black lines into a dark grey color. (So that I can then manipulate the lightness/darkness with Otano's amazing Storyboard Tools panel.)
Any idea how I can find out what the code would be for the greys?
For example this one:
HSL: 0,0,30
I want to create a button that turns all my black lines into a dark grey color. (So that I can then manipulate the lightness/darkness with Otano's amazing Storyboard Tools panel.)
Any idea how I can find out what the code would be for the greys?
For example this one:
HSL: 0,0,30
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
- Peter Wassink
- Posts: 4436
- Joined: 17 Feb 2006, 15:38
- Location: Amsterdam
- Contact:
Re: how to customize the color of the "all black" ink pot?
you can tweek the pixelmatrix value
i did it for you:
the numbers next to the buttons stand for
Luminance value (pixelmatrix value)
(for Luminance 30 you need to put in 0.12)
i did it for you:
the numbers next to the buttons stand for
Luminance value (pixelmatrix value)
(for Luminance 30 you need to put in 0.12)
- Attachments
-
- Turn to Grey.tvpx
- (693 KiB) Downloaded 389 times
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
- Peter Wassink
- Posts: 4436
- Joined: 17 Feb 2006, 15:38
- Location: Amsterdam
- Contact:
Re: how to customize the color of the "all black" ink pot?
To circle back to the original thread question of "how to customize the color....":
You can make an action to turn all editable pixels on the layer into ANY RGB color using this formula:
By using this formula on the pixelmatrix command
x *100 / 255
where x = the desired R G or B value
Example:
Hisko brown, RGB = 95,73,58
R : 9500/255 = 0.373
G: 7300/255 = 0.286
B: 5800/255 = 0.227
place these values in the spot of the 4th zero in each of the three 5 zero arrays like so (disregard the underscores):
tv_cmd Heads tv_pixelmatrix 0 0 0 0 0_ 0 0 0 0 0_0 0 0 0 0_ 0 0 0 1 0
tv_cmd Heads tv_pixelmatrix 0 0 0 0.373 0 _ 0 0 0 0.286 0 _ 0 0 0 0.227 0 _ 0 0 0 1 0
#recolor pixels
#recoloring
#recolor lines
You can make an action to turn all editable pixels on the layer into ANY RGB color using this formula:
By using this formula on the pixelmatrix command
x *100 / 255
where x = the desired R G or B value
Example:
Hisko brown, RGB = 95,73,58
R : 9500/255 = 0.373
G: 7300/255 = 0.286
B: 5800/255 = 0.227
place these values in the spot of the 4th zero in each of the three 5 zero arrays like so (disregard the underscores):
tv_cmd Heads tv_pixelmatrix 0 0 0 0 0_ 0 0 0 0 0_0 0 0 0 0_ 0 0 0 1 0
tv_cmd Heads tv_pixelmatrix 0 0 0 0.373 0 _ 0 0 0 0.286 0 _ 0 0 0 0.227 0 _ 0 0 0 1 0
#recolor pixels
#recoloring
#recolor lines
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
Re: how to customize the color of the "all black" ink pot?
Great!
Thanks, Peter.
Thanks, Peter.
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM