tyFlow Forum
Interpolating between frames - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Interpolating between frames (/thread-1942.html)



Interpolating between frames - Martians - 09-10-2020

Is it possible to use TyFlow to interpolate/create new particles between frames? I am working with some Azure Kinect recordings that are recorded at 30 fps. It would be really cool if I could double, triple or even quadruple the framerate.


RE: Interpolating between frames - tyFlow - 09-10-2020

Not entirely sure what you mean..."new particles between frames" is different than simply interpolating the extra motion between frames...


RE: Interpolating between frames - Martians - 09-11-2020

(09-10-2020, 11:44 PM)tyFlow Wrote: Not entirely sure what you mean..."new particles between frames" is different than simply interpolating the extra motion between frames...

I just added that to better explain what I'm trying to accomplish. If interpolation can make my 30 fps kinect capture playback smooth at 60 or 120 fps that is enough for me.


RE: Interpolating between frames - tyFlow - 09-11-2020

If you simulate particles (native tyFlow particles or import particles from another source), tyFlow does allow you to retime them, so you could export them at a higher framerate, yes.

The only thing to keep in mind is that tyFlow uses linear interpolation between frames, not cubic interpolation....so the paths between each pre-retimed particle position would be interpolated, but straight.


RE: Interpolating between frames - Martians - 09-13-2020

Okay, thanks for clarifying that Tyson.. I'll post my results in the FB group soon Smile


RE: Interpolating between frames - Martians - 10-11-2020

I have now tried retiming my PRT kinect particles but it doesn't interpolate between my existing frames. I expect that could be either due to the fact that they have no velocity, or that the retimer only works on full frames, not sub-frames in between..


RE: Interpolating between frames - tyFlow - 10-11-2020

Yea, they would need velocity information. You can calculate it by importing the particles, and then adding a Speed operator set to Continuous, with both magnitude and direction set to verlet. Use a Display Data operator to check that the interpolated data is correct.

Also particles will need to have consistent IDs.


RE: Interpolating between frames - Martians - 10-11-2020

Thank You Tyson! I'm afraid that's the catch - They sadly don't - as the data out of the kinect positions them randomly on each frame. I wish there was a workaround - but I can see that it's a tricky one to fix this situation..