From d4fa4779d52cd7d79787cecd62b398cec348ee5e Mon Sep 17 00:00:00 2001 From: bkerbl Date: Sun, 23 Jul 2023 12:48:17 +0200 Subject: [PATCH] Debugging functionality --- arguments/__init__.py | 1 + gaussian_renderer/__init__.py | 3 ++- submodules/diff-gaussian-rasterization | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arguments/__init__.py b/arguments/__init__.py index ccb904e..1793b47 100644 --- a/arguments/__init__.py +++ b/arguments/__init__.py @@ -65,6 +65,7 @@ class PipelineParams(ParamGroup): def __init__(self, parser): self.convert_SHs_python = False self.compute_cov3D_python = False + self.debug = False super().__init__(parser, "Pipeline Parameters") class OptimizationParams(ParamGroup): diff --git a/gaussian_renderer/__init__.py b/gaussian_renderer/__init__.py index 7ca4cf3..bb24df5 100644 --- a/gaussian_renderer/__init__.py +++ b/gaussian_renderer/__init__.py @@ -44,7 +44,8 @@ def render(viewpoint_camera, pc : GaussianModel, pipe, bg_color : torch.Tensor, projmatrix=viewpoint_camera.full_proj_transform, sh_degree=pc.active_sh_degree, campos=viewpoint_camera.camera_center, - prefiltered=False + prefiltered=False, + debug=pipe.debug ) rasterizer = GaussianRasterizer(raster_settings=raster_settings) diff --git a/submodules/diff-gaussian-rasterization b/submodules/diff-gaussian-rasterization index f6f13c6..73917be 160000 --- a/submodules/diff-gaussian-rasterization +++ b/submodules/diff-gaussian-rasterization @@ -1 +1 @@ -Subproject commit f6f13c689327d0ad7fe716f98f5d81f313e11ff6 +Subproject commit 73917be7cfd1694e1e61adfa803981925494be5e