Expand description
S5.7 — the render surface for the 3D Anatomy Qapp (interim visual).
Builds a [RenderScene] representing the whole body as coloured regions per body system, painted by
the accumulated burden (σ → RGBA via AnatomyViewReport::system_percepts). This is the interim
visual noted in the progress log: a headless whole-body percept snapshot that lets Timothy see the
body coloured by burden without needing the ~200–290 MB live CCF/HRA GLB download (the cache + real
mesh path remains open). The orbit camera (azimuth/elevation) is driven by the caller so the Studio UI
can spin the body.
The 17 body systems are placed at anatomically meaningful positions on a normalized body silhouette.
Each system renders as a coloured node whose radius grows with its burden (a bigger region = more
accumulated adverse load) and whose colour is the σ-derived RGBA from the percept. Distributed-overlay
systems (ECS / ENS / glymphatic) are rendered as translucent overlays over their host regions. The
scene is consumed by the headless webizen_render::render_scene_png pipeline — no browser WebGPU
required.
Functions§
- body_
scene - Build a whole-body [
RenderScene] from anAnatomyViewReport, coloured by accumulated burden and viewed from(azimuth, elevation)in degrees.azimuth0..360 rotates around the body;elevation-90..90 looks up→down. The camera orbits at a fixed radius around the body centre. - body_
scene_ with_ fit - Like
body_scene, but stretches the silhouette by the person’s declared stature / torso / legs.