Skip to content

feat: author and validate independently streamable texture levels - #166

Merged
capz merged 2 commits into
mainfrom
feat/streamable-texture-assets
Nov 11, 2026
Merged

capz merged 2 commits into
mainfrom
feat/streamable-texture-assets

Conversation

@capz

@capz capz commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Add DNLT v1 authoring and an immutable header/index-only descriptor as phase 1 of the progressive texture LOD design in capz/hypercube-engine#11. The CLI emits complete or sparse native mip levels, independent low/high pairs, per-level gutter UV transforms and deterministic manifests. Smooth alpha uses RGBA8; explicit CMPR rejects it, while binary-alpha mips retain coverage.

The parser validates metadata CRC, reserved fields, dimensions, native tile sizes, logical mip exponents, coarse-first offsets, file bounds and UV mappings without reading payloads or allocating GPU resources. Each payload has a separately verifiable CRC. Existing DNTX v1/v2 authoring stays unchanged.

Validation: 2,243 authoring/parser checks pass, including independent BTI pixel decoding, fuzz/truncation/corruption cases and DNTX compatibility. Existing GameCube format tests pass (88 assertions), CI selector tests pass, and the sparse-mip, NPOT low/high and legacy DNTX CLI paths were exercised. Native upload/residency work follows in separate phases.

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.

1 participant