Enable extent_adaptive_clamping for gaussian splats - #34
Merged
Merged
Conversation
WeiPhil
commented
Sep 16, 2026
Collaborator
- Enable extent_adaptive_clamping = true on Mitsuba ellipsoidsmesh plugins in both C++ Hydra (PrimTranslator::BuildParticleField) and Python offline translator (usd_mitsuba.gaussian_splatting) for 1.5x-1.7x faster 3DGS rendering.
- Clamp splat opacities to >= 0.0101 (via LoadOpacities in C++ and np.maximum in Python) to prevent 0 or NaN proxy shell extents when opacity <= 0.01.
- Split ParticleFieldSpec::attributes_dirty into opacities_dirty and sh_dirty so in-place opacity updates include 'data' in parameters_changed (triggering EllipsoidsMesh::recompute_mesh()), while pure SH updates avoid proxy mesh and BVH recomputation.
- Add unit and fuzzing tests verifying opacity clamping and in-place adaptive proxy shell updates.
- Enable extent_adaptive_clamping = true on Mitsuba ellipsoidsmesh plugins in both C++ Hydra (PrimTranslator::BuildParticleField) and Python offline translator (usd_mitsuba.gaussian_splatting) for 1.5x-1.7x faster 3DGS rendering. - Clamp splat opacities to >= 0.0101 (via LoadOpacities in C++ and np.maximum in Python) to prevent 0 or NaN proxy shell extents when opacity <= 0.01. - Split ParticleFieldSpec::attributes_dirty into opacities_dirty and sh_dirty so in-place opacity updates include 'data' in parameters_changed (triggering EllipsoidsMesh::recompute_mesh()), while pure SH updates avoid proxy mesh and BVH recomputation. - Add unit and fuzzing tests verifying opacity clamping and in-place adaptive proxy shell updates.
dvicini
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.