From c37a659ce06739f639f86e614af18f65fe1c1aca Mon Sep 17 00:00:00 2001 From: lapisliu Date: Tue, 25 Feb 2025 13:46:54 -0500 Subject: [PATCH] fix the offset of K in projection packed fwd 2dgs kernel --- gsplat/cuda/csrc/fully_fused_projection_packed_2dgs_fwd.cu | 1 + 1 file changed, 1 insertion(+) diff --git a/gsplat/cuda/csrc/fully_fused_projection_packed_2dgs_fwd.cu b/gsplat/cuda/csrc/fully_fused_projection_packed_2dgs_fwd.cu index 7024803e9..4c7b4df98 100644 --- a/gsplat/cuda/csrc/fully_fused_projection_packed_2dgs_fwd.cu +++ b/gsplat/cuda/csrc/fully_fused_projection_packed_2dgs_fwd.cu @@ -93,6 +93,7 @@ __global__ void fully_fused_projection_packed_fwd_2dgs_kernel( // camera space quats += col_idx * 4; scales += col_idx * 3; + Ks += row_idx * 9; mat3 RS_camera = R * quat_to_rotmat(glm::make_vec4(quats)) *