Skip to content

Harden VRM 1.0 parsing, runtime parity, and conformance - #55

Open
argus1 wants to merge 19 commits into
tattn:mainfrom
argus1:VRM1
Open

argus1 wants to merge 19 commits into
tattn:mainfrom
argus1:VRM1

Conversation

@argus1

@argus1 argus1 commented Sep 21, 2026

Copy link
Copy Markdown

Summary

This PR hardens the VRM 1.0 fork with test-backed parser, runtime, rendering, loading, and conformance work that remains broadly applicable to VRMKit consumers.

Included

  • VRM 1.0 metadata, humanoid, expression, look-at, constraint, spring-bone, and VRMA validation
  • Structured humanoid validation diagnostics and malformed-reference handling
  • Deterministic VRMA lip-sync ownership via setLipSyncExpressions / clearLipSyncExpressions
  • MToon property-level conformance coverage and RealityKit limitation documentation
  • UniVRM and three-vrm reference outputs with tolerance-based differential tests
  • Stable offscreen golden-image coverage
  • Concurrent loading, cancellation, replacement, strict-concurrency, and update-mode tests
  • Memory Integrity Enforcement review/backport state and current metallib validation
  • Upstream deformation compatibility commit c706b8e (cherry-picked as e292e93)

Validation

  • Full Swift suite: 663 tests in 64 suites passed
  • Focused MToon suites: 104 tests in 7 suites passed
  • Focused iOS Simulator package validation: 18 tests in 2 suites passed
  • Strict concurrency build passed without package-owned diagnostics
  • scripts/build-mtoon-metallibs.sh --check passes
  • Release memory benchmark added for VRM 0.x, VRM 1.0/MToon, and VRMA playback

Scope notes

HealthCoacher-specific Phase 9 integration, consumer memory-warning recovery, device memory plateau evidence, and a separate iOS 26-specific patch remain outside this package PR. The branch is currently 19 commits ahead and 8 commits behind upstream main; GitHub can show the resulting merge-base/diff for review.

argus1 and others added 19 commits September 18, 2026 01:50
… to Look-at configuration morph expressions etc.
… swift test to explain tolerances and coordinate-system conversion
…erence JSON and generalized Swift differential test
…ified unknown extensions and fields are preserved where editing APIs promise preservation. Added structured error categories suitable for diagnostics.
Focused iOS Simulator run tested in 2 suites:
VRMUpdateSystemTests
AsyncLoadingTests

Strict concurrency build passed with no package-owned diagnostics.
…placement. Completed MToon property matrix against VRM1 spec. Added golden image test for offscreen rendering. Added memory benchmarks for VRM 0.x, VRM 1.0, MToon, and VRMA playback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants