Points in the Browser¶
Points draw in the browser through the WebGPU renderer, as instanced quads with the native colour rule and depth test, because WebGPU draws a point one pixel wide.
| Field | Value |
|---|---|
| ID | EMB-02 |
| Status | Shipped |
| Scope | Core |
| Pillar | Web and Embedding |
| Sprint | None |
| Depends On | WebAssembly Views (EMB-04) |
| Unblocks | ImPlot3D in the Browser (EMB-09) |
| Docs | Rendering, WebGPU Backend |
| Branches | None |
| Design | Streaming and embedding, The web viewer |
Coverage Ledger¶
- Branch
sprint2-lutfix, 0 commits that main lacks (5 ahead of the merge base). Work on Metal colouring of value-coloured live points, which reached main through a pull request (patch ids and subjects match). - Branch
sprint2-points3d, 0 commits that main lacks (8 ahead of the merge base). Work on the 3-D points box, depth cues, default camera and rotation, documented, which reached main through a pull request (patch ids and subjects match). design/renderer-core.mdon the branchsprint4, under What is built and what is planned. The web viewer spike of the sprint 2 branch found the WebGPU constraints the design is shaped to.design/web-geometry.mdon the branchsprint4, under What is built and what is planned. Nothing on the page is built; the built pieces on the sprint2 branch are the web viewer module, the heatmap colormap in WGSL, and points on the geometry path.- Rendering, WebGPU Backend. The WebGPU renderer draws the browser views with a WGSL colormap pass and instanced quads for points.
- Pull request #14. Known gaps recorded in pull request 14. Vulkan does not draw the 3-D points depth cues or the exact value colours for points; the two browser renderers still differ (square against round points, a fixed range with equal ends).