Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

1M Downloads

Interpolation on player view & position in ReplayMod

coderjunky opened this issue · 5 comments

commented

I adapted some code in ReplayMod so the player view & positions in the rendering gets interpolated to for smooth video's.

https://www.youtube.com/watch?v=hkN-featEzY

Code available at request.

commented

Also added some roll to the player view.

commented

Where exactly in the video do those changes apply? It looks just like a normal interpolated camera path to me.

Also, the point of GitHub and open-source projects is, that you can directly propose changes:

  • fork the project
  • make some change
  • submit a pull request
commented
commented

It's the player's view. Not a positioned camera view.

Ah, I see.

So when rendering you have these sudden changes also. [...] Also when pressing keys like up/down/left/right the camere motion is abrupt.

Yes, as intended for a player view: It reflects the mouse movement, similar to what you see while playing.

My point is just this: [...] these
abrupt changes don't mess up the recording [now].

Okay, I get your idea. You're mixing two different use-cases, though:

  • a smooth/guided path
  • an entity's perspective

The way I understand this, it is a shortcut in creating a camera path. Instead of setting up keyframes, you fly around and have ReplayMod smooth out that path until all "noise" from the player's movement is eliminated.
I think it's an interesting idea, that could either be added as a new pathing method or be incorporated to spectator-keyframes with a smoothness setting (similar to Catmull-Rom's alpha).

commented

Code available at request.

Hey, I'd be interested in trying this out, do you still have it?