vpaint icon indicating copy to clipboard operation
vpaint copied to clipboard

Vpaint animate objects with different interpolation

Open ebarranco opened this issue 5 years ago • 3 comments

Vpaint master and 1.7 Linux

When you try to animate more than 5 objects these animate with different interpolation. I show you here and I added the file.

jelly.vec.zip

ebarranco avatar Jan 10 '20 21:01 ebarranco

Thanks for the report!

I haven't looked at the file yet, but I think it's because some of your shapes are made of closed edges (they don't have vertices), while others are made of vertices and open edges. Currently, the interpolation of closed edges is linear (=bad / non-smooth!), while the interpolation of vertices is non-linear (= good / smooth, based on catmull-Rom), which in turns make open edges interpolation non-linear too (they must start and end at their vertices).

So open edges and closed edges aren't interpolated the same way. This is indeed a bug which results in the annoying behavior you demonstrated. We should improve the interpolation of closed edges to be as good as open edges. Workaround: add a vertex in the closed edges with CTRL+click in selection mode. :)

If I do a VPaint 1.8, I may try to fix this, I don't think it's very complicated.

dalboris avatar Jan 10 '20 23:01 dalboris

The Workaround works @dalboris . Thanks.

ebarranco avatar Jan 10 '20 23:01 ebarranco

Great, thx for the feedback! :)

dalboris avatar Jan 11 '20 09:01 dalboris