Index-Pair Edges¶
Lines can be given as pairs of indices into a positions array, so that graph edges, bonds and skeletons reuse their points instead of repeating them.
| Field | Value |
|---|---|
| ID | REN-42 |
| Status | Built |
| Scope | Core |
| Pillar | Rendering and 3-D |
| Sprint | 4 |
| Depends On | Scene Core (REN-11)caliper.scene ( STR-10) |
| Unblocks | Keypoint Skeletons (REN-48) |
| Docs | None |
| Branches | sprint4-drawssprint4-integ3 |
| Design | None |
Coverage Ledger¶
- Branch
sprint4-integ3, 9b8405c4. The rest of the caliper.scene calls (arrows, boxes, images, depth and segmentation images, cameras, entity transforms, class table, clears, index-pair edges, class ids, labels, normals, textures and view_camera). - Branch
sprint4-draws, 78dd925e, 8af6d51f, be193a50. Every remaining scene primitive drawn natively and in the browser: arrows, boxes with class ids, labels and fill, index-pair edges, meshes with normals or a texture, colour, grey, depth and segmentation images, cameras, entity transforms, class tables, with a CPU reference of every draw and browser scene rows. design/scenes.mdon the branchsprint4, under Index-pair edges. scene.lines draws graph edges as (E, 2) index pairs through an edge gather in the clamp pass; (2, E) is refused.design/scenes.mdon the branchsprint4, under Index-pair edges. Tests of index-pair edges in Caliper LIB and against references natively and in Chromium.design/scenes.mdon the branchsprint4, under Decisions. Decision: index-pair edges on lines, (E, 2) only, drawn through a gather.design/sprint-4.mdon the branchsprint4, under 1. A loss landscape in a notebook. What increment 1 defers: picking, events and selection; arrows, boxes, images, cameras, entity transforms, class table, labels, normals, textures; index-pair edges, up-axis switch, scale bar and view_camera; scene data views beyond the default; timelines and stamps; the rest of the messages; shared-memory session; the TypeScript fallback and budgets.design/sprint-4.mdon the branchsprint4, under 3. Every primitive natively, through shared memory. Index-pair edges on lines (2 days).design/web-geometry.mdon the branchsprint4, under Lines and arrows. Lines as screen-space quads with break masks and index-pair edges through the edge gather, and arrows of nine vertices.design/web-geometry.mdon the branchsprint4, under The index clamp. The index clamp and edge gather compute module, with a noted limit above 4,194,240 indices.design/web-geometry.mdon the branchsprint4, under Decisions. Decisions on vertex buffers, the parameter block, colour source, colormap by keys, bits textures, line and arrow quads, index-pair edge gather, box poses, flat faces, pick pass, index clamp, flat interpolation, level of detail at the producer and default limits.- Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Every remaining primitive (arrows, boxes, images, cameras, entity transforms, class tables, labels, index-pair edges) is drawn in the scene core, the app and the browser on sprint4-draws. - Orchestrators' notes,
s4-integ3/STATUS.md. The third pull request in progress: the protocol series is carried on sprint4-integ3, and the draws series is picked up to its first commit, with the rest, the meeting points and final suites still to do. - Orchestrators' notes,
s4-draws/STATUS.md. Remaining draws applied natively and in the browser, with a CPU reference and graphics suite rows on Metal and browser rows per primitive.