[NV] Support FTheta FOV beyond 180 degrees - #1050
Merged
Merged
Conversation
FTheta cameras with max_angle > pi/2 model more than 180 degrees of FOV, but forward projection previously rejected every ray with z <= 0. Remove that guard and determine validity from theta_full < max_angle and the image-bounds margin check. For max_angle <= pi/2, the validity flag remains unchanged. However, invalid rays now return their cone-clamped rim projection instead of the (0, 0) sentinel. Because the unscented transform includes invalid sigma points when require_all_sigma_points_valid is false, Gaussians straddling the camera plane now produce a more representative 2D footprint. Limit Euclidean near/far culling to LiDAR and FTheta, whose projection models accept rays with z <= 0. Pinhole, orthographic, and fisheye models retain camera-space z culling when global_z_order is false. Rendering the beyond-180-degree FTheta band requires global_z_order=false throughout the pipeline. This also uses Euclidean distance for depth sorting and the D/ED depth channel.
vince-brisebois
approved these changes
Aug 20, 2026
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.
This PR cherry-picks support for FTheta camera FOVs > 180 degrees for upstreaming.