Skip to content

Conversation

@najmemhmdb
Copy link

In camera_optimizer.py, the forward output is an adjustment in world coordinates applied to rays whose directions are also expressed in world space.
Therefore, in apply_to_raybundle, the adjustment must left-multiply the ray directions.

In viewer.py (update_camera_poses), camera poses are stored in world coordinates. The delta (the forward output/adjustment) should likewise left-multiply the pose.
The current code right-multiplies the pose, which implicitly treats the forward output as a camera-frame adjustment. This is inconsistent with the world-space assumption used in camera_optimizer.py.

What changed:

Switched camera pose update (in viewer.py) from right multiplication to left multiplication to keep everything in world coordinates.

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