Skip to main content

Module render

Module render 

Source
Expand description

Renderer / engine — the manifold projection + WebGPU viewport.

Phase 0.2a (RENDERER_IMPLEMENTATION_PLAN.md): the formerly-flat portal_* modules are consolidated under one render tree. The platform-agnostic pieces (camera, PGA oracle, projection, telemetry, standpoint, spectral, acoustic, control, contract, asset import) compile everywhere. The WebGPU renderer core (gpu) compiles wherever gpu-runtime is enabled; only the browser facade (portal, portal_wasm) remains gated to wasm + portal.

Modules§

acoustic
Phenomenal U2/U3 spectral parity — shared σ truth for vision and AcousticPlane (P-F2).
anatomy
Browser Anatomy render backends. Shared pack metadata remains in anatomy_pack. Browser Anatomy render backends.
anatomy_pack
Shared metadata schema for a .hmc anatomy asset pack (per-organ system / position / neutral colour). Platform-agnostic (native + WASM consumers). Shared metadata schema for a .hmc anatomy asset pack — the per-organ meta carried in each bundle entry.
assets
Asset import: OBJ / STL / GLB → Mesh + semantic NQuins (Phase 1.3). Asset-import bridge — OBJ / STL mesh → NQuin stream (Phase 1.3, RENDERER_IMPLEMENTATION_PLAN.md).
authoring
Authoring vocabulary + render planner (Phase 5): a qapp declares 3D + 2D views over one manifold; the planner enforces attestation gates, rights-bounded contexts, and budget-driven 3D→2D degradation before drawing. Gated like place_time (needs crate::modalities). Phase 5 — the authoring vocabulary (ns/ui) + render planner (the qapps upgrade; §6/§7).
barrier
Validate-before-render barrier needs full modalities::logic::geometry_asset_shacl (not modalities_lite / wasm-ontology-only). Validate-before-render barrier (P2)
body_fit
Person-authored body fit applied to decoded organ vertices (CCF space). Apply a person-authored [AnatomyBodyFit] to decoded organ vertices.
camera
Orbit camera → column-major view_projection for the Qualia portal (CPU hot path, zero-heap).
compile_10d
Compile a Mesh into a sealed .10d container (the dense compiled-geometry sidecar) and read it back — the “mesh → .10d” step of the 3-D-anatomy asset pipeline. Compile an imported triangle [Mesh] into a sealed .10d container — the dense compiled-geometry half of a geometry asset (see docs/manuals/standards/geometry-asset-ontology.md §3). This is the “mesh → .10d” step of the 3-D-anatomy asset pipeline: the renderer and the anatomy layer read the .10d back with [decode_10d_mesh] instead of reparsing the source GLB, and the q42 semantic manifest cites the container’s [compiled_digest].
contract
Phenomenal viewport CI contract — WGSL bindings, binary layout, and regression oracles.
control
Interface Control Plane (ICP) — fixed-size PortalControlCommand envelopes.
derivation
Decoupled Derivation Job (P2)
gamut
P7.2 — Gamut / object-colour solid + closest-point gamut mapping. P7.2 — Gamut / object-colour solid as a convex polytope + closest-point gamut mapping.
gpu
WebGPU renderer (PortalGpu) — depth, bloom, tensor-node projection, mesh surfaces. Cross-platform WebGPU viewport for the Qualia renderer SDK.
gpu_colour_kernel
P7.4 — GPU colour-projection / gamut batch kernel + CPU oracle. P7.4 — GPU colour-projection / gamut batch kernel + CPU oracle.
lod_chain
LOD chain (P5.8): author mesh → decimate N LODs → serialize to .10d → renderer parses each level → plan_view selects the expected LOD. Gated like the scientific geometry stack (needs crate::specialized_libs). P5.8 — LOD chain: author mesh → decimate N LODs → serialize to .10d → renderer parses each level → plan_view selects the expected LOD.
metamer
P7.1 — Metamers as the affine fibre of the colour-matching projection. P7.1 — Metamers as the affine fibre of the colour-matching projection.
model_substrate
Model-as-substrate (Phase 6, §F): one buffer holds a renderable manifold AND the transcoded P64 weights; the renderer projects the manifold while the weights are co-resident. Gated to where crate::p64_weight (the transcoder) compiles. Phase 6 — model-as-substrate (graph–tensor duality, STELLAR §F).
navigation
GPU/CPU node picking helpers and camera fly-to for PR-C11 navigation.
pga
3D PGA motors as dual quaternions — CPU oracle for projector.wgsl Phase 2b+.
physics
Physics of artefacts — bbox admission, kinematic joints, material/mass/momentum (Phase 2). Physics of artefacts (Phase 2, RENDERER_IMPLEMENTATION_PLAN.md).
place_time
Place / space / time binding — an artefact NQuin queried by the spatio-temporal AND deontic modalities over one shared identity (Phase 3); delegates to the inherited modality stack. Gated to exactly the configs where crate::modalities (the values/logic layer it builds on) is compiled — native always; on wasm only with the logic/scientific/full feature sets, not the minimal portal bundle. Phase 3 — place / space / time binding for artefacts (STELLAR §E step 3).
projection
Unified manifold projection — one project(), many views (Phase 1.4). Unified manifold projection (Phase 1.4, RENDERER_IMPLEMENTATION_PLAN.md) — one projection, many views.
sense
Sense path — the input twin (Phase 4): microphone PCM → forward DSP → the ∫Ψ > τ → Fact bridge, every capture under the deontic/standpoint consent gate (surveillance-refusal default). Gated like place_time (needs crate::modalities). Phase 4 — the sense path (the input twin of the renderer; STELLAR §D).
spectral
σ → CIE 1931 XYZ → linear sRGB — CPU oracle for canvas2d fallback and cold-path export.
spectral_blend
P7.3 — σ spectral blend as interpolation on the spectral manifold. P7.3 — σ spectral blend as interpolation on the spectral manifold.
spectral_kernel
P7.0 — Spectral-space kernel: SPD/CMF POD types + CIE linear-projection. P7.0 — Spectral-space kernel: SPD/CMF POD types + the CIE linear-projection contract.
spectral_operator
P7.7 — Unified spectral-operator API surface. P7.7 — Unified spectral-operator API surface.
spectral_oracle
P7.8 — golden-oracle + CPU/GPU differential + determinism harness. P7.8 — golden-oracle + CPU/GPU differential + determinism harness.
standpoint
Human-Centric observer standpoint — the chosen context and right to perceive (decoupled from the camera lens; no hardware fingerprinting).
telemetry
GPU telemetry and observer contracts for the Qualia portal (U2 viewport).