Document fractal domain reservoir reorientation
This commit is contained in:
parent
866f89133d
commit
2f440c44b2
8 changed files with 222 additions and 6 deletions
|
|
@ -21,6 +21,9 @@ historical branch scar.
|
|||
- `temporal-spatial-evidence-reservoir.md`: stable-key temporal evidence cache
|
||||
for fractal rendering, Mimir-style sensor fusion, direct SDF contributors,
|
||||
and mesh-backed field evidence.
|
||||
- `fractal-domain-reservoir.md`: Area ReSTIR/TSR reorientation for the Perfect
|
||||
Machine reservoir as a domain-native evidence organ rather than a
|
||||
screen-space texel cache.
|
||||
- `temporal-sdf-gaussian-field.md`: temporal Form-field evidence lane.
|
||||
- `tsr-inspired-taa-spec.md`: temporal resolve design and guide-buffer intent.
|
||||
- `stochastic-transparent-surface-pipeline.md`: density/extinction and
|
||||
|
|
|
|||
126
docs/fractal-domain-reservoir.md
Normal file
126
docs/fractal-domain-reservoir.md
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
# Fractal Domain Reservoir
|
||||
|
||||
## Objective
|
||||
|
||||
Fensalir's Perfect Machine reservoir is not a screen-space texel cache. It is a
|
||||
dynamic, hierarchical, domain-native evidence reservoir that can be projected
|
||||
into pixels, history rows, field packets, denoiser inputs, residency decisions,
|
||||
and debug views.
|
||||
|
||||
The renderer may resolve through a per-pixel UAV row layout, but that row is an
|
||||
execution surface. It is not the sampling foundation.
|
||||
|
||||
## Reorientation
|
||||
|
||||
TAA proves that a renderer can accumulate more than one pixel worth of
|
||||
information over time by sampling different subpixel locations each frame.
|
||||
ReSTIR generalizes that idea for path and light samples by storing a selected
|
||||
representative sample plus the probability mass it represents. TSR generalizes
|
||||
the reconstruction side by deciding when history is trustworthy, when it must
|
||||
be rejected, and how rejected regions should be reconstructed without exposing
|
||||
raw noise.
|
||||
|
||||
Area ReSTIR exposes the missing invariant for Fensalir: when samples live over a
|
||||
pixel footprint, lens aperture, filter footprint, tube support, SDF envelope,
|
||||
quadtree tile, sensor cone, or nested fractal domain, the reservoir must store
|
||||
the selected sample's actual domain coordinates and support. Reuse is legal
|
||||
only when a source sample can be shifted or re-evaluated in the target domain
|
||||
with valid support, target/source PDF, visibility, and MIS/Jacobian accounting
|
||||
where required.
|
||||
|
||||
Fensalir goes one step higher: its selected samples are not merely subpixel
|
||||
rays. They are field and radiance claims lowered from semantic domains into a
|
||||
dynamic cache, then into GPU-visible reservoirs under frame budget.
|
||||
|
||||
```text
|
||||
DSL / producer intent
|
||||
-> semantic domain claims
|
||||
-> ownership tree and conservative summaries
|
||||
-> stochastic contribution cache / residency scheduler
|
||||
-> bounded candidate proposals
|
||||
-> fractal domain reservoir
|
||||
-> temporal domain validation and shift
|
||||
-> spatial/domain validation and shift
|
||||
-> TSR-style rejection and reconstruction
|
||||
-> denoiser-integrated resolved field/radiance output
|
||||
```
|
||||
|
||||
## Invariant
|
||||
|
||||
A reservoir sample must answer these questions before it can persist:
|
||||
|
||||
```text
|
||||
Which domain owns the sample?
|
||||
Where inside that domain was it sampled?
|
||||
What support/filter footprint does it represent?
|
||||
What target says it matters?
|
||||
What source PDF or proposal policy produced it?
|
||||
What candidate count or subtree mass does it represent?
|
||||
What shift mappings can legally reuse it?
|
||||
What conservative bounds keep Form, Appearance, or Transport honest?
|
||||
What denoiser/reconstruction features describe its confidence and variance?
|
||||
```
|
||||
|
||||
If a sample only answers "which pixel wrote me," it is not a Perfect Machine
|
||||
reservoir sample. It is a screen-space cache entry.
|
||||
|
||||
## Architecture Consequences
|
||||
|
||||
- Screen resolution is a consumer budget, not the native sampling domain.
|
||||
- Pixel rows are a row-stage projection of selected domain evidence, not a
|
||||
private top-k visibility list and not the owner of field identity.
|
||||
- TubeField, SDF, mesh, volume, fractal probe, and sensor contributors must all
|
||||
publish bounded domain proposals before reuse.
|
||||
- A broad proxy raster footprint may discover candidates, but it does not define
|
||||
selected support. The selected domain sample must carry its own subpixel and
|
||||
producer-domain coordinates.
|
||||
- Temporal reuse must reason over overlapping source and target domains, not
|
||||
nearest previous texel ownership.
|
||||
- Spatial reuse must shift or re-evaluate a neighbor's selected sample in the
|
||||
target domain before merge.
|
||||
- The occupancy/contribution tree is not separate from the reservoir. It is the
|
||||
hierarchy that decides which domain nodes deserve probes, residency, child
|
||||
expansion, or parent-summary fallback under the current compute budget.
|
||||
- The denoiser is not downstream cosmetics. It consumes reservoir confidence,
|
||||
selected support, contribution weight, variance/age, rejection reason, and
|
||||
reconstruction features, and the sampling scheduler should respond to those
|
||||
signals when choosing future probes.
|
||||
|
||||
## Compute-Budget Contract
|
||||
|
||||
Every stage must accept a budget without changing the truth model:
|
||||
|
||||
```text
|
||||
high budget:
|
||||
more node probes, more local candidates, richer shifts, deeper tree cut,
|
||||
better denoiser features
|
||||
|
||||
low budget:
|
||||
fewer probes, parent summaries, older but validated reservoirs, coarser
|
||||
domains, stronger reconstruction
|
||||
```
|
||||
|
||||
The frame target changes sample count, probe depth, candidate count, and
|
||||
reconstruction aggressiveness. It must not change who owns visibility,
|
||||
identity, support, or contribution mass.
|
||||
|
||||
## Immediate Cut Line
|
||||
|
||||
The live seven-lane GPU reservoir row can remain as an execution ABI only if it
|
||||
gains a first-class domain/sample-coordinate contract, either by adding a lane
|
||||
or by repacking an existing one deliberately. Without selected domain position
|
||||
and support, the row-stage rebuild is still a pixel reservoir wearing field
|
||||
language.
|
||||
|
||||
Do not tune occlusion thresholds as the next answer to noisy TubeField leakage.
|
||||
First make the selected sample's domain coordinates, support, and legal shift
|
||||
mapping visible in the reservoir state and debug views.
|
||||
|
||||
## Reference Anchors
|
||||
|
||||
- Area ReSTIR: https://graphics.cs.utah.edu/research/projects/area-restir/
|
||||
- Area ReSTIR code: https://github.com/guiqi134/Area-ReSTIR
|
||||
- ReSTIR DI: https://research.nvidia.com/labs/rtr/publication/bitterli2020spatiotemporal/
|
||||
- GRIS: https://research.nvidia.com/labs/rtr/publication/lin2022generalized/
|
||||
- Unreal TSR docs: https://dev.epicgames.com/documentation/unreal-engine/temporal-super-resolution-in-unreal-engine
|
||||
- Perfect Machine article: E:\Projects\gamecult-site\GameCult\Blog\perfect-machine-fractal-reservoir-architecture.md
|
||||
|
|
@ -31,6 +31,24 @@ Reference anchors:
|
|||
increases current-frame authority when history is untrustworthy; history
|
||||
sample count controls minimum current-frame contribution.
|
||||
https://dev.epicgames.com/documentation/unreal-engine/temporal-super-resolution-frequently-asked-questions-for-unreal-engine
|
||||
- Area ReSTIR: reservoir samples over pixel/lens/filter area domains must store
|
||||
selected sample coordinates and support, then reuse by overlap, shifting,
|
||||
visibility/PDF validation, and MIS/Jacobian accounting where required.
|
||||
https://graphics.cs.utah.edu/research/projects/area-restir/
|
||||
|
||||
## Higher-Level Reorientation
|
||||
|
||||
The rebuild target is not a better screen-space reservoir. The target is the
|
||||
fractal domain reservoir described by the Perfect Machine architecture:
|
||||
semantic field and radiance claims lower from DSL/producers into a dynamic
|
||||
contribution tree, are probed under bounded stochastic budgets, become
|
||||
reservoir proposals, and are then reprojected, pruned, shifted, resampled, and
|
||||
reconstructed every frame.
|
||||
|
||||
Per-pixel rows are an execution ABI for the current D3D12 resolve. They are not
|
||||
the foundation. Sampling must remain decoupled from output resolution: lower
|
||||
frame budgets reduce probes, node depth, candidate count, and reconstruction
|
||||
quality, but they do not move authority back to texels.
|
||||
|
||||
## Previous Failure
|
||||
|
||||
|
|
@ -139,3 +157,9 @@ old occluded tubes leak through nearby missed tube samples.
|
|||
and visibility cuts.
|
||||
12. Next: capture final color and row-3 debug views against the noisy/occlusion
|
||||
screenshot class and tune target/support policy from those diagnostics.
|
||||
13. Next: add or repack a domain/sample-coordinate lane. TubeField and SDF
|
||||
proposals must carry selected subpixel/domain coordinates plus support
|
||||
before temporal/spatial reuse is tuned further.
|
||||
14. Next: make debug modes expose selected domain sample position, support
|
||||
overlap, shift legality, and whether rejection came from support miss,
|
||||
occlusion/disocclusion, field mismatch, or invalid producer-domain mapping.
|
||||
|
|
|
|||
|
|
@ -61,6 +61,15 @@ belong to the shared spatiotemporal field reservoir.
|
|||
Sources:
|
||||
https://github.com/NVIDIA-RTX/RTXDI/blob/main/Doc/RestirGI.md
|
||||
https://github.com/NVIDIA-RTX/RTXDI/blob/main/Doc/RestirPT.md
|
||||
- Area ReSTIR is the missing area-domain reference. It stores the selected
|
||||
sample's actual pixel/lens coordinates and reuses history only when the
|
||||
previous sample lies in, or can be shifted into, the target support with valid
|
||||
target/PDF/visibility/Jacobian accounting. For Fensalir this generalizes to
|
||||
TubeField, SDF, mesh, volume, sensor, and fractal-domain support: selected
|
||||
domain coordinates are part of reservoir identity, not optional debug data.
|
||||
Sources:
|
||||
https://graphics.cs.utah.edu/research/projects/area-restir/
|
||||
https://github.com/guiqi134/Area-ReSTIR
|
||||
|
||||
## Fensalir Divergence
|
||||
|
||||
|
|
@ -87,6 +96,14 @@ becomes stable because a downstream pixel-history pass smears unstable pixels
|
|||
until they look acceptable, the field producer or reservoir validation is
|
||||
wrong.
|
||||
|
||||
The next divergence is more important: the reservoir is not fundamentally a
|
||||
screen-space texel structure. Texel rows are the current GPU execution surface.
|
||||
The actual reservoir domain is fractal and field-native: semantic claims lower
|
||||
through ownership trees, conservative summaries, stochastic contribution
|
||||
caches, and bounded proposals before a per-frame row projection exists. Pixel
|
||||
resolution is therefore a budget and resolve target, not the source of sampling
|
||||
truth.
|
||||
|
||||
## Pipeline Map
|
||||
|
||||
```text
|
||||
|
|
@ -114,6 +131,17 @@ producer observations
|
|||
- selected sample target value;
|
||||
- final contribution weight `weightSum / (candidateCount * selectedTarget)`.
|
||||
|
||||
The sample type owns selected domain identity:
|
||||
|
||||
- domain key and producer kind;
|
||||
- selected coordinate inside the domain, including subpixel or local support
|
||||
coordinates when the producer has area support;
|
||||
- support/filter footprint and conservative bounds;
|
||||
- legal shift/reconnection metadata needed by temporal and spatial reuse.
|
||||
|
||||
If those values are absent, the reservoir cannot prove area-domain reuse. It
|
||||
may still be a useful cache, but it is not the Perfect Machine reservoir.
|
||||
|
||||
Candidate generators own proposal distributions. A fractal renderer may propose
|
||||
form probe candidates from projected error, node bounds, blue-noise screen
|
||||
tiles, or resident children. Mimir may propose visual/audio feature candidates
|
||||
|
|
@ -236,6 +264,11 @@ LOD pressure, or route oversized fields through the reservoir path.
|
|||
- Reservoir math is a pure, testable core before it becomes HLSL.
|
||||
- A reservoir is not a dictionary of tracks. A track layer may use reservoirs,
|
||||
but it does not replace candidate resampling.
|
||||
- A reservoir is not a texel dictionary either. Pixel rows are row-stage
|
||||
projections of selected domain evidence; they do not define the native
|
||||
sampling domain.
|
||||
- Selected sample coordinates and support are part of reservoir identity for
|
||||
any area, tube, SDF, volume, sensor, or fractal-domain contributor.
|
||||
- Reuse is invalid until a pass proves the shift/validation contract for the
|
||||
source and target domains.
|
||||
- Conservative bounds remain the safety authority. Learned or stochastic
|
||||
|
|
|
|||
Loading…
Reference in a new issue