Skip to content

Commit

Permalink
Typo in gaussian_renderer.__init__.py (graphdeco-inria#68)
Browse files Browse the repository at this point in the history
fixed a typo
  • Loading branch information
JonathonLuiten authored Aug 1, 2023
1 parent a63d0bd commit fc7432d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gaussian_renderer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fc7432d

Please sign in to comment.