Scene View¶
The scene view is a live view of kind scene that draws the points, lines and meshes of a protocol 3.2 scene through the scene core, in the app and in the browser, with an orbit camera.
| Field | Value |
|---|---|
| ID | REN-12 |
| Status | Shipped |
| Scope | Core |
| Pillar | Rendering and 3-D |
| Sprint | None |
| Depends On | Scene Core (REN-11)Colormap by Keys ( REN-14)Wire Protocol 3.2 ( STR-09) |
| Unblocks | Scenes in the Browser (EMB-08)Scene Budgets and Device Loss in the Browser ( EMB-18)Up-Axis Switch ( REN-43)Scale Bar ( REN-44)Starting Camera of a Scene ( REN-45)Following an Entity ( REN-47)Line Widths in World Units ( REN-49)Text Log View ( REN-51)Bar Chart View ( REN-52)Camera Paths and Fly Mode ( REN-61)Gizmos and Scene Editing ( REN-62)Linked Cameras and Selections ( RUN-07)Spec Version 1 with Scenes ( SPC-11)Loss Landscape Demo ( STR-11) |
| Docs | Scene Rendering, Scene View |
| Branches | None |
| Design | None |
Coverage Ledger¶
- Branch
sprint4-build, 165 commits, none outside sprint4-integ3. Head of pull request 1 (546bacaa): sprint 4 through demo 0 with every review fix. - Branch
sprint4-draws, 175 commits, 7 not in sprint4-integ3: 5f6baeee, 4a9141af, 9100d951, eb955cdc, be193a50, 8af6d51f, 78dd925e. Every remaining primitive drawn, the pick pass, annotations over a camera image; WIP hover and selections. - Branch
sprint4-integ3, 209 commits not on main, the superset of the finished build branches; the six branches draws, rec, tex, time, ts9, points hold 30 commits outside it. Third integration branch: every finished build branch (protocol 3.2 series, step 5, 7, 9, scale bar, up-axis, rest of scene calls, first draws commit). - Branch
sprint4-pr1-main2, 165 commits, none outside sprint4-integ3. Pull request 1 candidate, 546bacaa with main merged in. - Branch
sprint4-view, 74 commits, none outside sprint4-integ3. The scene view, native and in WebAssembly. - Branch
sprint4-integ3, 8676cb5a, 65fb62b1, 80259d39, a2f9644d, cdd41d4e, 809978e1, d53c1148, dc592c3d, 546bacaa, 968db549. The scene view, live view kind 6, drawing a scene of the scene core in the app and fed by the app's network source, with the default camera and ERROR unsupported for parts not yet drawn. - Branch
sprint4-integ3, b3d7d039, 81394bc6, ee637d2f, 02b0fb9a. Scene view tests: end to end test with the hidden app attached late, the network source against a fake producer, wait-based scene tests, queue rules for a paused view. - Branch
sprint4-integ3, 79efd6ca, 5b85e429. Scene view docs, measurements and the tutorial note on the scale bar. - Branch
sprint4-integ3, ef189663, ee2bc751, cb9d8d0e, 132b6d85, 7d1e899e, 03bbb7a7. Scene drawing in the WebAssembly views: the module compiles the scene view, the TypeScript client gains kind scene and the scenes capability. - Branch
sprint4-integ3, 7085d613, 4e271d4b, 968645f7. The scene view's up-axis switch (Y up and Z up, key U, remembered by view name) with Metal rows and live view tests. - Branch
sprint4-integ3, e5055199, b6a5eac5, 9d3a0af3. The scale bar: the rule in the scene core (longest of 1, 2 and 5 times a power of ten within a fifth of the picture), drawn in the app and published by the WebAssembly module. - 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. - Branch
sprint4-draws, eb955cdc. Docs for what the scene view draws, the primitive rows and the scene self-test. - Branch
sprint4-draws, 4a9141af. Annotations over a camera's image: a pinhole camera's 2-D entities draw and pick over the images on its image plane, whether the image is opaque or translucent. - Branch
sprint4-ts9, 92a70847. Scale bar interface header in the scene core, an early WIP superseded by e5055199 on integ3. design/scenes.mdon the branchsprint4, under Scenes and spaces. A scene is one live view of the new kind scene (kind id 6 proposed), 2-D or 3-D, with up, units and a right-handed 3-D space; the native scene view draws it.design/scenes.mdon the branchsprint4, under Scenes and spaces. Up to 64 scenes in a session, named 1 to 63 bytes.design/scenes.mdon the branchsprint4, under Primitives. Points primitive with colours, values through a colormap, class ids, radii, labels and additive blend.design/scenes.mdon the branchsprint4, under Primitives. Lines primitive as segments, strips or index-pair edges, with width, colours and values.design/scenes.mdon the branchsprint4, under Primitives. Mesh primitive with indices, normals, colours, values or a texture, and instance poses with instance colours or values.design/scenes.mdon the branchsprint4, under Limits. Scene limits: 64 scenes, 1,024 entities, 2,048 batches, 4,194,304 points or vertices per batch, 4,096 labels, 4,096 classes, 8,192-pixel images.design/scenes.mdon the branchsprint4, under Drawing a scene natively. Section heading on drawing a scene natively.design/scenes.mdon the branchsprint4, under The scene core and the graphics layer. The native scene view is the scene core compiling entities into a draw list; the points live view becomes a scene of one entity.design/scenes.mdon the branchsprint4, under From primitives to draws. Points and lines as instanced quads, arrows, boxes, meshes, images, cameras, entity axes and labels drawn through the graphics layer; entity transforms as per-draw matrices.design/sprint-4.mdon the branchsprint4, under 1. A loss landscape in a notebook. The scene view in the shared view layer: kind 6 in the view registry, scene state from decoded messages, orbit input and fit, info line, widget kind and viewer page (2 days, new).design/sprint-4.mdon the branchsprint4, under 1. A loss landscape in a notebook. Points, segment and mesh draws on the WebGPU backend (2 of 4 days).design/sprint-4.mdon the branchsprint4, under 1. A loss landscape in a notebook. Parity rows for the three draws in headless Chromium on a default and a compatibility device (2 of 4 days).design/sprint-4.mdon the branchsprint4, under 2. The landscape in the app, the end of OpenGL, and the views on the layer. The scene from the network route in the app, with capture rows on Metal (1.5 days, new).design/sprint-4.mdon the branchsprint4, under Open questions. Open question 2, drawing the landscape in the app in increment 1 or 2 (about 1.5 days); the page recommends increment 2.design/windows-parity.mdon the branchsprint4-pr1-main2, under 5. The web viewer and notebooks. The scene parity tests of Web geometry in Chrome and Edge on Direct3D 12 and the loss-landscape demo in a notebook (1 day).design/windows-parity.mdon the branchsprint4-pr1-main2, under 10. Scenes and recordings. The scene view on Vulkan with CUDA: import of scene slots, the pick pass, the up-axis switch and capture rows (2 days).- Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Pull request 1 content is finished and held on sprint4-pr1-main2 at 44840c5b: graphics layer, shader generation, scene core, scene view, WebGPU backend, colormap by keys, protocol 3.2 subset, caliper.scene and demo 0. - Orchestrators' notes,
_notes/HANDOFF-sprint4.md. The reviewer's major findings were fixed with tests: the hub's retained scene state bound, a queued Metal write ordering, index clamps of an unsubmitted frame, scene buffer release on reset, the viewer queue never dropping a reset, the browser recolour check, and the demo grid orientation. - Orchestrators' notes,
_notes/HANDOFF-sprint4.md. The run bar fixes with the caliper.flush() fix and the browser capture row's fix are on sprint4-pr2. - Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Decisions: the double-precision camera is the scene core's convention and the scene view's default camera is the points view's from camera_defaults.h. - Orchestrators' notes,
s4-view/STATUS.md. The scene view draws in the app and in the browser, with captures and a timing row (compile about 0.005 ms, GPU 0.062 ms at 512 by 512). - Orchestrators' notes,
s4-view/STATUS.md. Source::take_scene and live/scene_queue.h are the seam through which a source of scene messages feeds the scene view. - Orchestrators' notes,
s4-proto3/STATUS.md. Until the scene view draws a part, the sources refuse it with ERROR unsupported and a note; scene_not_drawn changes when a new part is drawn. - Orchestrators' notes,
s4-rebase/RESULT.md. After the merge the scene view's default camera is the points view's; demo 0's pixel reference was replaced under the new camera. - Orchestrators' notes,
s4-integ3/STATUS.md. Meeting points to check when joining draws and the base: the switch and bar with every primitive, looking through a camera then switching up, the bar through a camera, the uniform-bytes check for new programs and the CPU reference of the draws taken from the shipped module. - Orchestrators' notes,
s4-orch/pr1/PR-1.md. Known gap: the scene view draws points, lines and meshes only; the other parts, picking and the applet service come in later parts.