Skip to content

phi16/ImKeyframeReduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Im Keyframe Reduction

This tool performs keyframe reduction on an AnimationClip by using polynomial fitting.

The core script is licensed under CC0 1.0. It utilizes MathNet.Numerics, which is under the MIT license.

Usage

  • Import the ImKeyframeReduction.unitypackage.
    • If you have already imported the MathNet.Numerics package, simply copy the core script into your project.
  • Open the Window/Im/Keyframe Reduction window.
  • Set the original AnimationClip, and leave the Output Clip field empty, then click Execute.
    • If the Output Clip field is not empty, the process will overwrite the existing Output Clip.

Note

  • It is recommended to use Brute Force Mode to obtain accurate results.
    • Looking to fix...
  • (TODO: UPM?)

Example

Input: TestInput.anim (983KB)

Screenshot

Output: TestOutput.anim (232KB), processed with default configuration (threshold = 1e-06, dt = 1/60, non-brute force mode).

Screenshot

Release notes

  • 2024/05/12
    • Copy original clip settings
    • Set Brute Force Mode as default
  • 2024/04/23
    • Release

About

Keyframe Reduction for Unity AnimationClip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages