From fc7432d8b6abb258933c6cd6eef9bd8942b7e295 Mon Sep 17 00:00:00 2001 From: JonathonLuiten Date: Tue, 1 Aug 2023 01:06:33 -0400 Subject: [PATCH] Typo in gaussian_renderer.__init__.py (#68) fixed a typo --- gaussian_renderer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaussian_renderer/__init__.py b/gaussian_renderer/__init__.py index bb24df5..f74e336 100644 --- a/gaussian_renderer/__init__.py +++ b/gaussian_renderer/__init__.py @@ -69,7 +69,7 @@ def render(viewpoint_camera, pc : GaussianModel, pipe, bg_color : torch.Tensor, # from SHs in Python, do it. If not, then SH -> RGB conversion will be done by rasterizer. shs = None colors_precomp = None - if colors_precomp is None: + if override_color is None: if pipe.convert_SHs_python: shs_view = pc.get_features.transpose(1, 2).view(-1, 3, (pc.max_sh_degree+1)**2) dir_pp = (pc.get_xyz - viewpoint_camera.camera_center.repeat(pc.get_features.shape[0], 1))