Commit Graph

59 Commits

Author SHA1 Message Date
ritenseki a3a7b83236 Live: fix six silently-failing track paths, add PostFilm data layer
Every fix here is the same shape: the keyframe data was already parsed
correctly and then dropped somewhere downstream, with no error logged.
Found by dumping the authoritative schema with tools/ and comparing against
what the handlers actually consume.

BgColor1 (8) — the largest track in the corpus, 43617 keys / 59 songs
  * AlterUpdate_BgColor1 filtered on a `validBgColorNames` whitelist of four
    character group names, discarding the other 16 stage groups outright.
    On song 1177 that is ~92% of the track's keys. Filter removed; Director
    now routes by group name (characters vs stage).
  * Stage branch resolves renderers by walking the whole stage hierarchy.
    StageObjectMap alone is not enough: it dedupes by name, and crowd groups
    have 66-570 same-named objects, so only the first was ever coloured.
  * Writes _MulColor0, confirmed by enumerating the shaders' property tables.
    _AmbientColor belongs to BgColor2 — they are separate channels on the
    same shader and must not be written by both.
  * Populates fields the dispatcher had always left at default: colorPower,
    scale, vertexColorToonPower, outlineWidthPower, LightBlendMode,
    IsSilhouette, IsProjector, TimelineName.

Object (33) — the neon sign never descended from the ceiling
  * The group name `neonsign` is a StageController._stageObjectUnits *unit*
    name; no GameObject of that name exists, so the whole track never fired.
    UpdateObject now falls back to StageObjectUnitMap and applies to each
    child of the unit.
  * ObjectUpdateInfo.OffsetType was populated by the dispatcher but never
    read, so Add-relative positions were written as absolute and objects
    snapped to their parent's origin. Now honoured against a lazily captured
    base local TRS.

BlinkLight (45) — 19420 keys / 57 songs, the biggest lighting payload
  * Wrote _Color, which does not exist on Gallop/3D/Live/Stage/LightBlinkBlend
    (its colour channel is _BlinkLightColor), so the write was a no-op and the
    lights rendered black. Now probes the shader for the real property.
  * Brightness goes to _ColorPower instead of being folded into the colour,
    falling back to colour*power only where that property is absent.
  * Uses MaterialPropertyBlock; the old path hit Renderer.materials every
    frame, allocating and breaking batching.

PostFilm (39) — ~20200 keys / 59 songs, previously recorded as empty
  * Data class fields reordered to the bundle's TypeTree order and the five
    missing BlinkLight* fields added; LiveTimelineKeyPostFilmDataList created;
    postFilmKeys / postFilm2Keys / postFilm3Keys declared on the worksheet.
    Runtime now deserializes 100 / 161 / 87 keys on song 1177.
  * AlterUpdate_PostFilm dispatch with interpolation, PostFilmUpdateInfo,
    a URP ScriptableRendererFeature and a full-screen blit shader.
  * Rendering is disabled by default: filmOptionParam's geometry is undefined
    anywhere we can read. All 100 keys on song 1177 are Vignette variants, so
    that parameter decides the whole look, and the shader that defines it is
    not in the `shader` bundle (all 499 searched by name and by property
    signature) — it ships inside the app binary.

Diagnostics
  * LiveTimelineWorksheetDiag dumps every track field with group names and key
    counts, and Probe() tests whether a candidate field name matches the
    bundle TypeTree. Confirmed worksheetList.Count == 1 (SheetType MainLive),
    and that WashLightList really is spelled with a capital W — upstream
    katboi01 uses washLightList, which never populates.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-05 01:11:57 +08:00
