Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beizer curve interpolation sometimes incorrect for single frames #445

Open
ivelieu opened this issue Aug 5, 2023 · 0 comments
Open

Beizer curve interpolation sometimes incorrect for single frames #445

ivelieu opened this issue Aug 5, 2023 · 0 comments

Comments

@ivelieu
Copy link

ivelieu commented Aug 5, 2023

For specific parameter curves for the keyframe editor, the beizer curve calculation ends up being incorrect for specific frames.
The keyframe editor by default uses spline smoothing, which is probably why this was not encountered by others.

Demonstration:
If you import the following "raw data" and set it to a beizer curve over a 120 frame video:

1 -0.7
15 -0.63168449
27 1.00066845
68 0.79545455
90 -0.7
120 -0.7

frame 47 will have a parameter value of 47.5 instead of the expected ~0.89.
This is what the curve looks like in the keyframe editor:
image
Here is a video of it jumping:
https://github.com/thargor6/JWildfire/assets/28797826/fcb214b1-a003-467e-9bc0-07d0bcfbb0a7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant