Replay Mod Forums

Toggle interpolation for single Keyframes
    • User
    • 3 forum posts
    User1033
    #1

    Aug 13 15, 04:20 PM

    It would be nice if you could toggle the interpolation for single Keyframes as well, so some are interpolated and some arent. If that is already possible i did not see that.


    • Beta Tester
    • 250 forum posts
    User34
    #2

    Aug 13 15, 04:22 PM

    I like that idea!
    Would love to see it implemented!


    • Developer
    • 1883 forum posts
    User10
    #3

    Aug 13 15, 04:29 PM

    I also like that idea. Except that that's technically far more difficult than one would think at first.
    For one, no interpolation doesn't really make sense, I suppose you meant linear interpolation.
    Then the next problem is that linear interpolation is between two keyframes (not on one keyframe).
    To make matters worse cubic interpolation is between three keyframes.
    So not only would that be a nightmare to store and create GUIs for but more importantly to interpolate between who knows how many different keyframes.


    • User
    • 3 forum posts
    User1033
    #4

    Aug 13 15, 04:56 PM

    It doesnt have to be linear interpolation, does it? Normally the keyframes should have the same velocity vector into and out of a keyframe. Handeling a Keyframe as if it was the last one to calculate the trajectory to it and handeling it as it was the first keyframe should create a different vector for entering and leaving that keyframe. The result would be still curved trajectories to that keyframe but a step in the velocity vector. If there is two such keyframes next to each other you can calculate a linear function inbetween instead of a cubic.