feat: export sky and calibrated source-trajectory renders - #11
Open
heiwang1997 wants to merge 2 commits into
Open
feat: export sky and calibrated source-trajectory renders#11heiwang1997 wants to merge 2 commits into
heiwang1997 wants to merge 2 commits into
Conversation
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
This addresses the sky-rendering request in issue #5's follow-up comment and makes the reference renderer honor the source camera calibration and trajectory.
sky.*head)<stem>.sky.npzsidecar plus<stem>.sky.pngatlas next to every PLY, including affine-to-sensor metadata<stem>.render.pngwith the original NCore F-theta calibration, exact per-pixel world rays, exposure START/END poses, and rolling shutter--merge --render-videoto stream every original source exposure to an H.264<stem>.render.mp4at the source cadence without materializing the full ray sequencea337c3dc--max-chunks, multi-sequence video input, missinglibx264, or encoder failuresStandard 3DGS PLY has no environment-map or per-camera ISP fields, so existing PLY viewers continue to show the Gaussian foreground only. The sidecar preserves that non-PLY state for a sidecar-aware renderer, while the PNG/MP4 outputs provide immediately testable source-view renders.
Validation
uv sync --frozen --extra render.venv/bin/pytest -q— 542 passed.venv/bin/ruff check --no-cache .uv lock --checkgit diff --checkThe example completed successfully with 1,918,461 merged Gaussians. The MP4 is H.264 High/yuv420p, 784x448, exactly 599 frames, 29.9994 fps, and 19.967 s; a full decode found no corrupt, blank, or duplicate frames. Exact source/render comparisons at frames 0/299/598 measured static-feature displacement medians of 0.782 / 0.943 / 0.995 px (p90 1.630 / 2.043 / 2.487 px), with stable horizon and edge-to-edge geometry.
Renderer scope
The optional outputs are calibrated source-trajectory checks, not arbitrary novel-view renders. This public path currently supports NCore F-theta cameras without external windshield distortion and rejects other models rather than silently approximating them. Dynamic people/vehicles in the released public inference path remain subject to the model's current empty dynamic-layer output; that affects scene content, not camera calibration.