Skip to content

Save whole GSplat benchmark page as PNG instead of chart only#8611

Merged
mvaligursky merged 1 commit into
mainfrom
mv-gsplat-benchmark-save-page
Apr 17, 2026
Merged

Save whole GSplat benchmark page as PNG instead of chart only#8611
mvaligursky merged 1 commit into
mainfrom
mv-gsplat-benchmark-save-page

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

Updates the "Save" button in the GSplat benchmark example to export the entire visible benchmark page (title, GPU info, results table with timings, and chart) as a single PNG, instead of only the chart canvas.

Changes:

  • Renames page title to "PlayCanvas GSplat Benchmark"
  • Renames "Save Chart (.png)" button to "Save Page (.png)"
  • Rasterizes `containerEl` via an SVG `foreignObject` into a canvas, swapping live `` elements for `` snapshots so the chart renders in the export
  • Auto-crops uniform `respect ambient oclussion map for specular #111` background edges with a small padding around the content

- Rename page title to "PlayCanvas GSplat Benchmark"
- Rename "Save Chart (.png)" button to "Save Page (.png)"
- Rasterize containerEl via an SVG foreignObject into a canvas, swapping live
  canvas elements for <img> snapshots so the chart renders in the export
- Auto-crop uniform #111 background edges with a small padding around content
@mvaligursky mvaligursky self-assigned this Apr 17, 2026
@mvaligursky mvaligursky merged commit bfb4299 into main Apr 17, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-gsplat-benchmark-save-page branch April 17, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant