Repository navigation
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
Implements the full pipeline for ambientcg (simplest source): - common.py: MaterialRecord, retry with backoff, category/channel normalization - sources/ambientcg.py: paginated API discovery, ZIP download, PNG extraction - bake.py: PNG validation passthrough (mtlx baking stub for gpuopen) - parquet_writer.py: UNCOMPRESSED binary cols, ZSTD scalars, rowmap via PNG magic scan - index_builder.py: index JSON from records - __main__.py: CLI with fetch/all subcommands, 95% success threshold - 22 unit tests (normalization, parquet schema, rowmap range-read verification) - Dagger integration-test: fetch 2 real materials → pack → verify range reads
Fetches 2 real ambientcg materials, bakes, packs parquet, verifies range-read via rowmap. Blocks PRs if the pipeline is broken.
Discovery still paginates fully (needed for production builds), but materials without download URLs for the requested tier are filtered out before the limit is applied. Fixes integration test failing on brand-new materials that haven't been processed yet.
- Add include=downloadData to discovery URL (downloadFolders is null without it) - Downloads are under default/zip/downloads[] with attribute "1K-PNG" etc. not separate folders per tier
- polyhaven: individual PNG downloads, per-slug detail endpoint - gpuopen: ZIP with mtlx, flat texture extraction, layered flagging - physicallybased: scalar only (IOR, color, roughness), no textures - CLI: wire up all 4 fetchers - rowmap: limit PNG magic scan to 100-byte window after page offset to prevent false positives from PNG data in neighboring columns
- Dagger bake-source: runs full baker for one source+tier, returns artifacts dir - CLI: physicallybased skips bake/pack (scalar only, index JSON only)
6 tasks
gerchowl
added a commit
that referenced
this pull request
May 15, 2026
Baker pipeline — all 4 sources, integration tested.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Full baker pipeline implementation:
Test plan