mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-22 00:08:02 +00:00
Debugging functionality
This commit is contained in:
parent
4ab80a2215
commit
d4fa4779d5
@ -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):
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user