Skip to content

docs(lib-graphic-3d): add 3d graphics library benchmark - #454

Closed
Tchips46 wants to merge 2 commits into
mainfrom
claude/3d-webgpu-webgl-libs-149a3a
Closed

Tchips46 wants to merge 2 commits into
mainfrom
claude/3d-webgpu-webgl-libs-149a3a

Conversation

@Tchips46

@Tchips46 Tchips46 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds a benchmark of 3D libraries that render with WebGPU and fall back to WebGL, for the game and the editor, in docs/docs/lib-graphic-3d/:

  • index.mdx: method, 30 criteria in 7 categories (description and how each is measured), candidates, results table with ✅ / ⚠️ / ❌ / ❓ totals, findings.
  • three-js.mdx, babylon-js.mdx, playcanvas.mdx, luma-gl.mdx: one page per library with its verdict, integration notes for a NanoForge library, and the evidence per criterion.
  • poc.mdx: in-browser proof of concept of the two finalists (init time, FPS with 2,000 and 20,000 meshes, PNG capture, canvas moved to another document, globals left after dispose).

Result: Babylon.js leads (23 ✅), Three.js second (19 ✅). PlayCanvas (C6) and luma.gl (D2) fail the eliminatory criteria. Galacean, LayaAir, RedGPU, Orillusion and TypeGPU have no runtime WebGL fallback.

How do you test this PR?

  • Every page compiles with @mdx-js/mdx + remark-gfm; scores in the per-library pages match the index table.
  • The POC ran in Chrome 153 (headless, Apple M5), 3 runs per configuration, medians reported. Firefox, Safari and mobile are not measured; the pop-out test uses an iframe, not window.open.

@Tchips46
Tchips46 requested a review from Exeloo as a code owner November 5, 2026 11:02
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 5, 2026
@Tchips46 Tchips46 closed this Nov 5, 2026
@Tchips46
Tchips46 deleted the claude/3d-webgpu-webgl-libs-149a3a branch November 5, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant