Juha Jeronen
84c7176a34
better to reset to defaults by a blank JSON (consistent semantics)
2024-01-10 17:15:40 +02:00
Juha Jeronen
89fc188694
add API endpoints load_emotion_templates, load_animator_settings
2024-01-10 16:57:47 +02:00
Juha Jeronen
930e1c8736
improve docstring
2024-01-10 16:57:35 +02:00
Juha Jeronen
5a513f18eb
improve comments
2024-01-10 16:56:12 +02:00
Juha Jeronen
fea385475a
warn about unknown user-provided settings (forward compat)
2024-01-10 16:55:54 +02:00
Juha Jeronen
8f14a1422b
improve docstrings
2024-01-10 16:55:48 +02:00
Juha Jeronen
6911faa21f
update TODO
2024-01-10 16:55:32 +02:00
Juha Jeronen
338bb9f7e5
consistency
2024-01-10 16:55:21 +02:00
Juha Jeronen
69054bce10
improve comment
2024-01-10 16:13:06 +02:00
Juha Jeronen
b08c5e24fa
move animator defaults to beginning of file (easier to notice)
2024-01-10 16:11:08 +02:00
Juha Jeronen
1450b9c0ca
update TODO
2024-01-10 16:10:58 +02:00
Juha Jeronen
332b4ed08d
refactor: reorganize main script to improve readability
2024-01-10 15:48:01 +02:00
Juha Jeronen
c275987ddc
rename for great justice
...
Markdown didn't like it when there were spaces in the filename.
2024-01-10 00:48:05 +02:00
Juha Jeronen
494053d348
fix formatting
2024-01-10 00:46:12 +02:00
Juha Jeronen
1ec1bcf74a
explain very briefly in README what the manual poser is
2024-01-10 00:38:17 +02:00
Juha Jeronen
9cdbbfe937
update description again, maybe better now
2024-01-10 00:31:47 +02:00
Juha Jeronen
28e6c9d308
update description
2024-01-10 00:30:10 +02:00
Juha Jeronen
5f2cc0637e
formatting consistency
2024-01-10 00:28:00 +02:00
Juha Jeronen
ea835ed61b
newline
2024-01-10 00:27:16 +02:00
Juha Jeronen
a1f36f3547
add new talkinghead options to README
2024-01-10 00:25:39 +02:00
Juha Jeronen
bac0d48f6c
update description of talkinghead API endpoints in main README
2024-01-10 00:19:16 +02:00
Juha Jeronen
964ebc8191
fix heading level
2024-01-10 00:19:06 +02:00
Juha Jeronen
c529f439aa
refactor backend settings to allow making them customizable
2024-01-09 23:57:38 +02:00
Juha Jeronen
990c5b1205
add info message at launch
2024-01-09 23:57:04 +02:00
Juha Jeronen
f8e1efb5b6
startup message: highlight talkinghead device and model
2024-01-09 23:54:23 +02:00
Juha Jeronen
1f4f2a1ffa
talkinghead now manages its threads internally
2024-01-09 23:54:13 +02:00
Juha Jeronen
51eac8afe2
target_fps will be modifiable, so rename it as lowercase
2024-01-09 22:32:33 +02:00
Juha Jeronen
54fad16a16
remove commented-out old blink probability check
2024-01-09 22:31:44 +02:00
Cohee
5fdf62e771
Merge pull request #214 from Technologicat/talkinghead-next3
...
Talkinghead next3
2024-01-09 19:32:11 +02:00
Juha Jeronen
244c1a1675
debug, not info
2024-01-09 17:01:29 +02:00
Juha Jeronen
1cb650de07
make blink animation FPS-independent, too
...
Forgot the per-frame probability trigger. Now that's scaled appropriately, too.
2024-01-09 16:59:45 +02:00
Juha Jeronen
afaea00156
add a far-future TODO item
2024-01-09 13:59:06 +02:00
Juha Jeronen
a794ad9dde
Fix eye_unimpressed (arity 2; had only one JSON key)
...
- The "eye_unimpressed" morph had just one key in the emotion JSON, although the
model has two morphs (left and right) for this. Now it has two, as it should.
- This change breaks backward compatibility for old emotion JSON files.
- OTOH, not much of an issue, because in all versions prior to this one
being developed, the emotion JSON system was underutilized (only a bunch
of pre-made presets, only used internally by the live plugin).
- Thus it is important to fix this now, before the next release, because the
improved manual poser makes it easy to generate new emotion JSON files,
so from the next release on we can assume those to exist in the wild.
2024-01-09 10:44:49 +02:00
Juha Jeronen
19b5c3c3d6
fix "neutral" default (consistent with separate "neutral.json")
2024-01-09 10:27:27 +02:00
Juha Jeronen
1f08a34de5
fix the "zero" (character reset) emotion template
2024-01-09 10:25:38 +02:00
Juha Jeronen
11ff18e52e
Decouple animation speed (w.r.t. walltime) from render FPS
...
We only needed to add nonlinear step scaling to the pose interpolator; all other
animation drivers (blinking, talking, breathing) were already defined in terms
of wall time.
2024-01-09 10:09:42 +02:00
Juha Jeronen
00e7b4ed81
dumping some math into TODO, to be moved into code comments...
2024-01-09 01:25:34 +02:00
Juha Jeronen
e086bd53ac
slightly improve end of talking animation
2024-01-09 00:11:29 +02:00
Juha Jeronen
afd8635d73
improve comments
2024-01-09 00:11:21 +02:00
Juha Jeronen
bd29500c9e
refactor THA3 model installer
2024-01-08 15:45:44 +02:00
Juha Jeronen
32cda5786c
update TODO some more
2024-01-08 15:45:09 +02:00
Juha Jeronen
fb9051cd70
update TODO
2024-01-08 15:44:50 +02:00
Juha Jeronen
0228bddc1b
add troubleshooting
2024-01-08 15:44:33 +02:00
Juha Jeronen
6633535e19
autopep8, and also apply some idiomatic Python style manually.
...
No more flake8 warnings.
2024-01-08 14:51:27 +02:00
Juha Jeronen
e94521251f
API cleanliness
2024-01-08 14:46:09 +02:00
Juha Jeronen
fc58895a62
update TODO list
2024-01-08 14:08:14 +02:00
Juha Jeronen
5ea734b5a5
improve talking animation
2024-01-08 14:07:36 +02:00
Juha Jeronen
c215cef908
improve comments
2024-01-08 14:07:28 +02:00
Juha Jeronen
4bd66faeea
update TODO
2024-01-08 01:38:32 +02:00
Juha Jeronen
387553d2c4
remove outdated comment
...
As of
https://github.com/SillyTavern/SillyTavern/pull/1639
2024-01-06 03:52:09 +02:00