diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 91566aa4..6049f2a4 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -99,7 +99,7 @@ Save each of the four configured output formats separately, close the package, a | Dirt 4 v2 | F16 | 512/512 · 0 | 512/512 · 0 | 512/512 · 0 | 512/512 · 0 | | Dirt 4 v2 | F32 | 512/512 · 0 | 512/512 · 0 | 512/512 · 0 | 512/512 · 0 | -At 16² F32, alternate the previous and current release evaluators three times with a single cook thread. Use seed 0 and defaults for BNW Spots 3 v2 and seed 105526 and defaults for Dirt 4 v2. Time the engine cook with the package already loaded. Every run reproduced its original pixel hash. Median time on the measurement machine went from 9.62 to 4.39 seconds for BNW Spots 3 v2 and from 31.85 to 13.68 seconds for Dirt 4 v2. +At 16² F32, run three paired timings of the previous and current releases with a single cook thread. Use both orders within the three pairs. Use seed 0 and defaults for BNW Spots 3 v2 and seed 105526 and defaults for Dirt 4 v2. Time the engine cook with the package already loaded. Every run reproduced its original pixel hash. Median time on the measurement machine went from 9.62 to 4.39 seconds for BNW Spots 3 v2 and from 31.85 to 13.68 seconds for Dirt 4 v2. The 64 × 32 Directional Noise 2 v2 case at seed 195000 and the 128 × 32 Dirt 4 v2 case at seed 433595 still reach the execution limit in this release. On the latter, the one- and eight-processor reference captures agree at 4,064/4,096 pixels with a maximum difference of .00407773256. [Dimensions and changed Dirt 4 v2 parameters](#repeated-f32-captures-of-28-noise-roots) @@ -230,6 +230,19 @@ For Waveform v2, keep the existing relative `curve_lookup.sbs` filename and the For the direct-open column, configure and save the callers **before** saving their dependencies. For points, use counts 4, 8, 12 and 0 with the four views above at 16², 32², 32 × 16 and 16² respectively. For waveform, use U8 at 64 × 32, seed 725259, U16 at 16², seed 725048, F16 at 32 × 64, seed 769164, and F32 at 32 × 128, seed 725470. Save the linked files in place, verify the eight caller hashes still match, and open the callers directly with their stored inputs, sizes, seeds and parameters. Both applications reproduced the previous same-setting buffers. The two roots remain in progress for caller-only saves where the external packages keep their older encoding. +#### Ordinary Save in the reference app with the same live dependencies + +Open the four configured Points Preview callers and the 16² U16 Waveform v2 caller from the preceding comparison. Supply the generated point-list image at the caller’s declared path and the same licensed font at the spline package’s declared path. Keep the linked packages at version `0.1.3`. Use the reference app’s own ordinary Save on each caller. The saved callers retain their relative SBS dependency names and the linked package bytes keep their original hashes. The point-list images move to the sidecar directories named by the saved callers. Each copied image has the same file hash as its procedural input. + +The reference compiler rejected all five reference-saved callers while the external packages still carried their three-part headers. It reported the version of the linked file as unreadable. The previous caller-only saves from MaterialCraft gave the same compiler result. In a separate directory keep the reference-saved callers and all their image sidecars byte-for-byte identical. Open and save the five linked point packages or the single waveform hash package at their respective paths in MaterialCraft. The compiler then accepted every caller. + +| Reference-saved caller opened directly | Stored pixels exact at one processor | At eight | Against earlier compatible caller | Maximum | +|---|---:|---:|---:|---:| +| Four Points Preview views, U8 | 2,048/2,048 | 2,048/2,048 | 2,048/2,048 | 0 | +| Waveform v2, U16, seed 725048 | 256/256 | 256/256 | 256/256 | 0 | + +As an independent control, use the 16² F32 caller returning (called value + .21875, 0, .53125, .75) at seed 596087. Set the file-based function result to .34375. Ordinary Save in the reference app retained the relative function name with either dependency header. The four-part input compiled directly. The three-part input compiled after saving the function file at its original path. Both gave **256/256 RGBA pixels** at each processor count, maximum error zero. Points Preview and Waveform v2 remain in progress for the older detached files. [Original scalar control and tested headers](#reopening-a-portable-copy-with-detached-function-packages) + ### Half-precision inputs to Sharpen Sharpen reads equal-sized normalized integer inputs at half precision when it writes F16 and exactly one of the two sizes depends on a graph parameter. The shared evaluator now applies that conversion before the four-neighbor filter. The 55 grayscale and RGBA probes improved from **23,181/30,976** to **30,976/30,976** pixels on both reference processor counts. The maximum component error fell from .001953125 to zero. diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index af5f34a9..5fecb360 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -43,6 +43,8 @@ Six upstream filters now match 27,648/27,648 original and 27,648/27,648 reopened At least **50 of the 52 open roots** have two different reference outputs for the same graph settings on one and eight processors. This includes the first eleven open roots, 31 later noise roots and eight moisture, caustic, scratch and fiber roots. Across twelve returns per processor count, MaterialCraft matches every pixel that stayed fixed across all 24 reference captures in three measured F32 settings. Spots 1 gives 259/259, Moisture Noise 4,088/4,088 and Wood Fibers 1 4,070/4,070. Individual frames still differ. At 128 × 32, both Moisture Noise pattern nodes now finish their 36 emitted trees. All 16,384 whole-root pixels match across four formats on one and eight processors and again after ordinary saves. [Dense quadrants and the Dirt 4 rectangle](parity-fixes.md#dense-seeded-quadrants-in-moisture-noise-and-dirt-4) [Repeated pixel counts and iteration controls](parity-fixes.md#repeated-noise-pixels-and-the-moisture-noise-iteration-count) [31-root comparison by format](parity-fixes.md#reference-repeatability-across-31-open-noise-roots) · [Eight further roots and fixed-processor repeats](parity-fixes.md#reference-variation-in-eight-further-roots) +The reference app’s own ordinary Save also preserves relative package links in Points Preview and Waveform v2. Its compiler rejects their older detached dependencies after either application saves only the caller. Opening and saving the external packages at their existing paths restores all 2,048 Points Preview pixels and all 256 Waveform pixels in these five reference-saved callers on both processor counts. [Live links and compiler results](parity-fixes.md#ordinary-save-in-the-reference-app-with-the-same-live-dependencies) + Both roots in `tile_random.sbs` now match 484,864/484,864 pixels across 221 settings with either live edits or freshly bound images. Each setting matches one and eight reference processors. Replaying the edits on ordinary saves also matches every pixel. All 32 preconfigured files opened directly with 106,496/106,496 pixels exact. An independent control that edits one of two graph instances now matches all 26,624 F32 pixels with its child fixed at 32². Maximum error is zero on every route. [Whole-root counts, edit sequence and remaining instance differences](parity-fixes.md#live-preview-sampling-in-tile-random) In separate paired instances, the child image bridge now follows the dimensions of its own input wire. All 120 bridge outputs match 203,264/203,264 pixels, with another 18,432/18,432 on each of the original and ordinary-save routes in four formats. [Bridge reproduction](parity-fixes.md#input-relative-dimensions-on-a-child-image-bridge) The FX-Map now inherits size and storage precision from its background. All 20 downstream outputs match 32,256/32,256 pixels and the twelve explicit precision cases match 5,632/5,632. [Pattern background reproduction](parity-fixes.md#input-relative-size-and-precision-on-a-pattern-background)