Progressive paintoval alpha mask on jit.lcd

Ad.'s icon

Hi all.
I try to make a paintoval progressive alpha mask.
My problem is that the progressive stuff is applied to my entire matrix…
I cannot make it just in my paintoval…
And an other issue: the mask is not interp… I don't understand why…

Could you please help me with this ?
And I have to keep jit.lcd because I use cv.jit.trackpoints to determine the position of the mask, so not gl solution :)
here's the patch:

Max Patch
Copy patch and select New From Clipboard in Max.

Hope this is clear,
Thx All
Ad.

MIB's icon

re interpolation: I am not sure, but might it be because your alpha coeff is created using a 8 x 1 matrix that then gets up-sampled to 320 240? I would try to put your coeff into another [jit.matrix 1 float32 320 240 @interp 1]. see if that fixes it...

Ad.'s icon

You are right !
Thx for this point.
No ideas about my other deep issue ?
THx
Ad.