diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index ca302d5..c0c30f4 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -372,6 +372,8 @@ For each of these seven generators isolate a shortest connected path from the pa The two original cloud graphs and both crystal graphs produce bit-exact downstream outputs with original procedural fields substituted for all source generators, **87,040/87,040 pixels in 40 renders**, maximum error zero. The v2 packages draw into the preceding stage. In noise_clouds_1_v2 two independent captures used the same field in place of the first generator and retained the final generator. Those captures matched 8,174/9,472 and 8,163/9,472 whole pixels. Both reached the execution limit at seven settings. The maximum errors were .00048828125 F16 and .00000234693289 F32. See also the [gradient warp measurements for Crystal 2](#gradient-warp-displacement-and-sampling). +For noise_clouds_2_v2, replace its first or second pattern stage with the original field at that stage’s resolution and precision. The two comparable sets match 8,348/9,472 and 8,352/9,472 pixels, with seven execution-limit settings in each set. F32 maxima are .000000834465027 in both sets. F16 maxima are .0001220703125 and .000244140625. + Use the archive, four-format and independent cases, then the ten [spots scale, resolution and field controls](#bnw-spots-3-and-cells-1-pattern-sources) with inventory indices 244, 245, 246, 247, 249 and 250 in table order. The reference produced all 114 whole outputs. The two missing local outputs for noise_clouds_1 are the scale-five rectangular cases. For each v2 cloud graph the scale-three and scale-five settings reached the execution limit. Isolate the shortest connected path from the pattern root to a drawing quadrant in each of the 13 source stages. Keep the original Iterate and Switch controls, disconnect image inputs, and omit the 64² render from the ten new cases. Each solid square and each disc matched every compared pixel. The authored profile retains the following differences across the same paths. @@ -401,6 +403,48 @@ Use an Iterate with zero repeats. In its count expression set a Float4 variable The child retained its initial color for property writes in blend mode, image filter, premultiplication, seed inheritance and pattern type on all three kinds of parent. Some local children still see those assignments. Independent single-stamp controls confirm that literal, computed-constant and exposed-variable settings choose the same reference draw in 33,280/33,280 pixels across 78 comparisons against 39 literal renders. The 19 previously verified pattern roots match 3,211,776/3,211,776 pixels in 159 renders. +### Directional noise and scratch pattern sources + +The ten directional generators produced **135 comparable whole outputs across 190 cases**. The reference produced all 190. The other 55 local evaluations reached the pattern execution limit. Integer errors below are stored levels. A missing error value indicates an unavailable image. + +| Root package | Whole outputs compared / attempted | Exact pixels / compared | Maximum U8 / U16 / F16 / F32 error | +|---|---:|---:|---| +| noise_directional_noise_1 | 19/19 | 136,222/144,640 | 1 / 2 / 0.00048828125 / 4.19616699e-05 | +| noise_directional_noise_1_v2 | 18/19 | 133,251/142,592 | 1 / 1 / 0.00048828125 / 4.15444374e-05 | +| noise_directional_noise_2 | 11/19 | 103,497/107,776 | 0 / 4 / 0.00048828125 / 1.06692314e-05 | +| noise_directional_noise_2_v2 | 11/19 | 105,116/107,776 | 1 / 1 / 0.000244140625 / 1.57654285e-05 | +| noise_directional_noise_3 | 0/19 | No comparable image | — / — / — / — | +| noise_directional_noise_3_v2 | 0/19 | No comparable image | — / — / — / — | +| noise_directional_noise_4 | 19/19 | 134,015/144,640 | 0 / 1 / 0.00048828125 / 6.67572021e-06 | +| noise_directional_noise_4_v2 | 19/19 | 134,664/144,640 | 1 / 1 / 0.00048828125 / 4.76837158e-06 | +| noise_directional_scratches | 19/19 | 119,970/144,640 | 1 / 1 / 0.00048828125 / 2.37524509e-05 | +| noise_directional_scratches_v2 | 19/19 | 137,786/144,640 | 1 / 1 / 0.000244140625 / 2.8796494e-05 | + +Use the four archived defaults, seed and changed cases, the [four-format sweep and independent seed](#four-format-inventory-comparison), and ten stage-instrumented renders. For the latter, seed j is 100537+13i plus [0,1,2,2,2,2,6,7,8,9], with i = 251 through 260 in table order. Start at 16² F32 with defaults. Use A at 32² F32, B at 32² in U8/U16/F16/F32, C at 64×32 F32, B at 32×64 U16, D at 32² F32 and A at 64×32 F16. + +| Exposed controls | A | B | C | D | +|---|---|---|---|---| +| Scale, disorder, expand nonsquare, angle, angle random | 1, 0, on, 0, 0 | 1, .3125, off, .15625, .21875 | 2, .6875, on, −.21875, .40625 | 3, .125, off, .375, .03125 | +| v2 speed, anisotropy, anisotropy angle, tile offset | 1, 0, 0, (0,0) | .6875, .25, .3125, (.125,−.1875) | 1.4375, .625, −.21875, (−.3125,.4375) | .875, .125, .15625, (−.0625,.125) | +| Scratch amount, size, size random | 1, (.5,20), (0,0) | .5625, (.6875,3.25), (.0625,.21875) | .8125, (1.25,7.5), (.15625,.3125) | .375, (.375,1.75), (.03125,.09375) | + +For each of the 19 source stages, isolate the shortest connected path to a drawing quadrant, retain its original controls and clear the stage background. Repeat for a square and disc, skipping the 32² D case. All **146,520/146,520 square pixels** and **146,520/146,520 disc pixels** match across 171 renders per shape. The authored wave and directional profiles retain differences on these same paths. + +| Root package | Authored shape number | Exact square or disc pixels per shape | Authored profile exact / compared | Maximum U8 / U16 / F16 / F32 profile error | +|---|---:|---:|---:|---| +| noise_directional_noise_1 | 11 | 34,560 | 30,657/34,560 | 0 / 1 / 3.05175781e-05 / 2.33855098e-06 | +| noise_directional_noise_1_v2 | 11 | 15,120 | 14,847/15,120 | 0 / 1 / 5.96046448e-08 / 4.270114e-07 | +| noise_directional_noise_2 | 11 | 11,520 | 7,926/11,520 | 0 / 1 / 6.10351562e-05 / 1.34110451e-06 | +| noise_directional_noise_2_v2 | 11 | 14,400 | 13,476/14,400 | 0 / 1 / 1.52587891e-05 / 9.83476639e-07 | +| noise_directional_noise_3 | 11 | 12,420 | 12,336/12,420 | 0 / 0 / 1.90734863e-06 / 1.1920929e-07 | +| noise_directional_noise_3_v2 | 11 | 12,420 | 12,345/12,420 | 0 / 0 / 0 / 2.51457095e-07 | +| noise_directional_noise_4 | 6 | 11,520 | 11,485/11,520 | 0 / 0 / 0 / 8.34465027e-07 | +| noise_directional_noise_4_v2 | 6 | 11,520 | 11,462/11,520 | 0 / 0 / 0 / 4.76837158e-07 | +| noise_directional_scratches | 16 | 11,520 | 11,515/11,520 | 0 / 0 / 0 / 1.51991844e-06 | +| noise_directional_scratches_v2 | 16 | 11,520 | 11,479/11,520 | 0 / 0 / 0 / 3.03983688e-06 | + +At 32² and scale one, noise_directional_noise_3 completes its 4² and 8² sources before its 32² source reaches the traversal limit. Replace all three source generators with the [original grayscale fields](#bnw-spots-3-and-cells-1-pattern-sources) at each source's measured size and precision. The remaining two blends and Levels match 12,544/12,544 pixels over the ten new cases, maximum zero. The same substitution in noise_directional_noise_1 also matches 12,544/12,544. In noise_directional_noise_1_v2, retaining the two later generators or just the terminal generator gives 7,067/10,496 and 7,001/10,496 pixels respectively. Each substitution reaches the execution limit at 64×32, scale two. The respective F32 maxima are .0000418424606 and .0000414848328. Both have maxima of zero U8, one U16 level and .00048828125 F16. + ### Pattern expression variables and cook time Pattern expressions now read inherited graph variables from the active context. Each expression stores its local writes and passes explicit assignments to the next expression. A general evaluation still returns the complete variable environment. In two release runs in opposite order, raw outputs matched between builds on all five successful controls, **17,024/17,024 captured pixels per run**, maximum error zero. A sixth control reached the same execution limit and produced the same intermediate data. The independent reference comparisons on 19 previously verified roots matched 3,211,776/3,211,776 pixels in 159 renders. diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index c4a5733..f6eb723 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 **367 Parity**, **100 In progress** and **79 Too hard**. The November 17–19 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) +The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard**. The current inventory has **367 Parity**, **110 In progress** and **69 Too hard**. The November 17–19 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) [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) @@ -316,16 +316,16 @@ Reading inherited variables directly reduced cook time on six Dirt 1 and BNW Spo | [noise_creased.sbs/creased](../assets/sbs/noise_creased.sbs) | 0 | No | [In progress · 37,716/132,096 pixels across 9 renders](parity-fixes.md#directional-and-additive-stamp-profiles) | | [noise_crystal_1.sbs/crystal_1](../assets/sbs/noise_crystal_1.sbs) | 0 | No | [In progress · 151,000/153,856 pixels in 19 renders](parity-fixes.md#cloud-and-crystal-pattern-sources-across-scales) | | [noise_crystal_2.sbs/crystal_2](../assets/sbs/noise_crystal_2.sbs) | 0 | No | [In progress · 152,713/153,856 pixels in 19 renders](parity-fixes.md#cloud-and-crystal-pattern-sources-across-scales) | -| [noise_directional_noise_1.sbs/directional_noise_1](../assets/sbs/noise_directional_noise_1.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_1_v2.sbs/directional_noise_1](../assets/sbs/noise_directional_noise_1_v2.sbs) | 0 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_2.sbs/directional_noise_2](../assets/sbs/noise_directional_noise_2.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_2_v2.sbs/directional_noise_2](../assets/sbs/noise_directional_noise_2_v2.sbs) | 0 | No | [Too hard: measurement timeout](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_3.sbs/directional_noise_3](../assets/sbs/noise_directional_noise_3.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_3_v2.sbs/directional_noise_3](../assets/sbs/noise_directional_noise_3_v2.sbs) | 0 | No | [Too hard: measurement timeout](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_4.sbs/directional_noise_4](../assets/sbs/noise_directional_noise_4.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_noise_4_v2.sbs/directional_noise_4](../assets/sbs/noise_directional_noise_4_v2.sbs) | 0 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_scratches.sbs/directional_scratches](../assets/sbs/noise_directional_scratches.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [noise_directional_scratches_v2.sbs/directional_scratches](../assets/sbs/noise_directional_scratches_v2.sbs) | 0 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | +| [noise_directional_noise_1.sbs/directional_noise_1](../assets/sbs/noise_directional_noise_1.sbs) | 0 | Yes | [In progress · 136,222/144,640 pixels in 19 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_1_v2.sbs/directional_noise_1](../assets/sbs/noise_directional_noise_1_v2.sbs) | 0 | No | [In progress · 133,251/142,592 pixels in 18 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_2.sbs/directional_noise_2](../assets/sbs/noise_directional_noise_2.sbs) | 0 | Yes | [In progress · 103,497/107,776 pixels in 11 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_2_v2.sbs/directional_noise_2](../assets/sbs/noise_directional_noise_2_v2.sbs) | 0 | No | [In progress · 105,116/107,776 pixels in 11 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_3.sbs/directional_noise_3](../assets/sbs/noise_directional_noise_3.sbs) | 0 | Yes | [In progress · all 19 whole cases hit the execution limit, isolated stages measured](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_3_v2.sbs/directional_noise_3](../assets/sbs/noise_directional_noise_3_v2.sbs) | 0 | No | [In progress · all 19 whole cases hit the execution limit, isolated stages measured](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_4.sbs/directional_noise_4](../assets/sbs/noise_directional_noise_4.sbs) | 0 | Yes | [In progress · 134,015/144,640 pixels in 19 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_4_v2.sbs/directional_noise_4](../assets/sbs/noise_directional_noise_4_v2.sbs) | 0 | No | [In progress · 134,664/144,640 pixels in 19 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_scratches.sbs/directional_scratches](../assets/sbs/noise_directional_scratches.sbs) | 0 | Yes | [In progress · 119,970/144,640 pixels in 19 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_scratches_v2.sbs/directional_scratches](../assets/sbs/noise_directional_scratches_v2.sbs) | 0 | No | [In progress · 137,786/144,640 pixels in 19 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | | [noise_dirt_1.sbs/dirt_1](../assets/sbs/noise_dirt_1.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | | [noise_dirt_1_v2.sbs/dirt_1](../assets/sbs/noise_dirt_1_v2.sbs) | 0 | No | [Too hard: measurement timeout](parity-fixes.md#remaining-differences) | | [noise_dirt_2.sbs/dirt_2](../assets/sbs/noise_dirt_2.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |