Gate volumetric medium composition

This commit is contained in:
Meta Vens 2026-05-09 02:43:15 +01:00
commit 8593f3be56
12 changed files with 89 additions and 27 deletions

View file

@ -44,7 +44,7 @@
"For research decks with recordings, pull subtitles/transcripts before distilling. The Dreams transcript changed the lesson: preserve the evaluator/field that serves the image, not the elegant SDF/brick/froxel experiment that drifted away from the art direction.",
"Sea of Thieves clouds are the stylized counterexample: authored opaque cloud geometry filtered through low-res blurred color/depth compositing can beat dense raymarching when clouds are symbolic world objects or gameplay signage. Consider tool-time SDF baking for per-vertex cloud lighting, not runtime volume traversal by reflex.",
"The SDF field renderer plan is docs/sdf-field-renderer-plan.md: solids and clouds should share one field grammar, with distance, density, material, medium, bounds, and debug views.",
"Fog-land started with a renderer/HLSL field instance ABI, not final-frame haze. Aquarium now packs Self, planets, and local medium ellipsoids into a structured buffer; a half-resolution medium pass emits density, transmittance, and source diagnostics in modes 9-11 while final composition remains unchanged until the explicit compositor exists.",
"Fog-land started with a renderer/HLSL field instance ABI, not final-frame haze. Aquarium now packs Self, planets, and local medium ellipsoids into a structured buffer; a half-resolution medium pass emits density, transmittance, source diagnostics, and transport. Final composition uses surface * transmittance + in-scattering behind a persisted Medium Composite control that defaults to zero.",
"SDF cloud distance should shape and accelerate the medium, not create a positive-distance absorbing shell. Prototype ellipsoid edges occluded farther clouds until density was changed to eroded interior occupancy with lower extinction.",
"A bounded cloud prototype should march analytic ray/volume intervals, not global SDF shells. The first cloud artifact persisted until rays jumped between true ellipsoid entry/exit intervals; otherwise near fields can consume the sample budget and masquerade as occluders.",
"SDF clouds/solids need waterfall architecture, not agile accretion. Define and build the field contract, broad phase, explicit local volume pass, composition contract, and acceleration gates before adding more cloud features.",
@ -85,7 +85,7 @@
"state_and_reload": [
"CultCache is the client memory organ. Runtime state, camera, renderer knobs, body state, UI state, and future Epiphany connection state should be typed Cult documents.",
"The current live document is epiphany.aquarium.live_state, stored through CultLib MessagePack backing. Direct runs can use --cache or AQUARIUM_CULTCACHE_PATH.",
"Global graphics presentation settings live in epiphany.aquarium.graphics_settings. The debug UI edits the renderer copy; the host syncs changes to the live runtime; the runtime flushes dirty settings through CultCache so render debug, exposure, bloom intensity, and bloom veil survive restart and live reload.",
"Global graphics presentation settings live in epiphany.aquarium.graphics_settings. The debug UI edits the renderer copy; the host syncs changes to the live runtime; the runtime flushes dirty settings through CultCache so render debug, exposure, bloom intensity, bloom veil, and medium composite intensity survive restart and live reload.",
"A truncated or unreadable single-file CultCache backing store is not a schema migration failure. Aquarium should quarantine the corrupt snapshot and boot fresh typed state, while CultLib must write snapshots atomically so process death cannot leave a zero-byte cache.",
"dev-reload builds disposable apphost slots so a running window does not lock normal build output. dev-watch hot reloads shaders and live runtime DLLs while preserving the last good process. Host/core/content changes, scripts, and src/Aquarium.Engine/Assets must rebuild and restart the apphost on demand. dev-watch must also relaunch if its recorded script-owned process is no longer running. For visible windows, dev-watch -ReopenWhenClosed reopens the last good visible slot without rebuilding.",
"Live runtime reload is not successful just because dev-watch wrote live-current.txt. The watcher must see the host acknowledge the exact live DLL path in stdout, or treat the update as failed and keep the previous runtime/process alive.",