Commit Graph

82 Commits

Author SHA1 Message Date
Juha Jeronen
e53f65b13e add analog_distort filter 2024-01-21 02:42:52 +02:00
Juha Jeronen
2b4fe3711f add shift_distort filter 2024-01-21 01:43:28 +02:00
Juha Jeronen
cbb3d060be postproc: brightness filters, without affecting translucency 2024-01-20 02:45:52 +02:00
Juha Jeronen
16c341f334 add some colorspace conversion utils (ITU-R Rec. 709 a.k.a. "HDTV") 2024-01-20 02:45:02 +02:00
Juha Jeronen
d51e4667a1 render time now excludes postprocessing time, reported separately
Total render time per frame = reported render time + reported postproc time
2024-01-20 02:44:24 +02:00
Juha Jeronen
f66aff2e4a wording 2024-01-18 23:07:39 +02:00
Juha Jeronen
c0d8a35834 log image size in postprocessor 2024-01-18 22:33:38 +02:00
Juha Jeronen
e69f8c46d5 variable naming 2024-01-18 22:04:02 +02:00
Juha Jeronen
1b4badf5c6 support talkinghead/animator.json at the server side
Tested and working. Still need to update the docs.
2024-01-18 20:07:26 +02:00
Juha Jeronen
c15df0c43f we don't really need normpath here 2024-01-18 20:07:15 +02:00
Juha Jeronen
29d1fc330c add a simple crop filter (after posing since THA3 needs 512x512) 2024-01-18 16:42:26 +02:00
Juha Jeronen
79f6234149 VHS glitch filter: add hold duration options 2024-01-18 16:08:34 +02:00
Juha Jeronen
d8350e451c improve docstrings/comments 2024-01-18 14:40:02 +02:00
Juha Jeronen
07b1f97b37 fix small bug 2024-01-18 14:35:01 +02:00
Juha Jeronen
f8d2071d10 make cache-needing effects nameable to give them separate cache keys 2024-01-18 14:20:12 +02:00
Juha Jeronen
8b13beeb3f add FPS correction to VHS glitch filter 2024-01-18 14:10:29 +02:00
Juha Jeronen
9cc091bc7b add framerate correction to most postproc filters 2024-01-18 02:46:18 +02:00
Juha Jeronen
500f4348af terminology: "fictitious frame" -> "normalized frame" 2024-01-18 02:46:01 +02:00
Juha Jeronen
4ccbda900c rate-limit microsway to 25 FPS 2024-01-17 14:53:02 +02:00
Juha Jeronen
cf2bb14dec reorganize comments 2024-01-17 14:52:51 +02:00
Juha Jeronen
2e03c0174e manual poser: generate _emotions.json when batch-exporting 2024-01-13 14:34:43 +02:00
Juha Jeronen
6e15d3d76c update comment 2024-01-12 15:43:47 +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
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
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
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
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
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
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
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
e94521251f API cleanliness 2024-01-08 14:46:09 +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
387553d2c4 remove outdated comment
As of
https://github.com/SillyTavern/SillyTavern/pull/1639
2024-01-06 03:52:09 +02:00
Juha Jeronen
01037cd2c3 disable postproc temporarily
We'll re-enable it once we add code to the client to send us postproc configs.
2024-01-02 02:28:54 +02:00
Juha Jeronen
35b9e14d99 change some log levels 2024-01-02 02:27:10 +02:00
Juha Jeronen
f9804dc30c add support for "/emote xxx" in talkinghead 2024-01-02 02:26:51 +02:00
Juha Jeronen
0b6c42a72c improve explanation 2023-12-31 03:08:22 +02:00
Juha Jeronen
e8dfc754ff target FPS: 25 2023-12-31 03:08:14 +02:00
Juha Jeronen
1b0746f327 first working frame sync that saves compute at low target FPS 2023-12-31 02:20:23 +02:00
Juha Jeronen
f134b5e448 wording 2023-12-31 01:49:58 +02:00
Juha Jeronen
5d5ccf14ef wording once more 2023-12-31 01:45:55 +02:00