Debugging functionality

This commit is contained in:
bkerbl 2023-07-23 12:48:17 +02:00
parent 4ab80a2215
commit d4fa4779d5
3 changed files with 4 additions and 2 deletions

View File

@ -65,6 +65,7 @@ class PipelineParams(ParamGroup):
def __init__(self, parser): def __init__(self, parser):
self.convert_SHs_python = False self.convert_SHs_python = False
self.compute_cov3D_python = False self.compute_cov3D_python = False
self.debug = False
super().__init__(parser, "Pipeline Parameters") super().__init__(parser, "Pipeline Parameters")
class OptimizationParams(ParamGroup): class OptimizationParams(ParamGroup):

View File

@ -44,7 +44,8 @@ def render(viewpoint_camera, pc : GaussianModel, pipe, bg_color : torch.Tensor,
projmatrix=viewpoint_camera.full_proj_transform, projmatrix=viewpoint_camera.full_proj_transform,
sh_degree=pc.active_sh_degree, sh_degree=pc.active_sh_degree,
campos=viewpoint_camera.camera_center, campos=viewpoint_camera.camera_center,
prefiltered=False prefiltered=False,
debug=pipe.debug
) )
rasterizer = GaussianRasterizer(raster_settings=raster_settings) rasterizer = GaussianRasterizer(raster_settings=raster_settings)

@ -1 +1 @@
Subproject commit f6f13c689327d0ad7fe716f98f5d81f313e11ff6 Subproject commit 73917be7cfd1694e1e61adfa803981925494be5e