Describe current design without performance history
Sync wiki surface-hook exclusivity vs main f474b31fb: explicit shaders opaque-nonrefractive-only; light-space shade via surface contract (stash H04/H09/H13/H20/H39/H44/H45)
Cherry-pick source-verified draft hunks vs main f474b31fb: Wayland interface suspend, nwb_shader_bytecode, combo Tab advance, compositeColor composition split; reject zstd/multiline-paren/persistent-raster/44-pkg claims
Sync wiki with current main (f474b31fb): IOR eligibility, SIMD naming, UI input, CSG optics
- Refraction IOR eligibility: finite IOR above 1.0 per nwbRefractionIorEligible (ior.slangi), replacing stale above-1.0001 in 6 pages.
- Math naming: SIMDVectorSingle/SIMDVectorDouble four-lane contracts with SIMDMatrix/SIMDMatrixDouble, aligned Float#/Double# storage, global/simd layout.
- UI input: press-arm/release-submit command semantics, Cancel retirement, PointerInput/Phase/Intent provider contract with stable contact identity.
- Reflection: retained-CSG dispatches sliced into bounded 8192-ray native packets preserving the frame ray budget.
- Shadows: mixed receivers integrate retained open surfaces independently of closed solid/cap boundaries.
- Code-Reading-Guide: input routing README entry point.
Align wiki with current runtime and authoring contracts
Document current launcher and prepared rendering contracts
Align Windows requirements, strict executable discovery, asset-type admission, Skin-owned mesh binding, and GPU timing fields with source c93bdcd1c518bd1ad3341cff525e184f79017a6f. Document required prepared CSG, AVBOIT, caustic, shadow, and Surfel GI graph contracts while preserving current feature routes and resource handoffs.
docs: sync wiki with current main (0d4a84d91)
Main 0d4a84d91618e98726d676a2757de6afa429e5a1 on top of 8 commits since last sync (c7bd6f108):
decimated guided surfel GI (surfel_guide.slangi, 16-cell guide,
4-uniform + up-to-8-guided mature rays, sampling.slangi deleted,
converged rays 32->12), UI toolkit move impl/ui->impl/ecs_ui/toolkit,
NWB_BEGIN/END ownership global/namespace.h->core/global.h, plus
arena-backed widget-state index, glyph-atlas index, and once-per-pass
UI raster heap/state reuse.
Updated 7 wiki pages to match HEAD (verified against tree):
toolkit paths, namespace-macro owner, guided-surfel trace contract,
converged ray counts, live-only guide pool/snapshot scope,
sampling.slangi deletion, surfel-gi-complex A/B baseline profile.
docs: sync wiki with current main (c7bd6f108bdd0ab546bcd798bafbbbe61c6e3b8d)
Main c7bd6f10 on top of 65 commits since last sync (76f1f5c96):
custom UI migration merged to main (custom_ui branch work through
dfd7d514f): Dear ImGui vendoring (3rd_parties/imgui) and the legacy
ImGui ECS path deleted; Testbed and ECS now use UiLayerSystem with
UiPaintComponent paint callbacks fed by impl/ui CPU paint/layout/text
plus OS clipboard/text-input services; new impl/assets/graphics/ui
raster/output shaders, font_builder and ui_skin utilities.
Updated 9 wiki pages to match HEAD (verified against tree):
UiSystem->UiLayerSystem, UiComponent->UiPaintComponent,
UiDrawContext->UiPaintContext (fields incl. clipboard/textInput/paint/
text/display/ui), Testbed UI wiring (fonts/skin/presentation, galleries),
UI ctor args, bindless UI bindings, 203-nit HDR10 UI encode, float4 UI
raster color (no half4), UI shader asset list.
docs: sync wiki with current main (91e869244deb963c5cd19a7c7f5b65181391126d)
Main 91e869244 on top of 46 commits since last sync (368d5e93b):
- Shadow quality knobs: FittedVolume coverage, CompactCross5 blocker
penumbra estimation, EveryFrame/ReuseOneFrame capture cadence with
ticket-owned accepted-capture history; TemporalOne transparent
sampling after accepted filtered history; caustic photon-grid
divisors 1/2/4 with opaque-instance prefilter before resource
resolution.
- Removed unreachable uniform transparent fallback and dormant shadow
diagnostics/edge-stat plumbing; adaptive transparent fallback fold
remains (coarse transmittance / full-resolution adaptive).
- Shadow sampling stays finite float (R2 indices, hash offsets,
jitter-cone blends); BVH miss outputs initialized for Slang
definite assignment; inner-node traversal shared via
nwbBvhPickNearChild.
- Skinning: frame-owned accepted-state buffer reuse, accepted-snapshot
self-filtering, removed unused cache lookup/helpers.
- Vulkan: descriptor readiness/bind scans bounded to nextFresh
high-water mark; indexed light-space capture with shared
interpolation helper.
- Stress record docs/stress_rendering_performance.md: >60 FPS both
routes (70.8933 HW / 62.3919 no-RT), --minimum-fps 60 enforcement,
no-RT five-marker qualification, caustic/CPU timing harnesses.
- Split translation units: rt_swbvh_* scene/mesh infra, caustic
quality/settings, shadow quality/capture-history/transparent-sampling
histories, backend_forward.h.
docs: sync wiki with current main (c2012a2f78ee567e04c84c45f66ca73448864307)
Main c2012a2f7 Fix remaining standard section 5 include-grouping violations across whole sources.
- GPU task graph: scheduleGraph is the single execution-admission
entry (scheduler_compilation.cpp, FrontierSafe + shadow-prepare to
frame-timing-end envelope from graph_schedule.cpp); source maps
name scheduler_compilation.cpp, compiler_internal.h,
packet_runtime_internal.h, graph/ per-domain task bodies,
execute/frame_execute_lifecycle.* with merge validators, and the
graph_schedule/packet_metrics split units.
- Shadows: light-space depth path on no-RT frames
(setSoftwareShadowSettings Automatic/SoftwareTrace/LightSpace,
BuildLightSpacePlan directional+point admission, D32 view array,
snapshot on graph plan/payloads); combined HalfA/HalfB resolve
preparation shared by hardware and software preflights.
- Refraction: interface-hit admission before material reconstruction
(interface_hit.slangi entry/exit).
- No-RT qualification: --disable-hardware-ray-tracing policy, Vulkan
disabled-route report line, ctest -L software_raytracing matrix.
- fin diagnostics: smoke-contract logs are ESSENTIAL_INFO, --gpudbg
accepted-but-inert in fin, resize log ESSENTIAL; window capture
--resize-client replacement coverage.
- Tests: native kernel ingress suites retired with the headless
smoke-test surface (results stay as decision evidence in
RENDERER_OPTIMIZATION_STEPS.md); unit tree pruned to mandatory
edge cases; optical-upload reuse now in nwb_ecs_graphics_tests;
descriptor coverage via task_graph_descriptor_contract_tests;
cpu arena identity reduced to core/task/cpu/scheduler.
docs: sync wiki with current main
Update Renderer-Feature-Paths, Renderer, Renderer-Frame-Flow,
Platform-and-GPU-Support, and CSG-and-Transparency for the staged
hardware transparent-shadow path (gather/evaluate/overflow
continuation) with the HalfA/HalfB combined upsample; caustic
resolve stage specialization (prepare/wavelet/upsample plus
direct large-dilation wavelet); and the persistent VertexIndexed
raster route alongside compute emulation.
Record the Unspecified-boundary reflection specialization,
current-pose optical bounds, accepted object-space geometry reuse,
half-precision spatial HDR fix, and optical-path diagnostics in
Reflections, Mesh-Model-and-Skinning, and Diagnostics-and-Telemetry.
Note AVBOIT generated-geometry reuse, the twenty-body stress
default with fixed/rotating modes and kernel parity coverage in
Build-and-Verification, new file entry points in Code-Reading-Guide,
and the _NET_WM_PID X11 teardown tag in Testbed.
docs: sync wiki with current main
Add the Reflections page covering hybrid screen-space/hardware tracing,
settings, statistics, and measured costs. Document camera refraction
(primary capture, hardware/screen resolve), reflection and refraction
frame-flow domains, presentation settings, reflection smoke suites,
surface specular F0/roughness authoring, and the optics domain.
docs: rewrite wiki for current engine
docs: document GPU task graph
docs: sync wiki with current main contracts
Sync wiki with current main
Update wiki for current main
Document declarative frame execution plan
Update wiki for current main
Update wiki for current main
Document async shadow scheduling
Document command-list state handoff
Document required descriptor-buffer renderer path
Document opaque shadow fast path
Document soft shadow sampling policy
Update wiki for current main branch
Update wiki for surfel GI renderer changes
Update wiki for render and material layout
Document surfel GI renderer path
Update wiki for hardware soft shadow path