Skip to content

Scene Service for Applets

The scene service offers the scene model to applets through the ABI, with the shared camera, the up-axis switch, the scale bar and picks returned as events.

Field Value
ID REN-35
Status Planned
Scope Supporting
Pillar Rendering and 3-D
Sprint 4
Depends On Picking (REN-15)
Scene Model Additions (REN-34)
Unblocks Applets on the Scene Service (REN-16)
Applet Scenes in Recordings and the Hub (STR-31)
Docs None
Branches None
Design None

Coverage Ledger

  • design/renderer-core.md on the branch sprint4, under Remaining Steps. Step 11, the scene service; 12.5 days.
  • design/renderer-core.md on the branch sprint4, under Remaining Steps. Step 16, one applet outside the repository ported onto the scene service, moved out of the sprint; 3 days.
  • design/renderer-core.md on the branch sprint4, under Decisions. Decisions on zero-copy as a hard requirement, the scene service, applets adapting to the API, and the particle applets first.
  • design/renderer-core.md on the branch sprint4, under Decisions. One applet outside the repository ported as the last step, later moved out of sprint 4.
  • design/renderer-core.md on the branch sprint4, under Open Decisions. Open decision: applets and embedding hosts outside the repository, updated at step 13 or left until next worked on.
  • design/roadmap.md on the branch sprint4, under Scenes and recordings. The renderer core part: one graphics layer, one shader source, a shared scene core, zero-copy as an import capability, GLEW retired early, views moved onto the layer, TypeScript WebGPU views removed, a scene service replacing the geometry service, one version of each graphics service with one epoch bump.
  • design/scenes.md on the branch sprint4, under Applets. Applets draw scenes through the scene service, which replaces the geometry service.
  • design/scenes.md on the branch sprint4, under Scene Service for Applets. The scene service caliper.scene.v1 offers the scene model to applets and replaces the geometry service, with four differences.
  • design/scenes.md on the branch sprint4, under Service and Version. Service id caliper.scene.v1 declared in sdk/include/caliper/services/scene_v1.h, one table.
  • design/scenes.md on the branch sprint4, under Array Names. CaliperSceneArray names an imported allocation, a tensor or no array, so applets draw their own memory in place.
  • design/scenes.md on the branch sprint4, under Service Table. The CaliperSceneV1 table with create, per-primitive calls, transform, camera, classes, clear, view_camera, retired, view, poll_event and last_error, and two capability bits.
  • design/scenes.md on the branch sprint4, under Frames, Atomicity and Memory Stability. Updates only on the frame thread, per-part refusal, tokens that retire when bytes may be rewritten.
  • design/scenes.md on the branch sprint4, under View in the Applet Window. view() draws the scene view as one ImGui item in the applet's window, owned by the host with camera, switch, picking and overlays.
  • design/scenes.md on the branch sprint4, under Events. poll_event returns hover, pick and select events to the applet.
  • design/scenes.md on the branch sprint4, under Capabilities and Refusals. Two capability bits, CAP_DRAW and CAP_IN_PLACE, and refusals read from host metadata.
  • design/scenes.md on the branch sprint4, under Applet Scene Features. An applet gains the shared camera, the up-axis switch, picking, depth, scale bar, labels, export and recordings from the host.
  • design/scenes.md on the branch sprint4, under C++ Sugar. caliper::Scene and caliper::SceneArray in caliper.hpp wrap the scene service table with builders.
  • design/scenes.md on the branch sprint4, under Tests. Headless tests of the scene service on the recording backend in both CI lanes, with capture rows on Metal.
  • design/scenes.md on the branch sprint4, under Mapping from the Geometry Service. Each geometry service capability is covered, added to the scene model, or dropped (triangle strips, unlit triangles, per-draw state, applet cameras, the rigidity gate).
  • design/scenes.md on the branch sprint4, under Decisions. Decisions for the scene service: replacing the geometry service (about 25.5 builder days against about 8.5), the view as an ImGui item, refusal per part, tokens, arrays naming allocations or tensors, additions and drops, a texture as an image array.
  • design/sprint-4.md on the branch sprint4, under 5. Picking, events and the scene service for applets. Step 11, the scene service, with field_scope, flow_scope and sculpt_scope on it (12.5 days).
  • design/sprint-4.md on the branch sprint4, under Moved out. Step 16, one applet outside this repository ported (3 days) moved out of the sprint, to be done when that applet needs it.
  • design/sprint-4.md on the branch sprint4, under Decisions. The graphics change with no backwards compatibility, a scene service for applets replacing the geometry service, and the trim of the sprint, each decided by the user.
  • Orchestrators' notes, _notes/HANDOFF-sprint4.md. Trim: the port of one applet from outside the repository (step 16, 3 days) moved to when it is needed.
  • Orchestrators' notes, _notes/HANDOFF-sprint4.md. The three actions on resuming: restart the builders from their STATUS files (integ3, draws, time, rec, tex), with the sprint 4 design pages synced when the third pull request is stable.

Roadmap Graph Feature in Graph