From de35ba3d62b9cd8d6a298920112746e3977ba3a6 Mon Sep 17 00:00:00 2001 From: Janusch Patas Date: Sat, 28 Sep 2024 22:15:26 +0200 Subject: [PATCH] fix merge break --- gsplat/rendering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsplat/rendering.py b/gsplat/rendering.py index d263897a..b94d736e 100644 --- a/gsplat/rendering.py +++ b/gsplat/rendering.py @@ -597,7 +597,7 @@ def view_to_visible_anchors( sh_degree: Optional[int] = None, packed: bool = True, rasterize_mode: Literal["classic", "antialiased"] = "classic", - ortho: bool = False, + camera_model: Literal["pinhole", "ortho", "fisheye"] = "pinhole", covars: Optional[Tensor] = None, ) -> Tuple[Tensor, Tensor, Dict]: """Rasterize a set of 3D Gaussians (N) to a batch of image planes (C). @@ -773,7 +773,7 @@ def view_to_visible_anchors( radius_clip=radius_clip, sparse_grad=False, calc_compensations=(rasterize_mode == "antialiased"), - ortho=ortho, + camera_model=camera_model, ) if packed: