Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1013,3 +1013,8 @@ To go back: restore `pnpm-workspace.yaml` and `pnpm install --offline` (or onlin
`node bench/references/render.ts --scenes <scene> --renderers pbrt,mitsuba --spp 4096` (pbrt 30 s, Mitsuba 220 s for the smoke at load 60) and `git checkout` the sidecars it rewrites (dates only).
A worktree has no `.cache/native`: make the directory and symlink `pbrt-v4` and `mitsuba-venv` from the main checkout (the work directories are then created in the worktree).

- Resource table (P1.4c2a, V346): Dawn (Chrome 157, D3D12 and Vulkan) refuses in `table.insert()` a view whose texture usages are not EXACTLY TEXTURE_BINDING, as an UNCAPTURED validation error: insert still
returns the index, the slot stays empty and `getResource` reads the default black texture (GPU mips add RENDER_ATTACHMENT / STORAGE_BINDING: every textured surface rendered black). Insert views made with
`createView({ ..., usage: TEXTURE_BINDING })`, and wrap any new table code in an error scope while developing. A lookup test built with CPU mips cannot see it (`bindless-check check=render mips=cpu` vs default).
- Windows sweep: `vbuffer-check` and `wf-p5-check` 404 on a fresh worktree until `node bench/assets/fetch.ts` + `node bench/adapters/export-scenes.ts MetalRoughSpheres DispersionTest-notex`; on the 3060 `vbuffer-check`
takes ~21 min and `restir-check` ~13 min (`--timeout 1800000`). wf-p5-check's per-channel `pixels_over_tol` is nonzero by design (cornell 34, swatches-refl 307): judge `relpx_over_tol` / `relpx_max`.
1 change: 1 addition & 0 deletions DIVERGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,5 @@ why, so each one can be revisited later. One row per divergence. Kinds: **platfo
| V342 | 2026-11-24 | Blender Cycles `shade_volume.h` (heterogeneous equiangular; Apache-2.0, ideas only, no code) | V4.4 `volumes.forcedGrid`: one-sample MIS over CLOSED-FORM distance proposals (the majorant's truncated exponential + equiangular, as V4.1 / V4.2) with sigma_s(t) x a ratio-tracked T(0, t) on a forked stream, instead of MIS between the real tracked collision and the equiangular point through null-scattering path pdfs; the grid segment's real collisions skip their NEE. | Simplification: no tracked-distance pdf, reuses the V4.1 sampler and the stream protocol unchanged; unbiased because E[sigma_s T_hat Ld | t] = sigma_s(t) T(0, t) Ld(t). |
| V343 | 2026-11-26 | Pharr, Wronski, Salvi, Fajardo 2024 (stochastic texture filtering, Listing 1 / S.1: one uniform reused across the axes by rescaling); Wronski, Pharr, Akenine-Moller 2025 (texel sharing between wave lanes) | `volumes.densityFilter: 'stochastic'` (V7.6): stochastic trilinear density, one texel per lookup. Differences: THREE draws from the tracking stream (one per axis) instead of one rescaled uniform; zero outside the grid without a read; no texel sharing between lanes; no tricubic. | Simplification (independent 24-bit draws keep each axis' probability exact to 2^-24 with no division by a small fraction, and need no change to the megakernel / wavefront stream protocol; the two saved PCG steps were not measured). Sharing: the 2025 paper's own supplement reports block artifacts for ray-marched volumes, and our lanes are not neighbouring pixels after the first vertex. |
| V345 | 2026-11-30 | Our own dense grid lookup and brick DDA (`ptVolDensity`, `ptDdaInit` / `ptDdaNext`, V3.2 / P5.v6) | `volumes.gridSource: 'nanovdb'` (VDB-P1.7) replaces both with `@pmndrs/vdb`'s WGSL (`vdbSample`, `vdbMajorantInit` / `vdbMajorantNext`) over the same voxels and the same cells. Two differences per path: the pool's walk never returns a zero-length segment at a cell corner (ours can, and `ptVolSampleBrick` / `ptVolTrBrick` stop on one), and the NanoVDB reader adds the eight taps in another order. Images are therefore not bit-equal to the dense kernel (77-86% of pixels are; relMSE 1e-15 to 1e-6 at equal seeds). The accessor was created per lookup in the first build; since pmndrs/vdb P1.16 (2026-11-30) the kernels keep one per ray segment, made at its first lookup, and the module caches the lower node (`cache: 'lower'`): the same values, images bit-identical to the first build's. | simplification / sibling | the timing A/B of the reader options (quiet pass, VDB-P1.10); cache `'lowerLeaf'` once VDB-P1.14 is understood |
| V346 | 2026-12-02 | gpuweb bindless proposal (table entries are `readonly` by default, any texture usage) | The resource table gets its own views of the texture arrays, created with `usage: TEXTURE_BINDING` (`uploadSceneTextures`); the bind-group path keeps the full-usage views | bug-workaround | Dawn in Chrome 157 (D3D12 and Vulkan, also dawn.node) rejects in `ResourceTable.insert()` any view whose usages are not exactly TEXTURE_BINDING, as an uncaptured validation error: insert still returns the index and `getResource` reads the default black texture. GPU mips (D34) add RENDER_ATTACHMENT / STORAGE_BINDING, so every textured surface of a `table` megakernel rendered black on the RTX 3060 and the Intel UHD (tex-checker mean 0.16 vs 0.56; the lookup check, built with CPU mips, passed). Restricted views: tex-checker / tex-mask per-pixel identical to arrays on Chrome D3D12 (NVIDIA, Intel), dawn.node Vulkan and D3D12. Drop when Dawn follows the proposal's usage rule |
| V344 | 2026-11-26 | pmndrs/upscaler defaults (`RuntimeSettings.autoExposure` on) | The NRC / Classroom chain (`nrc-pipeline`, hero) runs the temporal upscaler with `autoExposure: false`, `exposure: 1` (page control **Auto pre-exposure**, `?upAutoExposure=1` for the sibling's default). | Quality. On a dim interior (mean luminance 0.12) the metered pre-exposure lifts the image so the brightest denoised pixels (10-20) sit at the top of the upscaler's invertible tonemap, where its Catmull-Rom history resample overshoots and `tonemapInvert` turns that into values up to 139 while the camera moves (17 hot pixels per 1920 x 1080 frame, both arms; 0 and max 11 with it off; nothing with a still camera either way). Sharpness 0, locks off and shading-change detection off do not remove it; history 4 nearly does. Off also darkens less against the denoised frame (-4% vs -6..7%; N11.5). Numbers: TASKS N11.11; `bench/hero/README.md` "Bright specks while moving". The cause is in the sibling (unclamped bicubic history in tonemapped space): report there. |
Loading