feat: ignore boulder.json and update extrinsics visualizer

This commit is contained in:
2026-02-07 15:35:48 +00:00
parent a8d375191a
commit 0d3e9e67ad
7 changed files with 102 additions and 83 deletions
+2 -11
View File
@@ -499,19 +499,10 @@ def main(
)
if birdseye:
# For birdseye, we force top-down view
# For birdseye, we force top-down view (looking down +Y towards X-Z plane)
scene_dict["camera"] = dict(
projection=dict(type="orthographic"),
up=dict(x=0, y=0, z=1), # Z is up in Plotly? No, Y is usually up.
# Wait, we want X-Z plane. So we look down Y.
# Plotly default is Z up.
# If our data is Y-up (standard graphics), then we look from +Y down to X-Z.
# Actually, for X-Z plane top-down, we want to look from +Y.
# So eye should be (0, high, 0).
# And "up" vector for the camera should be aligned with Z (or -Z) to orient the map correctly.
# Let's try Z-up for the camera orientation so X is right and Z is up on screen?
# No, usually map is X right, Z up (or down).
# If we look from +Y, and up is +Z, then Z is "up" on screen.
up=dict(x=0, y=0, z=1), # World +Z is 'up' on screen
eye=dict(x=0, y=2.5, z=0),
)