Inochi2D / inochi-session

Application that allows streaming with Inochi2D puppets
https://inochi2d.com
BSD 2-Clause "Simplified" License
293 stars 21 forks source link

Animation control system #52

Closed grillo-delmal closed 5 months ago

grillo-delmal commented 7 months ago

This PR implements the feature described in #37. The main idea is to enable a system to use puppet animations in inochi-session, either by manual interaction with the UI, or by triggering them using external tracking parameters.

In this video I show how they can be triggered by a keyboard combination using puppetstring and by head motion.

session-animation-demo.webm

Here is the list of the implemented features:

Some other things that I thought of that could get implemented too further along the line

I'm still not sure if I want to implement the "Trigger by event" feature considering that currently the only application events I can imagine are "tracking lost" and "reconnect tracking", and those events are already being handled by setting a "tracking_lost" animation.

Its lots of code, so I would appreciate feedback on this feature :)