Skip to content

Packer follow-ups: bit-exact mesh parity, spine-html over packed pages, last-page shrink #266

Description

@firejune

Follow-ups PR #263 deliberately left, batched here so the ledger carries them:

  1. Exact bit-for-bit render parity for packed atlases. The pack is lossless and 11/13 rigs render byte-identical; the two mesh rigs differ by exactly 1 channel value on a handful of samples (float rounding: packed UVs are x/pageWidth, so fl(regionX + fl(s*width)) loses low bits once regionX > 0). The fix is sampling in region-local coordinates and adding the integer page origin to tap indices - a src/render.ts change that moves every committed reference frame by that same bit, i.e. a rule-5 integrity event to schedule deliberately, not slip in.
  2. --profile spine-html over a packed atlas is currently a named CLI refusal (A06 full-page clause is the unpacked convention). The follow-up is relaxing A06 to "one part per page OR a tiling page" with its own fixtures.
  3. Multi-page spill writes pageSize x pageSize for every page rather than shrinking the last; a shrink pass is cheap and saves texture memory on spilled packs.

None of these block the shipped feature; each needs its own verification when taken.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions