Page 1 of 1
color picker issue - tvp pixel interpolation affects on color picker
Posted: 20 Nov 2022, 21:50
by ini
Hello, My friend is working in japanese animation industry.
and when they put the color on the usual image, they use color without transparency. (not antialiased image)
When Image has many pixels(I think according to magnification rate, like default 150%?), tvpaint put the interpolation on the image.
I think It's same as other program, maybe they have their own interplation on what we see from the screen too.
When the image have only two pixel which has (255,255,255) and (0,0,0).
Incase of that the image is minimized, so the interplation is active,
Tvpaint color picker is picking interplated pixel's color, like (64,64,64) which is not exist on original pixel.
on the other hand, other program which is usually they are using is pick only exist pixel color.
I made him a script which is turning the intelpolation off when the picking the color.
but, I think general users can't use that way if they are not know the scripting on tvp.
I'm wondering that it's intentional thing.
Re: color picker issue - tvp pixel interpolation affects on color picker
Posted: 26 Nov 2022, 04:41
by ini
for example,
in this img, there is only black(0,0,0) and grey(121,121,121)
- tvp_intepolation.png (1.78 KiB) Viewed 2844 times
no Anti-Aliasing, but with tvp interpolation, color picker is picking non exist color like (253,253,253) (52,52,52)
in tvp
- tvp_intepolation,colopicker.gif (81.31 KiB) Viewed 2842 times
photoshop
- tvp_intepolation,photoshop.gif (91.6 KiB) Viewed 2844 times
clip studio
- tvp_intepolation,clip.gif (80.87 KiB) Viewed 2844 times
Re: color picker issue - tvp pixel interpolation affects on color picker
Posted: 28 Nov 2022, 02:16
by Hironori Takagi
This matter was requested from our studio in the closed section three years ago.
https://forum.tvpaint.com/viewtopic.php?p=121934
(82)Using the color picker when the zoom window is zoomed out may pick up RGB values mixed with the neighbor value
→Not solved
This is one of the reasons why Japanese painters and animators don't use TVPaint.
I attached the link of this video at that time.
It is an explanation of picking up colors from a small screen.
https://youtu.be/7rrZmwMS0LQ
Re: color picker issue - tvp pixel interpolation affects on color picker
Posted: 28 Nov 2022, 05:13
by ini
Hironori Takagi wrote: ↑28 Nov 2022, 02:16
This matter was requested from our studio in the closed section three years ago.
I see, I didn' know that.
Here is the script that I shared to my friend,
check it out If you want, Takagi-san
ちなみにPixelInterpolation後の数字は画面の倍率によって適用されます。
"tv_display PixelInterpolation 0.5"は画面の倍率50%からPixelInterpolationされます。
"tv_display PixelInterpolation 0"はPixelInterpolationなしになるので、
TPデータだとモニター解像度限界以上の大きい場合、或いはそれ以上縮小するとピクセルが消えます。
Code: Select all
tv_GetActiveShape
parse result Shapebackup
tv_GetActiveTool
parse result Toolbackup
tv_getmodifiers
PARSE result shift ctrl alt
tv_GetAPen
parse result Ar Ag Ab a
tv_GetBPen
parse result Br Bg Bb a
tv_readUserString PIxelInterpoation InterpoationValue
Value=result
if cmp(Value,"")
Value=150
else
end
tv_readUserString PIxelInterpoation onoff
onoffToggle = result
if cmp(onoffToggle,"")
onoffToggle = on
tv_display PixelInterpolation 0
else
if cmp(onoffToggle,"on")
tv_display PixelInterpolation 0
else
end
end
tv_PicColor
parse result click r g b a
if click ==0
if cmp(r,Ar) && cmp(g,Ag) && cmp(b,Ab)
else
tv_SetAPen r g b
tv_SetBpen Ar Ag Ab
end
else
if cmp(r,Br) && cmp(g,Bg) && cmp(b,Bb)
else
if click == 1
tv_SetBPen r g b
tv_SetAPen Br Bg Bb
end
end
end
if cmp(onoffToggle,"on")
value = Value/100
tv_display PixelInterpolation value
end
tv_SetActiveShape Shapebackup
tv_cmd Toolbackup
Re: color picker issue - tvp pixel interpolation affects on color picker
Posted: 28 Nov 2022, 09:20
by Thierry
ini wrote: ↑26 Nov 2022, 04:41
for example,
in this img, there is only black(0,0,0) and grey(121,121,121)
tvp_intepolation.png
no Anti-Aliasing, but with tvp interpolation, color picker is picking non exist color like (253,253,253) (52,52,52)
in tvp
tvp_intepolation,colopicker.gif
photoshop
tvp_intepolation,photoshop.gif
clip studio
tvp_intepolation,clip.gif
Hello ini,
I've run some tests on my side and I did manage to reproduce it:
- interpolation.png (58.67 KiB) Viewed 2791 times
My project's dimensions are 2560x1440, and I was at 78,5% zoom ratio, but I was able to have the issue with 103% zoom ratio.
It won't be fixed for next release (hopefully next week) but we'll see what we can do for the next one.
Re: color picker issue - tvp pixel interpolation affects on color picker
Posted: 29 Nov 2022, 08:09
by ini
Thierry wrote: ↑28 Nov 2022, 09:20
but we'll see what we can do for the next one.
Nice to here that!