mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2025-04-04 21:22:39 +00:00
Merge 473560e399
into 8a70a8cd6f
This commit is contained in:
commit
495e237608
@ -82,7 +82,7 @@ def render(viewpoint_camera, pc : GaussianModel, pipe, bg_color : torch.Tensor,
|
||||
colors_precomp = override_color
|
||||
|
||||
# Rasterize visible Gaussians to image, obtain their radii (on screen).
|
||||
rendered_image, radii = rasterizer(
|
||||
rendered_image, radii, depth = rasterizer(
|
||||
means3D = means3D,
|
||||
means2D = means2D,
|
||||
shs = shs,
|
||||
@ -96,5 +96,6 @@ def render(viewpoint_camera, pc : GaussianModel, pipe, bg_color : torch.Tensor,
|
||||
# They will be excluded from value updates used in the splitting criteria.
|
||||
return {"render": rendered_image,
|
||||
"viewspace_points": screenspace_points,
|
||||
"visibility_filter" : radii > 0,
|
||||
"radii": radii}
|
||||
"visibility_filter": radii > 0,
|
||||
"radii": radii,
|
||||
"depth": depth}
|
||||
|
Loading…
Reference in New Issue
Block a user