You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the transform_points_screen method - instead of compositing all transforms and applying once on the points - you project first to ndc then transform to screen space (a 2N matmul operation instead of a N matmul operation for N points).
When accepting K (as opposed to focal length and principal point) with in_ndc=False you take the matrix as is but don't check if it includes the rotational component from world space to screen space and don't deal with it in the get_full_projection_transform method - resulting in a projection to flipped screen coordinates and wrong origin.
Point 2 affects the unproject_points method that uses get_full_projection_transform but doesn't reason about this flip when camera is not defined in ndc space
FlexibleArch, idanshef, jonilaserson and ktertikas