Skip to content

Migrate tinygltf to 3.0.1 with GLB fixture and numerical parity checks - #6

Merged
lanxinger merged 1 commit into
mainfrom
codex/meshdenoiser-tinygltf-3.0.1
Oct 2, 2026
Merged

lanxinger merged 1 commit into
mainfrom
codex/meshdenoiser-tinygltf-3.0.1

Conversation

@lanxinger

@lanxinger lanxinger commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Migrate the CLI glTF/GLB loader from tinygltf 2.9.7 to the checksum-pinned 3.0.1 C11 runtime. Port scene traversal, accessors, diagnostics, and model ownership to the v3 API. Column-major matrices and scene-root selection are corrected; buffer reads are bounded, and cyclic/repeated nodes and malformed geometry fail explicitly. Indexed triangles with dense float32 positions remain the supported import contract.

This PR is stacked on the Eigen update in #5. Generated GLB/glTF fixtures cover 8/16/32-bit indices, interleaved positions, embedded/external buffers, nested matrix/TRS transforms, scene selection, mesh instances, deep hierarchies, and malformed input. They compare denoised geometry with equivalent OBJ inputs; the existing golden fixture remains unchanged. The fixture suite runs in the macOS/Linux/Windows CI matrix.

Validation: the macOS Release build and all nine CLI tests passed locally; the same tests passed with the CLI and new parser compiled under AddressSanitizer/UndefinedBehaviorSanitizer. The new transform/root fixtures fail against the previous loader as expected. Ruff, actionlint, and whitespace checks passed. The preceding Eigen update passed all 73 Swift package tests. Hosted validation passed: the Release CLI build and GLB/golden CTest suite on macOS, Linux, and Windows, plus all 73 macOS Swift package tests. CI run.

@lanxinger
lanxinger changed the base branch from codex/meshdenoiser-eigen-3.4.1 to main October 2, 2026 15:25
@lanxinger
lanxinger marked this pull request as ready for review October 2, 2026 15:26
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@lanxinger
lanxinger merged commit 885cefb into main Oct 2, 2026
4 checks passed
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