From 8c4bc99422b09b6a56aae18e2bb511f383c2fabd Mon Sep 17 00:00:00 2001 From: chasse20 Date: Sun, 22 Nov 2026 15:17:35 -0500 Subject: [PATCH] Measure all sixty gradient settings after fixing nested iteration --- docs/parity-fixes.md | 52 ++++++++++++++++++++++++++++++++++++++++++ docs/sbs-root-nodes.md | 2 +- 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 6d797914..49a60190 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -6029,6 +6029,58 @@ Where there are downstream stages, replace the source patterns with the same ori | noise_perlin_noise | 10,496/10,496 | 0 / 0 / 0 / 0 | | noise_plasma | 10,496/10,496 | 0 / 0 / 0 / 0 | +### Sixty whole renders after correcting the inner iterator + +The 60 settings for Noise Dirt Gradient v2 include the 12 fresh cases in the [isolated iterator measurements](#initial-branch-of-a-nested-pattern-iterator). The table counts stored pixels from successful cooks. The other settings reached the pattern graph traversal budget. Both whole and saved comparisons use the same material output. Integer maxima are in storage levels. + +| Comparison | Rendered / attempted | Exact settings | U8 exact / total · max | U16 exact / total · max | F16 exact / total · max | F32 exact / total · max | +|---|---:|---:|---:|---:|---:|---:| +| Earlier, one processor | 40/60 | 0 | 170,088/173,568 · 40 | 92,735/96,768 · 11437 | 90,188/93,696 · 0.16015625 | 61,278/100,608 · 0.174517393 | +| Corrected, one processor | 40/60 | 15 | 173,567/173,568 · 1 | 96,663/96,768 · 1 | 93,692/93,696 · 0.00048828125 | 64,247/100,608 · 7.15255737e-07 | +| Corrected, eight processors | 40/60 | 18 | 173,568/173,568 · 0 | 96,689/96,768 · 1 | 93,690/93,696 · 0.00048828125 | 71,020/100,608 · 3.57627869e-07 | +| Reference one versus eight | 60/60 | 19 | 198,143/198,144 · 1 | 240,335/240,640 · 1 | 101,878/101,888 · 0.00048828125 | 147,429/244,992 · 1.54972076e-06 | +| Earlier after reopening | 8/12 | 0 | 20,618/22,528 · 40 | 18,041/18,944 · 7324 | — | 43,808/66,560 · 0.0274509788 | +| Corrected after reopening | 8/12 | 3 | 22,528/22,528 · 0 | 18,927/18,944 · 1 | — | 44,076/66,560 · 4.76837158e-07 | +| Reference original versus reopened | 12/12 | 11 | 26,624/26,624 · 0 | 51,712/51,712 · 0 | — | 70,540/71,168 · 2.38418579e-07 | + +Every comparable MaterialCraft save reproduces its original local floating-point buffer. The reference columns include all successful reference renders, including the settings that exceeded the MaterialCraft budget. + +
+Whole and reopened settings + +Use `disorder`, `disorder_speed`, `disorder_anisotropy`, `disorder_anisotropy_angle`, `non_square_expansion` in the listed control order. + +| Size | Seed | Controls | Formats | Reopened | Whole budget reached | Reopen budget reached | +|---|---:|---|---|---|---|---| +| 128 × 128 | 0 | Defaults | U8, U16, F16, F32 | U8, U16 | — | — | +| 256 × 256 | 0 | Defaults | U8 | — | — | — | +| 128 × 128 | 42 | Defaults | U8 | — | — | — | +| 128 × 128 | 0 | 0.37, 0.6, 0.3, 0.125, default | U8 | — | U8 | — | +| 32 × 32 | 113 | 0.37, 0.6, 0.3, 0.125, default | F32 | — | — | — | +| 64 × 64 | 42 | 0.37, 0.6, 0.3, 0.125, default | U8, U16, F16, F32 | U8 | — | — | +| 16 × 16 | 105594 | Defaults | F32 | — | — | — | +| 32 × 32 | 105595 | 0, 1, 0, 0, on | F32 | F32 | — | — | +| 32 × 32 | 105596 | 0.3125, 0.6875, 0.25, 0.3125, off | U8, U16, F16, F32 | — | — | — | +| 32 × 16 | 105600 | 0.8125, 1.4375, 0.625, -0.21875, on | F32 | F32 | F32 | F32 | +| 16 × 32 | 105601 | 0.8125, 1.4375, 0.625, -0.21875, on | U16 | — | — | — | +| 64 × 32 | 105602 | 0.3125, 0.6875, 0.25, 0.3125, off | F32 | — | — | — | +| 32 × 64 | 105603 | 0, 1, 0, 0, on | F16 | — | — | — | +| 16 × 32 | 0 | Defaults | U8, U16, F16, F32 | U16 | — | — | +| 32 × 16 | 42 | 0.21875, 0.21875, 0.21875, -0.03125, on | U16, F32 | — | U16, F32 | — | +| 64 × 64 | 433610 | 0.9375, 0.9375, 0.9375, 0.6875, off | U8, U16, F16, F32 | U8 | U8, U16, F16, F32 | U8 | +| 128 × 32 | 433647 | 0.046875, 0.046875, 0.046875, -0.203125, on | U16, F32 | F32 | U16, F32 | F32 | +| 32 × 128 | 433684 | 0.5625, 0.5625, 0.5625, 0.3125, off | U8, U16, F16, F32 | — | U8, U16, F16, F32 | — | +| 256 × 128 | 433758 | 0.328125, 0.328125, 0.328125, 0.078125, off | U16, F32 | — | U16, F32 | — | +| 128 × 256 | 433795 | 0.8125, 0.8125, 0.8125, 0.5625, on | U16, F32 | U16 | U16, F32 | U16 | +| 256 × 256 | 42 | Defaults | U8, U16, F16, F32 | F32 | — | — | +| 512 × 128 | 433869 | 0.671875, 0.671875, 0.671875, 0.421875, on | U16, F32 | — | U16, F32 | — | +| 16 × 32 | 281778 | Defaults | U16, F32 | — | — | — | +| 64 × 32 | 281845 | 0, 1, 0, 0, on | U8, U16, F16, F32 | U8 | — | — | +| 32 × 64 | 281912 | 0.8125, 1.4375, 0.625, -0.21875, on | U8, U16, F16, F32 | U16 | — | — | +| 64 × 64 | 281979 | 0.21875, 0.21875, 0.21875, -0.03125, on | U16, F32 | — | — | — | + +
+ ### Initial branch of a nested pattern iterator In Noise Dirt Gradient v2 the initial branch of an inner iterator reads the caller’s iteration number. MaterialCraft had set it to zero. The repeated branch starts at zero and increments for its own repetitions. This affected opacity in the middle of the graph’s three pattern stages. Passing the existing number to the initial branch corrects all 704 middle-stage U8 samples in the following three settings. The final F32 stage still has rounding differences. diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index 2b050e3b..7c4ac200 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -394,7 +394,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [noise_dirt_5.sbs/dirt_5](../assets/sbs/noise_dirt_5.sbs) | 0 | Yes | [In progress · 48/60 whole settings rendered, 701,551/701,696 pixels on one processor, 701,572 on eight](parity-fixes.md#sixty-whole-settings-for-three-directional-and-dirt-noise-packages) · [Earlier comparison · 32² now exact](parity-fixes.md#deep-pattern-samples-in-custom-render-and-tiling-regions) · [Earlier matrix](parity-fixes.md#dirt-noise-sources-and-downstream-stages) · [64² precision and remaining traversal limits](parity-fixes.md#precision-of-two-dense-noise-generators-in-custom-regions) | | [noise_dirt_5_v2.sbs/dirt_5](../assets/sbs/noise_dirt_5_v2.sbs) | 0 | No | [In progress · 11/19 whole outputs, 107,341/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_dirt_gradient.sbs/dirt_gradient](../assets/sbs/noise_dirt_gradient.sbs) | 0 | Yes | [In progress · 58/60 whole settings rendered, 653,612/654,592 pixels on one processor, 653,621 on eight](parity-fixes.md#sixty-whole-settings-for-three-directional-and-dirt-noise-packages) · [Earlier comparison · 19/19 whole outputs, 141,554/142,592 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | -| [noise_dirt_gradient_v2.sbs/dirt_gradient](../assets/sbs/noise_dirt_gradient_v2.sbs) | 0 | No | [In progress · nested iteration corrected, middle stage 704/704, 22,411/25,600 whole pixels in 12 settings](parity-fixes.md#initial-branch-of-a-nested-pattern-iterator) · [Earlier 19 outputs](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | +| [noise_dirt_gradient_v2.sbs/dirt_gradient](../assets/sbs/noise_dirt_gradient_v2.sbs) | 0 | No | [In progress · 40/60 whole settings rendered, 428,169/464,640 exact pixels on one processor, 434,967 on eight](parity-fixes.md#sixty-whole-renders-after-correcting-the-inner-iterator) · [Nested initial branch, 704/704 middle-stage samples](parity-fixes.md#initial-branch-of-a-nested-pattern-iterator) · [Earlier 19 outputs](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_fluid.sbs/fluid](../assets/sbs/noise_fluid.sbs) | 0 | No | [In progress · 1,041,220/1,041,664 pixels across 53 distinct settings](parity-fixes.md#diagonal-blur-across-rectangular-tile-edges) · [Fourteen downstream root comparisons](parity-fixes.md#downstream-root-captures-after-the-aligned-blur-correction) | | [noise_fractal_sum_base.sbs/fractal_sum_base](../assets/sbs/noise_fractal_sum_base.sbs) | 0 | Yes | [Parity · 18 renders, 145,664 exact pixels](parity-fixes.md#stored-grayscale-stops-and-scalar-levels-controls) | | [noise_fractal_sum_base.sbs/fractal_sum_base_2](../assets/sbs/noise_fractal_sum_base.sbs) | 0 | Yes | [Parity · 18 renders, 145,664 exact pixels](parity-fixes.md#stored-grayscale-stops-and-scalar-levels-controls) |