Images in Scenes¶
A scene shows colour, depth and segmentation images on a camera's image plane and draws a depth image as a point cloud projected back through the camera; encoded images are not drawn yet.
| Field | Value |
|---|---|
| ID | REN-38 |
| Status | Built |
| Scope | Core |
| Pillar | Rendering and 3-D |
| Sprint | 4 |
| Depends On | Pinhole Cameras in Scenes (REN-39) |
| Unblocks | Structure from Motion Demo (REN-54)Detection Boxes Demo ( REN-56) |
| Docs | None |
| Branches | sprint4-drawssprint4-integ3 |
| Design | None |
Coverage Ledger¶
- 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/roadmap.mdon the branchsprint4, under Scenes and recordings. The scenes part: entities with transforms, points, lines, arrows, boxes, meshes, images and pinhole cameras, with a text log and a bar chart whose drawing moved to sprint 5.design/roadmap.mdon the branchsprint4, under Scenes and recordings. The browser part: scenes on the WebGPU backend of the renderer core, and the demos part: the loss landscape and the training run, with three other demos moved to sprint 5.design/scenes.mdon the branchsprint4, under Primitives. Images in colour, depth, segmentation and encoded JPEG or PNG forms, up to 8,192 pixels a side.design/scenes.mdon the branchsprint4, under The scene's calls. scene.image, depth and segmentation calls.design/scenes.mdon the branchsprint4, under Decisions. Decisions on images under cameras, retained static items, per-call checks, one copy per snapshot and no borrowing.design/scenes.mdon the branchsprint4, under Decisions. Decisions on the text log, the names caliper.text, caliper.bars and caliper.scene, and separate depth and segmentation calls.design/scenes.mdon the branchsprint4, under Later Scene Work. Compressed video stays out entirely; only single JPEG and PNG frames travel.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. Arrows, boxes, images with depth and segmentation, entity transforms, class table and labels drawn natively from shared memory; pinhole cameras and looking through them.design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. The other draws, their layouts and the pick variants (2 of 4 days).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. Their WGSL, and moving the drafted shaders into the one source (2 of 4 days).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. Texture fills for the image kinds and encoded frames (1.5 of 2 days).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. The class table texture (0.5 of 1 day).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. The remaining parity rows (2 of 4 days).design/web-geometry.mdon the branchsprint4, under Points. Points as instanced quads sized in pixels or scene units, and depth images drawn as point clouds without a point buffer.design/web-geometry.mdon the branchsprint4, under Images and camera frustums. Images as textured quads on a camera's plane, texture fills for each image kind, and frustums as eight segments.design/web-geometry.mdon the branchsprint4, under Encoded Frames. Encoded JPEG and PNG frames decoded by the browser with createImageBitmap and copied into a texture, kept from Images and camera frustums when the built image draws moved to the docs.design/web-geometry.mdon the branchsprint4, under Work items. Index clamp pass, image texture fills and encoded frames through the browser decoder; 2 days.- 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,
_notes/HANDOFF-sprint4.md. Encoded images are not drawn. - 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-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.