View Full Version : Is there line darkening with a lower threshold limit?
cobo
5th March 2007, 00:00
Is there some way of line darkening animations that has a lower threshhold limit (like the upper threshold limit in vmToon and LineDarken) so it will only darken lighter lines such as color on color lines and not darken the black or near black lines?
foxyshadis
5th March 2007, 01:39
Yes, but it can be tricky. vmtoon's the best base to start on, and you'll need AvsP to work on this:
test=vmtoon(sharpen=false,thinning=0,strength=[<"str", 0, 255, 33>],luma_cap=[<"lum", 0, 255, 203>],threshold=[<"thr", 0, 255, 8>])
Tweaking luma_cap and threshold might get you what you want. If not, the function will have to be edited with some new minimum brightness argument.
cobo
5th March 2007, 03:38
I'd like to decrease the relative difference between the black and color lines. I geuss what I meant to ask if there's a way to set a lower luma_cap so just lines with luma somewhere between about 70 and 190 will be darkened. Is that what you mean by "some new minimum brightness argument"?
Turning down the saturation can help bring out the lighter lines, but then the saturation is too low. When I adjust vmToon or LineDarken so that light gray lines are dark enough then brown lines become nearly black and irises look more like crosses instead of dots.
If not, the function will have to be edited with some new minimum brightness argument.
I don't know how to do that.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.