Skip to content

Refactor patch mesh processing - #232

Merged
Velli20 merged 4 commits into
mainfrom
refactor-patch-mesh-processing
Jul 27, 2026
Merged

Refactor patch mesh processing#232
Velli20 merged 4 commits into
mainfrom
refactor-patch-mesh-processing

Conversation

@Velli20

@Velli20 Velli20 commented Jul 27, 2026

Copy link
Copy Markdown
Owner

No description provided.

codex added 4 commits July 27, 2026 22:25
Add 32-bit reads to the shared bit reader so mesh coordinates retain
their full supported width. Preserve mesh-specific EOF and truncation
handling while removing the duplicate sample reader.

Co-authored-by: Codex <codex@openai.com>
Replace generic string-backed mesh failures with decoder, free-form,
and patch-specific thiserror enums exposed through PdfShadingError.

Return structured variants at each validation site and update parser
regressions to assert exact error categories.

Co-authored-by: Codex <codex@openai.com>
Split patch mesh dictionary parsing, packed stream decoding, and
geometry-specific continuation reconstruction into focused flat
modules.

Share the Coons and tensor parser flow through PatchKind and
document the internal boundaries. Add regressions for every shared
edge mapping.

Co-authored-by: Codex <codex@openai.com>
Expose RGBA8 conversion as a Color method so callers can reuse the
shared clamping and rounding behavior.

Update mesh rasterization to use the method and cover conversion and
out-of-range channel handling with focused tests.

Co-authored-by: Codex <codex@openai.com>
@Velli20
Velli20 merged commit 226f19a into main Jul 27, 2026
4 checks passed
@Velli20
Velli20 deleted the refactor-patch-mesh-processing branch July 27, 2026 19:31
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