From 9ffacbd867863ed4ccd5f47bcc9130082a6c2d72 Mon Sep 17 00:00:00 2001 From: chasse20 Date: Sun, 22 Nov 2026 10:46:40 -0500 Subject: [PATCH] Verify sphere displacement with rectangular height fields --- docs/parity-fixes.md | 24 ++++++++++++++++++++++++ docs/sbs-root-nodes.md | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 2bc0cc69..85a2e078 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -715,6 +715,30 @@ Add the following original procedural settings. Render U16 and F32 at each size All 442 release tests in the node and evaluator crates passed, along with formatting, strict workspace Clippy, dependency layers and WebAssembly. +### Sphere displacement on rectangular height fields + +Sphere Displace matches 157,952/157,952 RGBA pixels in 31 distinct settings on one and eight processors. Nine MaterialCraft saves reproduce 29,184/29,184 pixels when reopened in both applications and compared across applications. The maximum stored-channel error is zero for each output format. + +| Root and comparison | U8 exact / total · max | U16 exact / total · max | F16 exact / total · max | F32 exact / total · max | +|---|---:|---:|---:|---:| +| One or eight processors | 7,680/7,680 · 0 | 125,440/125,440 · 0 | 9,728/9,728 · 0 | 15,104/15,104 · 0 | +| Saved files | 4,608/4,608 · 0 | 18,432/18,432 · 0 | 2,048/2,048 · 0 | 4,096/4,096 · 0 | + +Repeat the 19 earlier settings with the original procedural height fields. The fresh one-processor capture reproduces all 142,592 archived pixels. At 32², seed 113, use the independent gray field, size .7, displacement .2, UV offset (.125,.25) and eight samples. The release before the pixel-subtraction and singular-coordinate corrections matched 1,022/1,024 F32 pixels, maximum 1.52587891e-05. The following release matched 1,024/1,024. With all other settings held at seed 113, replacing only the 32² input with constant gray bytes 0, 63 or 191 gives 3,072/3,072 exact pixels in both releases. Restoring the varying field reproduces both differences in the earlier release. The eight other constant-field settings below also match 8,704/8,704 pixels in both releases. The separate selected-product and texture-coordinate regressions cover the two changes in this release. [Earlier whole-root and stage comparisons](#tile-weave-splatter-and-fiber-stage-comparisons) · [Arithmetic and sampler controls](#pixel-subtraction-and-texture-coordinates-at-the-panorama-equator) + +For the constant controls keep the 32² independent settings above and use (width, height, gray byte, samples) of (32,32,0,8), (32,32,0,3), (32,16,0,5), (16,32,0,7), (32,32,63,3), (16,32,131,7), (64,32,0,9) and (64,32,191,9). Use seed 240283 plus 17 times the zero-based row number. Render RGBA F32. + +For the additional whole-root settings, generate one grayscale byte per texel as `(13x + 29y + 5xy + 31j) mod 256` at the output dimensions in row j. Render U16 and F32 for every row and add U8 and F16 for rows 1 and 2. + +| Row | Size | Seed | Sphere size | Displacement | UV scale | UV offset | Tilt | Samples | +|---:|---|---:|---:|---:|---|---|---|---:| +| 0 | 16 × 32 | 238011 | Default | Default | Default | Default | Default | Default | +| 1 | 32 × 16 | 235527 | 0.875 | 0.125 | (1.25, 0.75) | (0.125, -0.25) | On | 3 | +| 2 | 64 × 32 | 235573 | 0.6875 | 0.375 | (0.75, 1.625) | (-0.1875, 0.3125) | Off | 7 | +| 3 | 32 × 64 | 235595 | 1.0 | 0.0 | (1.0, 1.0) | (0.0, 0.0) | On | 2 | + +Save the first, sixth, eleventh and sixteenth retained settings and the new F32, U8, U16 and F16, and F32 cases in row order. All 442 release tests in the node and evaluator crates passed, along with formatting, strict workspace Clippy, dependency layers and WebAssembly. + ## 2026-11-21 root comparisons ### Connected quadrant depth and amplified spot patterns diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index b373f6e1..22586e3a 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -35,7 +35,7 @@ A graph may accept input pins and still be a root under the dependency criterion Statuses: **Not checked**, **In progress**, **Parity** (exact pixels or typed values for the linked measured cases), or **Too hard** (reason recorded). Function calls do not count as regular graph dependencies. -The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard**. The current inventory has **464 Parity**, **82 In progress** and **0 Too hard**. The November 17–22 comparisons include raw counts, output formats and remaining differences. [November 17 measurements](parity-fixes.md#2026-11-17-root-comparisons) · [November 18 measurements](parity-fixes.md#2026-11-18-root-comparisons) · [November 19 measurements](parity-fixes.md#2026-11-19-root-comparisons) · [November 20 measurements](parity-fixes.md#2026-11-20-root-comparisons) · [November 21 measurements](parity-fixes.md#2026-11-21-root-comparisons) · [November 22 measurements](parity-fixes.md#2026-11-22-root-comparisons) +The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard**. The current inventory has **465 Parity**, **81 In progress** and **0 Too hard**. The November 17–22 comparisons include raw counts, output formats and remaining differences. [November 17 measurements](parity-fixes.md#2026-11-17-root-comparisons) · [November 18 measurements](parity-fixes.md#2026-11-18-root-comparisons) · [November 19 measurements](parity-fixes.md#2026-11-19-root-comparisons) · [November 20 measurements](parity-fixes.md#2026-11-20-root-comparisons) · [November 21 measurements](parity-fixes.md#2026-11-21-root-comparisons) · [November 22 measurements](parity-fixes.md#2026-11-22-root-comparisons) [Pattern tiling axes and copy bounds across 215 renders](parity-fixes.md#tiling-axes-and-pattern-copy-bounds) · [Grayscale sampler measurements](parity-fixes.md#grayscale-sampling-of-color-inputs) · [Value sampling across 240 typed comparisons](parity-fixes.md#value-processor-texture-filtering) · [Five saved graphs reopened in the reference](parity-fixes.md#saved-filter-graphs-and-scalar-levels-controls) @@ -539,7 +539,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [pbr_render_ortho.sbs/ibl_shadow_pass](../assets/sbs/pbr_render_ortho.sbs) | 3 | Yes | [Parity · 151,040 exact pixels in 27 renders](parity-fixes.md#shared-lookups-and-environment-shadow-pass) | | [pbr_render_ortho.sbs/mipmap_generator](../assets/sbs/pbr_render_ortho.sbs) | 1 | Yes | [Parity · 171,264 exact pixels in 18 renders](parity-fixes.md#centered-transform-resizing-and-untiled-edges) | | [pbr_render_ortho.sbs/rotate_environment](../assets/sbs/pbr_render_ortho.sbs) | 1 | Yes | [Parity · 18 renders, all 171,264 RGBA pixels exact](parity-fixes.md#environment-rotation-and-wired-irradiance-samples) | -| [pbr_render_ortho.sbs/sphere_displace](../assets/sbs/pbr_render_ortho.sbs) | 1 | Yes | [In progress · 142,163/142,592 whole pixels, first differing stages measured](parity-fixes.md#tile-weave-splatter-and-fiber-stage-comparisons) | +| [pbr_render_ortho.sbs/sphere_displace](../assets/sbs/pbr_render_ortho.sbs) | 1 | Yes | [Parity · 31/31 settings and 157,952/157,952 pixels on each processor count, 9 exact saves](parity-fixes.md#sphere-displacement-on-rectangular-height-fields) · [Earlier sphere comparisons](parity-fixes.md#tile-weave-splatter-and-fiber-stage-comparisons) | | [pbr_render_ortho.sbs/vector_shadow_pass](../assets/sbs/pbr_render_ortho.sbs) | 4 | Yes | [Parity · 28 cases, 211,456 exact pixels](parity-fixes.md#large-transform-offsets-and-additive-blends) | | [perlin_noise_zoom.sbs/perlin_noise_zoom](../assets/sbs/perlin_noise_zoom.sbs) | 0 | Yes | [Parity · 332,032/332,032 pixels across 39 distinct settings](parity-fixes.md#reopened-perlin-scratches-shape-and-weave-generators) · [Earlier measurements](parity-fixes.md#tile-weave-splatter-and-fiber-stage-comparisons) | | [pow.sbs/pow](../assets/sbs/pow.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) |