CroakFang d66991c2ef Add support for exporting prop, compatible with the new version, add the EnableRootMotion option (#143)
* update BillboardBuilder

* add a new enum value

* Add the EnableRootMotion option to support scenarios where the character is not within the camera view

* Add support for exporting prop

* update

* compatible with the new version 2

* update

---------

Co-authored-by: 左右看 <1918891542@qq.com>
2025-09-28 12:10:18 +02:00
katboi01 21c7dea855 Added auto region detection 2025-09-01 22:41:41 +02:00
Evans Jahja 956bbdb6d2 Added .mp3 export (#92)
* Update to larger bitrate

* Add support for sub-voice export

---------

Co-authored-by: katboi01 <59540382+katboi01@users.noreply.github.com>
2025-07-20 07:18:58 +02:00
katboi01 c8554e500c Fixed division by zero error when downloading assets
Fixed exporting multiple MMD models
2025-03-27 13:12:01 +01:00
katboi01 e2d5402edb Updated engine version to 2022.3.56f1 2025-01-20 10:59:14 +01:00
katboi01 58e3e5b1dd Restored AntiAliasing settings 2024-12-13 00:20:05 +01:00
katboi01 d97cb906de Sync fork (#73)
* Improved UI layout and live vocals

* New Live Compatibility

* Android build support

* Update build.yml

* Fix issues with the new version of the game

* add config button

* Improve performance

* bug fix, new uma compatibility

---------

Co-authored-by: CroakFang <1605296300@qq.com>
2024-11-06 23:58:45 +01:00
katboi01 3b2bae40cd Merged changed from Croakfang's branch. (#72)
* merge (#71)

* Bug fix, improved UI layout and live vocals

* Bug Fixes, New Live Compatibility

---------

Co-authored-by: CroakFang <1605296300@qq.com>

* recovered shader functions

* Fixed texture loading for costume 0015

---------

Co-authored-by: CroakFang <1605296300@qq.com>
2024-09-09 10:27:37 +02:00
CroakFang e4e8c7d583 bug fix 2024-04-23 02:03:29 +08:00
CroakFang 35674b67b5 Improve asset panel 2024-03-07 00:22:13 +08:00
CroakFang ee8f66aed7 Merge branch 'katboi01:master' into master 2024-01-02 10:34:54 +08:00
Katboi01 9405816231 Pose mode improvements 2023-12-18 17:20:34 +01:00
Katboi01 f928a802d7 Pose mode preparation.
Pose serialization, deserialization (no face)
UI handle system
2023-12-14 01:45:07 +01:00
CroakFang ac63cfe83e Improving physics and code 2023-12-11 21:36:43 +08:00
Katboi01 0897daf89c Fixed screenshots using the wrong camera.
Fixed screenshot file paths displaying incorrectly.
Added a discord link.
2023-11-05 19:45:32 +01:00
CroakFang db05d62beb gif and eyebrow bug fix 2023-11-01 01:36:42 +08:00
CroakFang 0632df6700 Switch to URP, Bug fix, Remove FXAA TAA due to URP 2023-10-26 23:00:54 +08:00
CroakFang 986d11e231 Switch to URP (compatible with new versions WIP) 2023-10-26 00:55:02 +08:00
左右看 1ff1ec02af imporve live camera 2023-07-24 11:42:01 +08:00
CroakFang a13cac6ede add live camera support 2023-07-23 17:48:49 +08:00
CroakFang 0d9a25a050 change UI theme,bug fix,improve performance 2023-07-16 13:12:16 +08:00
CroakFang 060ca0f259 Improve Asset Loading 2023-07-13 01:41:59 +08:00
CroakFang 103d83b760 pmx export support 2023-07-10 02:04:41 +08:00
CroakFang f5573496ee improve emotion control 2023-07-06 21:26:58 +08:00
CroakFang e773f49f8d Improve Scene Loading 2023-07-05 02:22:20 +08:00
CroakFang cf5b45aa35 Update SceneManager (WIP) 2023-07-04 19:24:15 +08:00
CroakFang 7fb0a48996 remove GLTF plugin, bug fix 2023-06-30 08:28:36 +08:00
CroakFang f60dd424f4 Add body tracking and dragging, optimize performance 2023-06-29 22:39:46 +08:00
CroakFang 201a106fef Handling merge 2023-06-29 15:42:33 +08:00
CroakFang 05a7afe25a update plugin 2023-06-29 15:34:20 +08:00
左右看 8bdc393613 TPose and gltf module 2023-06-27 04:44:44 +08:00
Katboi01 602504bc8b Added material toggling 2023-05-24 11:30:58 +02:00
CroakFang 5ba67481e2 bug fix 2023-03-28 18:12:06 +08:00
CroakFang fc9bbda74f bug fix, home animation facial support 2023-03-28 17:57:53 +08:00
CroakFang cef2df5e68 update 2023-02-15 02:13:47 +08:00
CroakFang a4dc2516e3 add live select pannel 2023-01-20 07:13:54 +08:00
CroakFang 3b18268252 bug fix 2023-01-15 22:11:31 +08:00
CroakFang 6618795498 add mini uma facial 2023-01-15 20:30:53 +08:00
CroakFang 213f438819 add 2D BackGround setting 2023-01-15 04:47:22 +08:00
CroakFang 7de1a338fb Adjust the project structure 2023-01-14 21:58:39 +08:00
CroakFang e103b53480 bug fix, add Animation continuous play 2022-11-14 14:09:24 +08:00
左右看 e937555568 bug fix 2022-11-06 17:02:16 +08:00
左右看 7878620f91 cutin pos update 2022-11-06 16:02:55 +08:00
CroakFang 23947fb175 bug fix 2022-11-06 12:57:29 +08:00
CroakFang 38636d134a Optimize tail animation 2022-11-05 21:35:05 +08:00
CroakFang 28ede4ffe2 Add ear morph with physics support 2022-11-05 19:50:43 +08:00
CroakFang ce181eecf9 Merge branch 'master' of https://github.com/croakfang/UmaViewer 2022-11-03 22:45:20 +08:00
CroakFang a016802cb9 bug fix 2022-11-03 22:44:48 +08:00
左右看 1071e4ec18 bug fix 2022-11-03 22:26:27 +08:00