button for changing pixels to a specific color

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Peter Wassink
Posts: 4283
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

button for changing pixels to a specific color

Post by Peter Wassink »

Using the tools in the sketchpanel you can change all current pixels into a specific color.
it makes use of the pixelmatrix command
https://wiki.tvpaint.com/index.php?title=Tv_PixelMatrix
As a default the sketchpanel only offers a limited number of colors.
It is possible to make it output other colors but the formula is not very intuitive though.

i am looking for ways to change pixels to a custom color via a command/custom action. (so a 1 click solution rather then the normal way of alpha lock and painting all frames manually)

the tv_pixelmatrix is too complex (for me :P ) to set this up for different colors
does anyone have a suggestion, could also be another command?
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
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: button for changing pixels to a specific color

Post by schwarzgrau »

Here you can find a script which does this by Svengali (changing the content of the frame to your selected color).
But this is such an obvious feature, that I can't understand why it wouldn't been added years ago.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
Peter Wassink
Posts: 4283
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: button for changing pixels to a specific color

Post by Peter Wassink »

Thanks Marc,

indeed worthy to somehow permanently include...
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
Post Reply