Skip to content

Picking

Picking finds the entity, item and row under the pointer through a pick pass of the scene core on the graphics layer, natively and in a browser.

Field Value
ID REN-15
Status Shipped
Scope Core
Pillar Rendering and 3-D
Sprint None
Depends On Scene Core (REN-11)
Unblocks Scene Service for Applets (REN-35)
Scene Selection and Events (REN-46)
Picking of Program Items (REN-81)
Docs Scene Rendering, Scene Core
Branches None
Design None

Coverage Ledger

  • 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, 58619088, 0ed86028. Picking in the scene core: the pick window around the pointer, the pick pass with entries into an RG32Uint target and a Picker that drops superseded results, with the graphics suite's pick row on Metal.
  • Branch sprint4-draws, 9100d951. The pick pass on the graphics layer (PickPass in the scene core: pick variants into a 16 by 16 RG32Uint window with two asynchronous readbacks) and the scene view's request_pick, poll_pick and event detail, with rows that pick every primitive.
  • 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-draws, 5f6baeee. Hover, click, rectangle and lasso selections and linked highlights in the app's scene view (select_polygon, clear_selection, set_linked), with picks sent through the event sink at most 30 a second.
  • design/renderer-core.md on the branch sprint4, under Picking. A 16 x 16 RG32Uint pick pass around the pointer with its own depth buffer.
  • design/scenes.md on the branch sprint4, under Picking, hover and selection. Hover and click use the pick pass of the scene core with exact entity, primitive and item.
  • design/scenes.md on the branch sprint4, under Decisions. Decisions on the 1,024 entity limit, device-given transforms read on the CPU, a pick pass for hover and click with CPU lasso, and a mesh over budget becoming its bounding box.
  • design/sprint-4.md on the branch sprint4, 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.md on the branch sprint4, under 5. Picking, events and the scene service for applets. Increment 5 as a whole: hover, click, rectangle and lasso natively and in a browser, picks and selections to the script, linked selection, then the scene service with field_scope, flow_scope and sculpt_scope on it (18.5 days). The text log and bar chart moved to sprint 5.
  • design/sprint-4.md on the branch sprint4, under 5. Picking, events and the scene service for applets. Picking and events natively (4 days).
  • design/sprint-4.md on the branch sprint4, under 5. Picking, events and the scene service for applets. Picking in the browser (2 days).
  • design/web-geometry.md on the branch sprint4, under Picking. Pick pass of 16 x 16 pixels in the browser, with lasso on the CPU.
  • design/web-geometry.md on the branch sprint4, under Work items. Picking in the browser: the pick pass, its readback and hover values from heap copies; 2 days.
  • design/web-geometry.md on the branch sprint4, 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.
  • design/windows-parity.md on the branch sprint4-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. The pick pass is built on sprint4-draws; annotations draw and pick over their camera's image.
  • Orchestrators' notes, s4-draws/STATUS.md. The pick pass with asynchronous readbacks and the image-plane draw order; picks every primitive fixture.
  • Orchestrators' notes, s4-draws/STATUS.md. docs for the pick pass, hover, click, selections and the highlight (rendering.md and testing.md) are not written.
  • Orchestrators' notes, s4-draws/STATUS.md. The pick pass's timing half, the per-pick cost, is held.
  • 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.

Roadmap Graph Feature in Graph