Page 1 of 1
looking for fill/line color relationship plug-in(?)
Posted: 12 Feb 2013, 04:49
by thomasteraoka
Hi there,
I'm on a Mac OS X Lion v10.7.5. Using TVP10 pro.
I am searching for a tool (or plug-in? or software?) that allows me to fill a closed line drawing, and depending on the fill, the black line will take on a bit of the same hue. Has anybody seen this? Sounds enticing right? I browsed through the software sharing forum and the plug-in forum, but I haven't found what I'm looking for.
One of the guys running a TVP workshop mentioned this exists and I could find it on the forums (albeit *possibly* on the other language forums)
It was used in making the short "Fur", one of the video examples viewable on the TVP website.
Re: looking for fill/line color relationship plug-in(?)
Posted: 12 Feb 2013, 20:31
by Fabrice
Hi Thomas,
I"m the one who said this.
Right now it's a script, you can find the .tvpx file :
It works with two layers only : one with the lines, one with the colors.
Re: looking for fill/line color relationship plug-in(?)
Posted: 13 Feb 2013, 08:50
by oferk
Funny, I just thought about the same thing, and meant to implement it in my LazyBrush plugin, so we can color the lines with a darker version of the fill color.
Ill try this script right now,
Thanks!
Re: looking for fill/line color relationship plug-in(?)
Posted: 13 Feb 2013, 09:37
by oferk
Its cool, Im impressed. Very simple and elegant, and I also learnt of some new script commands.
I just need to modify it to darken the lines a bit.
Oh, maybe you can explain me:
What does this line do:
tv_plugin "colorop" "cmd" "r" "g" "b" "(a-10)*10000"?
Where is the colorop plugin documented?
EDIT: Another question, can I darken the image, and maybe change the saturation, with script commands?
Thanks
Re: looking for fill/line color relationship plug-in(?)
Posted: 13 Feb 2013, 14:35
by Fabrice
Its cool, Im impressed. Very simple and elegant, and I also learnt of some new script commands.
made by Hervé Adam, our master
Re: looking for fill/line color relationship plug-in(?)
Posted: 13 Feb 2013, 14:57
by ematecki
oferk wrote:
What does this line do:
tv_plugin "colorop" "cmd" "r" "g" "b" "(a-10)*10000"?
colorop applies a formula to the color components of every pixel in the current image of the current layer.
tv_plugin "colorop" "cmd" : always so ("colorop": name of the plugin, "cmd" : plugin specific thing to do, colorop only understand "cmd")
"r" : formula used to compute the new red value for the pixel.
"g", "b" : same for green and blue.
"(a-10)*10000" : formula used to compute the new alpha value for the pixel.
Pixel values are UNmultiplied, both "in" and "out".
Re: looking for fill/line color relationship plug-in(?)
Posted: 13 Feb 2013, 15:03
by oferk
Ok, thanks. So I can use it for darkening the image a bit.
Excellent.