Skip to content

Add heatmap debug mode for compute GSplat rasterizer#8599

Merged
mvaligursky merged 1 commit intomainfrom
mv-gsplat-heatmap
Apr 14, 2026
Merged

Add heatmap debug mode for compute GSplat rasterizer#8599
mvaligursky merged 1 commit intomainfrom
mv-gsplat-heatmap

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

@mvaligursky mvaligursky commented Apr 14, 2026

Adds a new GSPLAT_DEBUG_HEATMAP debug rendering mode for the compute Gaussian splat rasterizer. The heatmap visualizes the average number of splats processed per pixel in each tile before the transmittance early-out, displayed as a blue-to-red color ramp at tile resolution.

Changes:

  • Add GSPLAT_DEBUG_HEATMAP constant for the new debug mode
  • Implement tile-averaged splat count visualization in the compute rasterize shader using workgroup-shared atomics
  • Wire heatmap mode through the dispatch set and compute renderer as a shader variant
  • Add Heatmap option to the debug dropdown in all GSplat examples

API Changes:

  • New constant: GSPLAT_DEBUG_HEATMAP — set via app.scene.gsplat.debug = GSPLAT_DEBUG_HEATMAP
  • Only supported with GSPLAT_RENDERER_COMPUTE
Screenshot 2026-04-14 at 14 38 56

Adds GSPLAT_DEBUG_HEATMAP debug rendering mode that visualizes the
average number of splats processed per pixel in each tile before the
transmittance early-out, displayed as a blue-to-red color ramp at tile
resolution using workgroup-shared atomics.
@mvaligursky mvaligursky self-assigned this Apr 14, 2026
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Apr 14, 2026
@mvaligursky mvaligursky merged commit 8c15533 into main Apr 14, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-gsplat-heatmap branch April 14, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Graphics related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant