mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-28 17:19:17 +01:00
Measure ordinary saves of live dependencies on two root graphs
This commit is contained in:
1 parent
7efd951ee3
commit
de1db6de65
2 files changed
+19
-2
No files matched your search
@@ -59,6 +59,23 @@ The first pass classifies all 546 roots: 166 Parity and 380 Too hard. These meas
|
||||
|
||||
## 2026-11-27 root comparisons
|
||||
|
||||
### Saving older linked packages at their existing paths
|
||||
|
||||
An ordinary Save in MaterialCraft can update an older linked SBS at the same relative path. Both callers below then reopen in the reference app with their original connections. Saving just the caller leaves the older linked files at version `0.1.3`. The reference compiler rejected both configured callers in that state. After saving the linked files, it accepted the same caller bytes. All counts below compare whole pixels at native storage precision on both one and eight reference processors.
|
||||
|
||||
| Root | Settings applied after opening the caller | Configured files opened directly | Maximum channel error |
|
||||
|---|---:|---:|---:|
|
||||
| Points Preview | 17,920/17,920 across 30 settings | 2,048/2,048 across 4 saves | 0 U8 levels |
|
||||
| Waveform v2 | 179,968/179,968 across 43 settings | 8,448/8,448 across 4 saves | 0 in U8, U16, F16 and F32 |
|
||||
|
||||
For Points Preview, bind the generated two-row ellipse field and place the same licensed monospace face at `resources/LiberationMono-Regular.ttf` relative to the spline package. Use counts 4, 8 and 12 with points only, labels only and both, plus count 0 with both. Use 16² at seed 0, 32² at seed 42 and 32 × 16 at seed 507031. Open and save `blend_switch.sbs`, `quad_transform.sbs`, `spline_tools.sbs`, `uv_mapper.sbs` and `value_get_size.sbs` in place. Leave the already compatible `functions.sbs` as supplied. For the four-point, labels-only compiler control, all 31 proper subsets of the five saves failed to compile. Saving all five succeeded. The new package versions read `1.1.0.202401`. The spline package retains 51 graphs, 39 functions and the relative font resource. All 30 renders also match the earlier compatible-library buffers. [Settings, inputs and matched fonts](#overlapping-glyphs-and-points-preview-file-handoff)
|
||||
|
||||
To check that the link stays live, use the four-point points-only, eight-point labels-only, twelve-point combined and zero-point combined callers. In the linked graph, connect a grayscale Uniform set to .375 and U8 to the output, then save. The four callers kept their original bytes. Across the three sizes every one of their 7,168 pixels changed, and both applications returned 96 at each pixel. Reconnect the original Pixel Processor and save again. The reference session's already-loaded callers still returned 96, with 0/7,168 matching the restored computation and a maximum difference of 159 U8 levels. Loading the same four caller paths afresh reproduced the original **7,168/7,168** in both applications, maximum zero.
|
||||
|
||||
For Waveform v2, keep the existing relative `curve_lookup.sbs` filename and the `sbs://functions.sbs` library link. Open the older relative file in MaterialCraft and save it at its own path. All seven function identifiers survive. The three caller files retained their bytes. Reuse the seven sizes, seeds, changed parameters and fixed fields of the earlier waveform series. The three groups respectively reproduce 109,056/109,056, 44,288/44,288 and 26,624/26,624 pixels of their earlier compatible-file captures. [Full waveform settings](#reopened-starburst-symmetry-tile-and-waveform-graphs)
|
||||
|
||||
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.
|
||||
|
||||
### 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.
|
||||
|
||||
@@ -738,7 +738,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
|
||||
| [spline_tools.sbs/internal_tools/get_spline_point_data](../assets/sbs/spline_tools.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [spline_tools.sbs/internal_tools/modify_spline_property_sub](../assets/sbs/spline_tools.sbs) | 4 | Yes | [Parity · 28,928 exact pixels in 19 renders](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
| [spline_tools.sbs/internal_tools/normalize_spline_distance](../assets/sbs/spline_tools.sbs) | 1 | Yes | [Parity · 16 cases, 52,480 exact pixels](parity-fixes.md#tile-edge-masks-and-normalized-spline-distances) |
|
||||
| [spline_tools.sbs/internal_tools/points_preview](../assets/sbs/spline_tools.sbs) | 3 | Yes | [In progress · 26,880/26,880 with two matched fonts, 14,592/14,592 on direct reopen with compatible dependencies, older loose links still fail](parity-fixes.md#overlapping-glyphs-and-points-preview-file-handoff) · [25,088/25,088 empty and point-only pixels](parity-fixes.md#font-line-height-and-coverage-over-a-constant-background) |
|
||||
| [spline_tools.sbs/internal_tools/points_preview](../assets/sbs/spline_tools.sbs) | 3 | Yes | [In progress · 26,880/26,880 with two matched fonts, 14,592/14,592 on direct reopen with compatible dependencies, older loose links still fail](parity-fixes.md#overlapping-glyphs-and-points-preview-file-handoff) · [25,088/25,088 empty and point-only pixels](parity-fixes.md#font-line-height-and-coverage-over-a-constant-background) · [Five linked files saved in place, 17,920/17,920 and 2,048/2,048 direct](parity-fixes.md#saving-older-linked-packages-at-their-existing-paths) |
|
||||
| [spline_tools.sbs/internal_tools/resample_spline_data](../assets/sbs/spline_tools.sbs) | 3 | Yes | [Parity · 29,952 exact pixels in 19 renders](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
| [spline_tools.sbs/internal_tools/scatter_splines_on_splines_preprocess](../assets/sbs/spline_tools.sbs) | 5 | Yes | [Parity · 622,592/622,592 pixels and 16/16 counts, both full-library saves exact](parity-fixes.md#spline-preprocessing-with-empty-inputs-and-complete-library-saves) · [Four output formats](parity-fixes.md#spline-preprocessing-with-wired-counts) |
|
||||
| [spline_tools.sbs/internal_tools/select_spline_sub](../assets/sbs/spline_tools.sbs) | 3 | Yes | [Parity · 622,592 exact pixels in 19 renders](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
@@ -770,7 +770,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
|
||||
| [vector_morph.sbs/vector_morph](../assets/sbs/vector_morph.sbs) | 2 | No | [Parity · 171,264/171,264 pixels in 18 renders](parity-fixes.md#quad-swirl-trapezoid-and-vector-morph-comparisons) |
|
||||
| [vector_morph.sbs/vector_morph_grayscale](../assets/sbs/vector_morph.sbs) | 2 | No | [Parity · 171,264/171,264 pixels in 18 renders](parity-fixes.md#quad-swirl-trapezoid-and-vector-morph-comparisons) |
|
||||
| [vertical_noise.sbs/vertical_noise](../assets/sbs/vertical_noise.sbs) | 0 | Yes | [In progress · 142,295/142,592 across 19 established settings, four ordinary saves compared](parity-fixes.md#whole-caustic-scratch-splatter-tile-and-vertical-noise-comparisons) · [Earlier comparison · 142,088/142,592 whole pixels, first differing stages measured](parity-fixes.md#tile-weave-splatter-and-fiber-stage-comparisons) · [Bricks 01 tile and noise stages](parity-fixes.md#tile-luminance-variation-in-bricks-01) |
|
||||
| [waveform_01_v2.sbs/waveform_01_v2](../assets/sbs/waveform_01_v2.sbs) | 0 | No | [In progress · 313,088/313,088 originals, 179,968/179,968 reopens from a library path](parity-fixes.md#portable-function-links-when-opening-a-library-graph-from-disk) · [Function-link controls](parity-fixes.md#waveform-v2-with-library-and-file-based-hash-functions) · [Older relative hash dependency, 167,194/179,968](parity-fixes.md#reopened-starburst-symmetry-tile-and-waveform-graphs) · [Earlier measurements](parity-fixes.md#plane-light-splatter-symmetry-and-waveform-comparisons) · [Stamp-width recheck](parity-fixes.md#pixel-reciprocals-for-stamp-edge-widths) · [179,968/179,968 with the updated dependency header](parity-fixes.md#version-of-a-detached-function-package-and-waveform-reopening) · [Unused and invoked file controls](parity-fixes.md#unused-and-unavailable-relative-functions) · [Portable SBS copy with detached functions, 179,968/179,968](parity-fixes.md#reopening-a-portable-copy-with-detached-function-packages) |
|
||||
| [waveform_01_v2.sbs/waveform_01_v2](../assets/sbs/waveform_01_v2.sbs) | 0 | No | [In progress · 313,088/313,088 originals, 179,968/179,968 reopens from a library path](parity-fixes.md#portable-function-links-when-opening-a-library-graph-from-disk) · [Function-link controls](parity-fixes.md#waveform-v2-with-library-and-file-based-hash-functions) · [Older relative hash dependency, 167,194/179,968](parity-fixes.md#reopened-starburst-symmetry-tile-and-waveform-graphs) · [Earlier measurements](parity-fixes.md#plane-light-splatter-symmetry-and-waveform-comparisons) · [Stamp-width recheck](parity-fixes.md#pixel-reciprocals-for-stamp-edge-widths) · [179,968/179,968 with the updated dependency header](parity-fixes.md#version-of-a-detached-function-package-and-waveform-reopening) · [Unused and invoked file controls](parity-fixes.md#unused-and-unavailable-relative-functions) · [Portable SBS copy with detached functions, 179,968/179,968](parity-fixes.md#reopening-a-portable-copy-with-detached-function-packages) · [Relative function file saved in place, 179,968/179,968 and 8,448/8,448 direct](parity-fixes.md#saving-older-linked-packages-at-their-existing-paths) |
|
||||
| [waveform_1.sbs/waveform_1](../assets/sbs/waveform_1.sbs) | 0 | Yes | [Parity · 313,088/313,088 pixels across 54 distinct settings](parity-fixes.md#reopened-starburst-symmetry-tile-and-waveform-graphs) · [Earlier measurements](parity-fixes.md#plane-light-splatter-symmetry-and-waveform-comparisons) · [Stamp-width recheck](parity-fixes.md#pixel-reciprocals-for-stamp-edge-widths) |
|
||||
| [weave_1.sbs/weave_1](../assets/sbs/weave_1.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) |
|
||||
| [weave_2.sbs/weave_2](../assets/sbs/weave_2.sbs) | 0 | Yes | [Parity · 3,139,840/3,139,840 pixels across 95 distinct settings](parity-fixes.md#saved-splatter-and-weave-graphs-across-independent-fields) · [Earlier measurements](parity-fixes.md#fixed-and-input-driven-rotation-bounds-for-oblique-stamps) |
|
||||
|
||||
Reference in new issue
Block a user