Skip to content

Trajectory viewer flyover video - #572

Merged
JanuszBedkowski merged 2 commits into
mainfrom
mp/trajectory-viewer-flyover-video-rescue
Oct 22, 2026
Merged

JanuszBedkowski merged 2 commits into
mainfrom
mp/trajectory-viewer-flyover-video-rescue

Conversation

@michalpelka

Copy link
Copy Markdown
Contributor

Tool to record flyovers in camera lidar trajectory viewer.

michalpelka and others added 2 commits October 13, 2026 18:06
Left-drag in the 3D view turns the flyover camera (yaw/pitch offset from the
trajectory heading) instead of orbiting the hidden orbit camera. The offset is
applied before Level horizon, so the horizon stays level. Reset look button in
the flyover bar; the offset also resets when the flyover is opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record button in the flyover bar writes flyover_<time>.mp4 next to the
executable with cv::VideoWriter (H.264, falling back to MPEG-4 Part 2, then
Motion JPEG AVI). Captures the 3D view only, before the compass and ImGui, at
the window's render resolution. While recording, the playhead advances a fixed
1/30 s per rendered frame, so the video is smooth regardless of render speed.
Recording stops at the end of the trajectory, on Stop REC or on Close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JanuszBedkowski
JanuszBedkowski merged commit 50fb6bf into main Oct 22, 2026
7 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.

2 participants