Interpolating between frames
#1
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.
  Reply
#2
Not entirely sure what you mean..."new particles between frames" is different than simply interpolating the extra motion between frames...
  Reply
#3
(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.
  Reply
#4
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.
  Reply
#5
Okay, thanks for clarifying that Tyson.. I'll post my results in the FB group soon Smile
  Reply
#6
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..
  Reply
#7
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.
  Reply
#8
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..
  Reply


Forum Jump: