@@ -469,8 +469,8 @@ GaussianSplat3d::projectGaussiansForCameraImpl(
469469 RenderSettings settingsForProjection = settings;
470470
471471 if (resolvedProjectionMethod == ProjectionMethod::ANALYTIC) {
472- auto ret =
473- projectGaussiansImpl ( worldToCameraMatrices, projectionMatrices, settingsForProjection, cameraModel);
472+ auto ret = projectGaussiansImpl (
473+ worldToCameraMatrices, projectionMatrices, settingsForProjection, cameraModel);
474474 ret.mCameraModel = cameraModel;
475475 ret.mProjectionMethod = resolvedProjectionMethod;
476476 return ret;
@@ -810,8 +810,11 @@ GaussianSplat3d::sparseProjectGaussiansForCameraImpl(
810810 RenderSettings settingsForProjection = settings;
811811
812812 if (resolvedProjectionMethod == ProjectionMethod::ANALYTIC) {
813- auto ret = sparseProjectGaussiansImpl (
814- pixelsToRender, worldToCameraMatrices, projectionMatrices, settingsForProjection, cameraModel);
813+ auto ret = sparseProjectGaussiansImpl (pixelsToRender,
814+ worldToCameraMatrices,
815+ projectionMatrices,
816+ settingsForProjection,
817+ cameraModel);
815818 ret.mCameraModel = cameraModel;
816819 ret.mProjectionMethod = resolvedProjectionMethod;
817820 return ret;
@@ -1486,6 +1489,7 @@ GaussianSplat3d::renderDepths(const torch::Tensor &worldToCameraMatrices,
14861489 settings.shDegreeToUse = -1 ;
14871490 settings.radiusClip = minRadius2d;
14881491 settings.eps2d = eps2d;
1492+ settings.antialias = antialias;
14891493 settings.tileSize = tileSize;
14901494 settings.renderMode = RenderSettings::RenderMode::DEPTH;
14911495
@@ -1595,6 +1599,7 @@ GaussianSplat3d::renderNumContributingGaussians(
15951599 settings.tileSize = tileSize;
15961600 settings.radiusClip = minRadius2d;
15971601 settings.eps2d = eps2d;
1602+ settings.antialias = antialias;
15981603 settings.renderMode = RenderSettings::RenderMode::DEPTH;
15991604
16001605 return renderNumContributingGaussiansImpl (worldToCameraMatrices,
@@ -1631,6 +1636,7 @@ GaussianSplat3d::sparseRenderDepths(const fvdb::JaggedTensor &pixelsToRender,
16311636 settings.tileSize = tileSize;
16321637 settings.radiusClip = minRadius2d;
16331638 settings.eps2d = eps2d;
1639+ settings.antialias = antialias;
16341640 settings.renderMode = RenderSettings::RenderMode::DEPTH;
16351641
16361642 return sparseRenderImpl (pixelsToRender,
@@ -1671,6 +1677,7 @@ GaussianSplat3d::sparseRenderImages(const fvdb::JaggedTensor &pixelsToRender,
16711677 settings.tileSize = tileSize;
16721678 settings.radiusClip = minRadius2d;
16731679 settings.eps2d = eps2d;
1680+ settings.antialias = antialias;
16741681 settings.renderMode = RenderSettings::RenderMode::RGB;
16751682
16761683 return sparseRenderImpl (pixelsToRender,
@@ -1711,6 +1718,7 @@ GaussianSplat3d::sparseRenderImagesAndDepths(const fvdb::JaggedTensor &pixelsToR
17111718 settings.tileSize = tileSize;
17121719 settings.radiusClip = minRadius2d;
17131720 settings.eps2d = eps2d;
1721+ settings.antialias = antialias;
17141722 settings.renderMode = RenderSettings::RenderMode::RGBD;
17151723
17161724 return sparseRenderImpl (pixelsToRender,
@@ -1749,6 +1757,7 @@ GaussianSplat3d::sparseRenderNumContributingGaussians(
17491757 settings.tileSize = tileSize;
17501758 settings.radiusClip = minRadius2d;
17511759 settings.eps2d = eps2d;
1760+ settings.antialias = antialias;
17521761 settings.renderMode = RenderSettings::RenderMode::DEPTH;
17531762
17541763 return sparseRenderNumContributingGaussiansImpl (pixelsToRender,
0 commit comments