šŸŽØ
MYTY
MYTY Kit
MYTY Kit
  • šŸ‘‹Before you begin
    • GM, MYTY! šŸ‘
    • What is MYTY Kit?
    • MYTY Kit System Requirements
    • Prerequisites
    • MYTY Kit Glossary
  • āœļøGetting started
    • 1. Prepare Illustration PSB
      • Key Requirements
      • Basics of Avatar Animation
      • Recommended PSB file structure for Trait Mapper
    • 2. Trait Mapping
      • Guide to MYTY Kit Trait Mapper
      • New Field: Token ID
    • 3. Install Unity
    • 4. Import MYTY Kit
    • 5. Import 2D Avatar Assets
  • šŸ”®Make animation
    • 6. Before Rigging
    • 7. Rigging in Sprite Editor
      • Mesh in Unity
    • 8. MYTY Kit Controllers
      • Bone 1D Controller
      • Bone 2D Controller
      • Sprite 1D Range Controller
      • Sprite 2D Nearest Controller
      • Rigged Sprite 2D Nearest Controller
    • 9. Apply Motion Tracking
      • Character Movement
      • Bone Motion Adapters
        • Bone2D
        • BoneTiltOrPosition
        • EyeBlink & EyeBlinkAll
        • EyeBrow & EyeBrowAll
        • Pupil & PupilAll
      • Sprite Motion Adapters
        • EyeBlink & EyeBlinkAll
        • EyeBrow & EyeBrowAll
        • MouthSprite
      • Advanced documentation
        • Mapper & Reducer
        • Stabilizing method
    • 10. Set up AR Face Mode
    • Advanced Animation
      • Physics 2D
      • Sprite Masking
      • Idle Animation
  • 🤹Connect with MYTY Metaverse
    • 11. Export MYTY Avatar
      • MYTY Avatar Viewer
      • Updates on File Export Format — Zip file
    • 12. Upload to Avatar Manager
  • šŸ—’ļøAppendix
    • šŸ˜„Mediapipe Extension
    • šŸŽØMotionAdaptorPalette
  • šŸ—‚ļøMISC
    • About Us
    • Troubleshooting & FAQ
    • Change Log
    • License
      • License.md
    • Legacy Documentation
      • [v0.1.0] 4. Import MYTY Kit
      • [v0.1.0] 6. Before Rigging
      • [v0.1.0] 9. Apply Motion Tracking
      • [v.0.1.0] 11. Export MYTY Avatar
Powered by GitBook
On this page
  • The new stabilizing method
  • The problems with the older method (in MYTY Kit v0.1)
  • New method
  1. Make animation
  2. 9. Apply Motion Tracking
  3. Advanced documentation

Stabilizing method

This document is an advanced document on the algorithms of the stabilizing method.

PreviousMapper & ReducerNext10. Set up AR Face Mode

Last updated 2 years ago

The new stabilizing method

The problems with the older method (in MYTY Kit v0.1)

  1. It takes the average of the input history, and it caused delayed and slow motion.

  2. In stabilizing process, the method relies on the fixed time interval to stabilize, but it is not a good choice for low-end PC.

New method

Damping

Now, we introduced the damping factor to remedy the first problem. The damping algorithm is following:

output=āˆ‘i=1nxidiāˆ‘i=1n1dioutput = {\sum_{i=1}^{n} {{x_i} \over {d^i} } \over {\sum_{i=1}^{n} {{1}\over {d^i}}}} output=āˆ‘i=1n​di1ā€‹āˆ‘i=1n​dixi​​​

d is equal to or greater than 1, and n is the damping window size. The latest input has index 1. If d=1, then the algorithm is just average. If d becomes larger, it means that the latest input becomes more dominant than the older input.

Stabilizing

We converted the motion pipeline into an event-driven model. It enables to detection of the moment of arrival of new data, and it makes the stabilization process much more rigorous. In the older method, we should poll every new data so we should rely on the fixed time interval, and it caused some problems. The problems are completely removed by using an event-driven model.

šŸ”®