Isolate rectangular blur discrepancies to three measured weights

This commit is contained in:
chasse20 committed 2026-11-21 11:57:33 -05:00
1 parent 32e1beb1db
commit 2790f4c46e
2 files changed
+17 -2

No files matched your search

+15
View File
@@ -1315,6 +1315,21 @@ Grayscale Splatter matched **403,712/403,712** pixels across 93 distinct setting
The color Splatter and Weave 2 control roots retained their earlier perfect counts. Pattern Weave 2 retained its 351 differing pixels across 95 settings. Formatting, 401 release tests across the evaluator and node crates, strict workspace Clippy, dependency layers and WebAssembly passed.
### Three measured taps reproduce the rectangular directional blur outputs
Extend the [96-angle rectangular experiment](#independent-rectangular-directional-weights-at-96-angles) with 48 new F32 angles. Use the same two sizes (16 × 64 and 64 × 16), original red column and green row impulses, modular blue field, and five extents. Start with 0.046875, 0.0791015625, 0.203125, 0.4608612060546875, 0.7427520751953125, 1.4530487060546875 turns. For each center, change its positive F32 bit pattern by −5, −2, −1, +1, +2 and +5, in order. Then for each center add half a turn in F32 and change that result by −1 and +1 representable values. Use batches of 16 angles and seed 824091 + 17b + 5j + r, where b is the batch, j the size and r the extent, all indexed from zero.
For each branch and extent, read the center and both adjacent weights from the impulse on the longer axis. Predict the entire raw output from the original input. Multiply the next texel by the weight measured one pixel before the impulse. Fuse the center multiply and addition, then fuse the previous texel multiply and addition using the weight measured one pixel after the impulse. Each operation stores an F32 result. The blue values used for this check are independent of all three measured weights. Count a pixel only when every stored channel agrees.
| Original angles | Branch renders | MaterialCraft exact / compared | Maximum F32 error | Exact using measured weights | Exact with taps reversed |
|---|---:|---:|---:|---:|---:|
| 96 | 960 | 943,932/983,040 | 1.78813934e-07 | 983,040/983,040 | 696,407/983,040 |
| 48 | 480 | 455,107/491,520 | 1.1920929e-07 | 491,520/491,520 | 346,645/491,520 |
The three measured weights reproduce all 1,474,560 pixels with maximum error zero. Across the 48 new angles, the current projection satisfies the rounding bounds for 84/96 axes. On every axis, at least one F32 direction component satisfies the observations at all five extents. This isolates the short axial discrepancy to the calculation of the weights.
Save the three new graphs in MaterialCraft and reopen them in both applications. Repeat both sizes at projected extents .3125 and 1. Each application reproduced all **196,608/196,608** pixels of its original renders. Across applications the 192 reopened branch renders matched **184,755/196,608**, maximum 1.1920929e-07. Both HQ blur roots remain in progress on their [78 whole-root settings](#directional-blur-weights-across-110-angles-and-two-projection-axes).
## 2026-11-20 root comparisons
### Hue, saturation, lightness and Replace Color
+2 -2
View File
@@ -172,8 +172,8 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
| [blend_switch.sbs/multi_switch_grayscale](../assets/sbs/blend_switch.sbs) | 20 | No | [Parity: 5 cases](parity-fixes.md#verified-cases) |
| [blend_switch.sbs/switch](../assets/sbs/blend_switch.sbs) | 2 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) |
| [blend_switch.sbs/switch_grayscale](../assets/sbs/blend_switch.sbs) | 2 | No | [Parity: 6 cases](parity-fixes.md#verified-cases) |
| [blur_hq.sbs/blur_hq](../assets/sbs/blur_hq.sbs) | 1 | No | [In progress · 3,660,410/3,661,056 pixels across 78 distinct settings](parity-fixes.md#directional-blur-weights-across-110-angles-and-two-projection-axes) · [Earlier whole-root and sample comparisons](parity-fixes.md#direction-and-sample-coordinates-of-long-oblique-blurs) · [Three-tap and eighth-turn probes](parity-fixes.md#projected-weights-and-tap-order-in-short-directional-blurs) · [Independent oblique sampling controls](parity-fixes.md#isolated-sample-coordinates-in-the-two-hq-blur-roots) · [96-angle originals and reopened graphs](parity-fixes.md#independent-rectangular-directional-weights-at-96-angles) |
| [blur_hq.sbs/blur_hq_grayscale](../assets/sbs/blur_hq.sbs) | 1 | No | [In progress · 3,660,926/3,661,056 pixels across 78 distinct settings](parity-fixes.md#directional-blur-weights-across-110-angles-and-two-projection-axes) · [Earlier whole-root and sample comparisons](parity-fixes.md#direction-and-sample-coordinates-of-long-oblique-blurs) · [Three-tap and eighth-turn probes](parity-fixes.md#projected-weights-and-tap-order-in-short-directional-blurs) · [Independent oblique sampling controls](parity-fixes.md#isolated-sample-coordinates-in-the-two-hq-blur-roots) · [96-angle originals and reopened graphs](parity-fixes.md#independent-rectangular-directional-weights-at-96-angles) |
| [blur_hq.sbs/blur_hq](../assets/sbs/blur_hq.sbs) | 1 | No | [In progress · 3,660,410/3,661,056 pixels across 78 distinct settings](parity-fixes.md#directional-blur-weights-across-110-angles-and-two-projection-axes) · [Earlier whole-root and sample comparisons](parity-fixes.md#direction-and-sample-coordinates-of-long-oblique-blurs) · [Three-tap and eighth-turn probes](parity-fixes.md#projected-weights-and-tap-order-in-short-directional-blurs) · [Independent oblique sampling controls](parity-fixes.md#isolated-sample-coordinates-in-the-two-hq-blur-roots) · [96-angle originals and reopened graphs](parity-fixes.md#independent-rectangular-directional-weights-at-96-angles) · [Tap order and impulse weights over 1,440 branch renders](parity-fixes.md#three-measured-taps-reproduce-the-rectangular-directional-blur-outputs) |
| [blur_hq.sbs/blur_hq_grayscale](../assets/sbs/blur_hq.sbs) | 1 | No | [In progress · 3,660,926/3,661,056 pixels across 78 distinct settings](parity-fixes.md#directional-blur-weights-across-110-angles-and-two-projection-axes) · [Earlier whole-root and sample comparisons](parity-fixes.md#direction-and-sample-coordinates-of-long-oblique-blurs) · [Three-tap and eighth-turn probes](parity-fixes.md#projected-weights-and-tap-order-in-short-directional-blurs) · [Independent oblique sampling controls](parity-fixes.md#isolated-sample-coordinates-in-the-two-hq-blur-roots) · [96-angle originals and reopened graphs](parity-fixes.md#independent-rectangular-directional-weights-at-96-angles) · [Tap order and impulse weights over 1,440 branch renders](parity-fixes.md#three-measured-taps-reproduce-the-rectangular-directional-blur-outputs) |
| [bnw_spots_1.sbs/bnw_spots_1](../assets/sbs/bnw_spots_1.sbs) | 0 | Yes | [In progress · 3,177,940/3,177,984 pixels across 125 settings](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) · [64,000/64,000 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Circular stamp and opacity controls](parity-fixes.md#circular-stamp-coverage-and-zero-stamp-opacity) · [One U16 texel accounts for nine default output pixels](parity-fixes.md#one-differing-generator-texel-in-the-basic-spots-root) · [27 generator repeats and held-out pixel predictions](parity-fixes.md#variation-in-the-order-of-additions-in-the-basic-spots-generator) |
| [bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/bnw_spots_3.sbs) | 0 | Yes | [Parity · 118 settings, 3,159,552/3,159,552 final pixels](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) · [27,136/27,136 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Circular stamp and opacity controls](parity-fixes.md#circular-stamp-coverage-and-zero-stamp-opacity) · [Intermediate recheck](parity-fixes.md#interpolated-coordinates-on-clipped-squares-and-quarter-turns) |
| [brick_1.sbs/brick_1](../assets/sbs/brick_1.sbs) | 0 | Yes | [Parity · 131 renders, 3,194,368/3,194,368 pixels](parity-fixes.md#fractional-stamp-vertices-and-the-last-covered-pixel) · [64,000/64,000 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Earlier generator settings](parity-fixes.md#square-and-rectangular-pattern-generators) |