diff --git a/crates/nodes/src/pattern/evaluation.rs b/crates/nodes/src/pattern/evaluation.rs index 7875f515..c99f4ccc 100644 --- a/crates/nodes/src/pattern/evaluation.rs +++ b/crates/nodes/src/pattern/evaluation.rs @@ -123,7 +123,7 @@ pub fn cook_with_base_level_inputs(context: &CookContext, base_level_only: &[boo let mut discard_allowance = MAX_VISITS; let grayscale = !context.b("color_mode"); let mut repeated_roots = None; - let mut terminal_quadrants = if grayscale && opacity_depth == 8 { super::terminal_quadrants::TerminalQuadrants::new(context) } else { None }; + let mut terminal_quadrants = (grayscale && opacity_depth == 8 && !context.b("cull_outside")).then(super::terminal_quadrants::TerminalQuadrants::default); let mut seven_level_runs = (grayscale && opacity_depth == 7).then(SevenLevelRuns::default); let mut sparse_runs = if grayscale && opacity_depth == 8 { super::tile_runs::SparseQuadrantRuns::new(context) } else { None }; let mut mixed_depth_runs = if grayscale && matches!(opacity_depth, 8 | 9) { MixedDepthRuns::new(context, opacity_depth) } else { None }; @@ -311,7 +311,7 @@ pub fn cook_with_base_level_inputs(context: &CookContext, base_level_only: &[boo if mixed_depth_runs.as_mut().is_some_and(|runs| !runs.draw(&stamp, opacities.as_deref().unwrap_or_default(), !missed)) { mixed_depth_runs = None; } - if terminal_quadrants.as_mut().is_some_and(|runs| !runs.draw(&stamp, opacities.as_deref().unwrap_or_default())) { + if terminal_quadrants.as_mut().is_some_and(|runs| !runs.draw(&stamp, opacities.as_deref().unwrap_or_default(), grid.as_ref())) { terminal_quadrants = None; } if missed { diff --git a/crates/nodes/src/pattern/footprint.rs b/crates/nodes/src/pattern/footprint.rs index 205f96f3..95245635 100644 --- a/crates/nodes/src/pattern/footprint.rs +++ b/crates/nodes/src/pattern/footprint.rs @@ -1,4 +1,8 @@ -use super::{coordinates::PixelPlanes, pattern_stamp::PatternStamp, region::Region}; +use super::{ + coordinates::PixelPlanes, + pattern_stamp::PatternStamp, + region::{Copies, Region}, +}; use crate::CookContext; pub(super) struct Footprint { @@ -75,6 +79,15 @@ impl SampleGrid { Some(Self { render, tiling, dimensions: [width, height], axes, cull_outside }) } + fn repeats(&self, stamp: &PatternStamp, frame: &Footprint) -> Result<[Copies; 2], String> { + let center = self.tiling.copy_origin(stamp.center, self.axes); + self.tiling.repeats(&self.render, center, frame.radius, self.axes) + } + + pub fn single_copy(&self, stamp: &PatternStamp) -> bool { + self.axes == [false; 2] || Footprint::new(stamp).and_then(|frame| self.repeats(stamp, &frame)).is_ok_and(|axes| axes.iter().all(|axis| axis.count == 1)) + } + pub fn misses(&self, stamp: &PatternStamp) -> bool { if !(2..=18).contains(&stamp.pattern) || !(0..=2).contains(&stamp.blend) @@ -90,8 +103,7 @@ impl SampleGrid { if (0..2).any(|i| frame.radius[i] * self.dimensions[i] as f32 > 0.5 * self.render.period()[i]) { return false; } - let center = self.tiling.copy_origin(stamp.center, self.axes); - let Ok(repeats) = self.tiling.repeats(&self.render, center, frame.radius, self.axes) else { return false }; + let Ok(repeats) = self.repeats(stamp, &frame) else { return false }; let copies = repeats[0].count.saturating_mul(repeats[1].count); if copies == 0 { return true; diff --git a/crates/nodes/src/pattern/terminal_quadrants.rs b/crates/nodes/src/pattern/terminal_quadrants.rs index b5f63a22..04b7319a 100644 --- a/crates/nodes/src/pattern/terminal_quadrants.rs +++ b/crates/nodes/src/pattern/terminal_quadrants.rs @@ -1,9 +1,8 @@ use super::{ + footprint::SampleGrid, pattern_stamp::{DrawRun, PatternStamp}, raster::MIN_STAMP_SIZE, - tile_runs::UNIT_WINDOW, }; -use crate::CookContext; use materialcraft_core::{PatternNode, PatternNodeKind}; // With draws on the last three levels, 21 consecutive stamps belong to each @@ -184,14 +183,6 @@ pub(super) struct TerminalQuadrants { } impl TerminalQuadrants { - pub(super) fn new(context: &CookContext) -> Option { - (context.tiling_axes() == [false; 2] - && !context.b("cull_outside") - && context.v4("render_region") == UNIT_WINDOW - && context.v4("tiling_region") == UNIT_WINDOW) - .then(Self::default) - } - pub(super) fn visit(&mut self, node: &PatternNode, depth: u32, retained: usize, at_root: bool) -> bool { match node.kind { PatternNodeKind::Iterate => at_root && node.children.first() == Some(&None), @@ -211,7 +202,7 @@ impl TerminalQuadrants { } } - pub(super) fn draw(&mut self, stamp: &PatternStamp, weights: &[f32]) -> bool { + pub(super) fn draw(&mut self, stamp: &PatternStamp, weights: &[f32], grid: Option<&SampleGrid>) -> bool { let Some(weight) = weights.get(stamp.depth as usize) else { return false }; if !(6..=8).contains(&stamp.depth) || stamp.blend != 0 @@ -223,7 +214,8 @@ impl TerminalQuadrants { return false; } self.draws += 1; - true + // Tiling changes these boundaries only when it actually emits a different number of copies. + grid.is_some_and(|grid| grid.single_copy(stamp)) } pub(super) fn finish(mut self, stamps: &[PatternStamp], repeats: usize) -> Option>> { diff --git a/crates/nodes/src/pattern/tests/paired_batches.rs b/crates/nodes/src/pattern/tests/paired_batches.rs index a04b28e5..a934cbb1 100644 --- a/crates/nodes/src/pattern/tests/paired_batches.rs +++ b/crates/nodes/src/pattern/tests/paired_batches.rs @@ -550,3 +550,64 @@ fn eight_middle_group_batches_carry_into_the_first_subtrees() { check_batch_markers(&group_counts, seed, 1, &markers); } } + +#[test] +fn ten_batches_split_the_later_horizontal_subtrees() { + for (head, following, middle, pair_start, later, end, last, seed, markers) in [ + ( + 120, + 86, + 55, + 84, + 54, + 72, + 78, + 261084, + [(303743, 213233, true), (303763, 342691, false), (303726, 212560, true), (303705, 3691, true), (259584, 327565, false), (260714, 281791, false)], + ), + ( + 109, + 86, + 62, + 89, + 73, + 79, + 62, + 261115, + [(303743, 261223, true), (303763, 326473, false), (303726, 213819, true), (303705, 2845, true), (259584, 286937, false), (260714, 281276, false)], + ), + ( + 121, + 86, + 76, + 82, + 62, + 82, + 81, + 261146, + [(303743, 268210, true), (303763, 319251, false), (303726, 260297, true), (303705, 1829, true), (259584, 1908, true), (260714, 302967, false)], + ), + ( + 121, + 89, + 58, + 93, + 77, + 77, + 64, + 261177, + [(303743, 288302, true), (303763, 339410, false), (303726, 305649, false), (303705, 1704, true), (259584, 335480, false), (260714, 281475, false)], + ), + ] { + let mut groups = [61; 64]; + groups[0] = head; + groups[1..8].fill(following); + groups[52] = middle; + groups[54] = pair_start; + groups[56] = later; + groups[58..60].copy_from_slice(&[80, 70]); + groups[60] = end; + groups[62] = last; + check_batch_markers(&groups, seed, 1, &markers); + } +} diff --git a/crates/nodes/src/pattern/tests/terminal_quadrants.rs b/crates/nodes/src/pattern/tests/terminal_quadrants.rs index ac8bd608..d4fcd64e 100644 --- a/crates/nodes/src/pattern/tests/terminal_quadrants.rs +++ b/crates/nodes/src/pattern/tests/terminal_quadrants.rs @@ -23,8 +23,7 @@ fn location(draw: u32) -> (u32, u32) { (column + x, iteration * 256 + y) } -#[test] -fn three_terminal_levels_interleave_repeated_quadrant_trees() { +fn check_terminal_levels(expanded: bool) { // In a white pixel a tiny positive value survives only when the negative square draws first. let tiny = f32::EPSILON * 0.25; for (count, markers) in [ @@ -65,9 +64,11 @@ fn three_terminal_levels_interleave_repeated_quadrant_trees() { ("roughness".into(), Value::Float(0.0)), ("color_mode".into(), Value::Bool(false)), ("background".into(), Value::Color([1.0; 4])), + ("tiling_region".into(), Value::Float4(if expanded { [-0.5, 1.5, -0.5, 1.5] } else { [0.0, 1.0, 0.0, 1.0] })), ]), ); - let variables = BTreeMap::from([("$tiling".into(), Value::Int(0))]); + let axes = if expanded { count - 1 } else { 0 }; + let variables = BTreeMap::from([("$tiling".into(), Value::Int(axes))]); let mut field = BTreeMap::new(); for (j, &(negative, positive, _)) in markers.iter().enumerate() { let x = (8.5 + j as f32) / 128.0; @@ -81,7 +82,7 @@ fn three_terminal_levels_interleave_repeated_quadrant_trees() { h: 128, seed: 257831 + 19 * count as u32, format: OutputFormat::F32, - tile: false, + tile: true, inputs: &inputs, input_formats: &[OutputFormat::F32; 2], params: ¶ms, @@ -94,3 +95,13 @@ fn three_terminal_levels_interleave_repeated_quadrant_trees() { } } } + +#[test] +fn three_terminal_levels_interleave_repeated_quadrant_trees() { + check_terminal_levels(false); +} + +#[test] +fn single_copy_terminal_trees_use_the_same_order_in_wide_tiling_regions() { + check_terminal_levels(true); +} diff --git a/crates/nodes/src/pattern/tile_runs.rs b/crates/nodes/src/pattern/tile_runs.rs index 1f44f9f6..e52c022a 100644 --- a/crates/nodes/src/pattern/tile_runs.rs +++ b/crates/nodes/src/pattern/tile_runs.rs @@ -14,7 +14,7 @@ pub(super) use sparse_quadrants::SparseQuadrantRuns; use paired_batches::PairedBatches; -pub(super) const UNIT_WINDOW: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; +const UNIT_WINDOW: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; const DEPTH_THREE_PARENTS: usize = 256; const DEPTH_FOUR_PARENTS: usize = 64; const PAIRED_SUBTREE_PARENTS: usize = 2 * DEPTH_THREE_PARENTS; @@ -113,6 +113,11 @@ impl TileCopies { let full_prefix = prefix >= COPIES_PER_BATCH; let fallback = || pair.is_none().then_some(Cow::Borrowed(ordinary)); if !full_prefix && pair.is_none() { + if self.full_pairs == 0 + && let Some(layout) = self.first_quadrant_tail(ordinary, prefix) + { + return Some(Cow::Owned(layout)); + } return fallback(); } if let Some((group, head)) = pair { @@ -151,6 +156,48 @@ impl TileCopies { Some(first + if end == cut { self.parents_per_subtree } else { 1 }) } + fn first_quadrant_tail(&self, ordinary: &[(usize, usize)], prefix: u32) -> Option> { + if self.group_copies(24..32)? >= 8 * COPIES_PER_BATCH || self.penultimate_batch_fills(prefix)? { + return None; + } + // After nine batches, the two middle subtrees of group 0 are still pending. + // Groups 58 and 59 have already submitted their copies to this stream. + let first = self.subtree_copies(0..1)?.checked_add(self.subtree_copies(3..30)?)?.checked_add(self.group_copies(58..60)?)?; + let head_cut = self.subtree_ends.get(29)?.checked_add(9 * COPIES_PER_BATCH)?.checked_sub(first)?; + if head_cut <= *self.subtree_ends.get(28)? || head_cut > *self.subtree_ends.get(30)? { + return None; + } + // The end of the first eight groups and one subtree each from groups + // 52 and 56 now fill a tenth batch. Split the latter at the physical copy. + let combined = + first.checked_add(self.subtree_copies(30..32)?)?.checked_add(self.subtree_copies(209..210)?)?.checked_add(self.subtree_copies(225..226)?)?; + let extra = combined.checked_sub(10 * COPIES_PER_BATCH)?; + if extra >= self.subtree_copies(225..226)? { + return None; + } + let split = self.parent_at_cut(self.subtree_ends.get(225)?.checked_sub(extra)?)?; + let head = self.parent_at_cut(head_cut)?; + let pair = self.parent_at_cut(self.subtree_ends.get(215)?.checked_add(COPIES_PER_BATCH)?)?; + let mut layout: Vec<_> = ordinary + .iter() + .filter(|(_, rank)| *rank < 30) + .map(|&(end, rank)| { + ( + match rank { + 3 => pair, + 16 => head, + _ => end, + }, + rank, + ) + }) + .collect(); + let tail = [12361, 2048, 13440, split, 12416, 10240, 192, 14464, 15680, 15872, 4288, 12800, 14528, 14848, 13824, 12480, 15808, 13504]; + layout.extend(tail.into_iter().enumerate().map(|(rank, end)| (end, rank + 30))); + layout.sort_unstable(); + Some(layout) + } + fn eight_middle_groups(&self) -> Option> { let middle_tail = self.group_copies(24..32)?.checked_sub(8 * COPIES_PER_BATCH)?; if self.group_copies(52..53)?.checked_add(middle_tail)? >= COPIES_PER_BATCH diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 320f26c0..28938bcc 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -912,6 +912,39 @@ The 22 variations of the original quotas match 180,224/180,224 · 0. Eight indep Remaining single-processor root differences are n1u16 (2 pixels), n1f32 (2 pixels). At 64 × 128, seed 142326, the isolated horizontal source still matches 2,713/8,192 F32 pixels, maximum 5.96046448e−8. The new signed regression failed before the correction. All 446 node and evaluator release tests, formatting, strict workspace Clippy, dependency layers and WebAssembly passed. +### Ten batches in the horizontal Dirt Gradient source + +On one processor all **127 earlier whole settings match pixel for pixel**, including the six previously differing values at 64 × 128, seed 254179. Their isolated horizontal pattern improves from 3,314/8,192 F32 pixels (maximum 5.96046448e−8) to 8,192/8,192 (zero). All 34 earlier saved settings also match in both applications. A further 16 whole settings extend the comparison to **139/143 settings and 3,272,949/3,272,960 pixels**. The four differing settings share seed 254181. [Earlier settings and saved results](#eight-middle-batches-in-the-horizontal-dirt-gradient-source) + +| Whole-output comparison | U8 exact / total · max | U16 exact / total · max | F16 exact / total · max | F32 exact / total · max | +|---|---:|---:|---:|---:| +| Earlier 127, one processor | 616,704/616,704 · 0 | 895,744/895,744 · 0 | 616,704/616,704 · 0 | 865,280/865,280 · 0 | +| Earlier 127, eight processors | 616,704/616,704 · 0 | 895,391/895,744 · 2 | 616,679/616,704 · 0.00048828125 | 864,910/865,280 · 2.03251839e-05 | +| Earlier 34 reopens, one processor | 36,864/36,864 · 0 | 105,472/105,472 · 0 | 40,960/40,960 · 0 | 296,192/296,192 · 0 | +| New 16, one processor | 40,959/40,960 · 1 | 98,300/98,304 · 1 | 40,959/40,960 · 0.000244140625 | 98,299/98,304 · 1.64806843e-05 | +| New 16, eight processors | 40,959/40,960 · 1 | 98,268/98,304 · 2 | 40,959/40,960 · 0.000244140625 | 98,265/98,304 · 2.02655792e-05 | +| New 16, reference one versus eight | 40,960/40,960 · 0 | 98,266/98,304 · 2 | 40,960/40,960 · 0 | 98,262/98,304 · 2.02655792e-05 | +| New six reopens, one processor | — | 24,572/24,576 · 1 | 32,768/32,768 · 0 | 40,960/40,960 · 0 | +| New six, reference original versus reopened | — | 24,576/24,576 · 0 | 32,768/32,768 · 0 | 40,960/40,960 · 0 | + +For the 16 new settings leave the controls at their defaults. Use 64 × 128 at seeds 254177 and 254181, 128 × 64 at 191523 and 142329, 128 × 256 at 263113 and 256 × 128 at 263147. Use U16 then F32 everywhere, with U8, U16, F16 and F32 in that order for the second and fifth seeds. Save in MaterialCraft and reopen zero-based settings 0, 3, 6, 9, 12 and 15 in each application. All 40 local saved outputs retain their original pixels. + +In a horizontal depth-nine tree, number the 256 depth-four subtrees in traversal order. Each contains 1,344 draws before wrapping. Each group contains four such subtrees. The measured split occurs with short final pairs, a short group 60, a short eight-group stream at groups 24–31, and room left after combining group 60 with the first and last subtrees of group 61 and the two middle subtrees of group 16. Count the copies in subtree 0, subtrees 3–31, the second subtrees of groups 52 and 56, and groups 58–59. At 54,600 copies these portions fill ten batches. Surplus copies split the second subtree of group 56. Its remainder draws later. The first nine-batch cut can fall on either side of the start of subtree 30. Both cuts use physical copies, including copies of a square that misses all sampled pixels. + +Use the [signed overlapping-square procedure](#three-consecutive-full-pairs-in-the-final-dirt-gradient-quadrant) at 128², seed and quotas below. Start every group with 61 extra copies, set groups 58 and 59 to 80 and 70, then apply the table. Split each group evenly among its four subtrees, rotating the remainder by group index. The committed regression contains six independently measured pairs per qualifying field. In the full 16-pair comparison with gains exchanged, the last four fields improve from 130,944/131,072 (maximum 2.98023224e-08) to 131,072/131,072 (zero). The one-copy-short control gives 32,736/32,768 (maximum 2.98023224e−8) before and after. [Regression and field construction](../crates/nodes/src/pattern/tests/paired_batches.rs) + +| Group 0 | Each of 1–7 | Group 52 | Group 54 | Group 56 | Group 60 | Group 62 | Copies above ten batches | Seed | +|---:|---:|---:|---:|---:|---:|---:|---:|---:| +| 113 | 86 | 53 | 78 | 66 | 70 | 75 | -1 | 261053 | +| 120 | 86 | 55 | 84 | 54 | 72 | 78 | 0 | 261084 | +| 109 | 86 | 62 | 89 | 73 | 79 | 62 | 1 | 261115 | +| 121 | 86 | 76 | 82 | 62 | 82 | 81 | 8 | 261146 | +| 121 | 89 | 58 | 93 | 77 | 77 | 64 | 28 | 261177 | + +Independent weighted fields use the [128 × 64 square-field construction](#paired-subtree-capacity-in-horizontally-tiled-dirt-gradient). Start with the 256 per-subtree extra-copy counts from the horizontal stage at seed 254179. Use the original counts for row 0. In rows 1–61, split the 64 group totals with independent four-way equal-probability multinomial draws using PCG64 seed 258137. For rows 2–9 add (−18,−6,−2,−1,0,1,2,4) to group 54. In rows 10–17 adjust group 7 so that groups 0–7 sum to 672+(−32,−8,−2,−1,0,1,2,12). In rows 18–25 adjust group 31 so that groups 24–31 sum to 672+(−20,−6,−2,−1,0,1,2,8). In rows 26–33 set group 60 to (72,80,82,83,84,85,86,95) and cap group 61 at 167 minus group 60. In rows 34–41 use (53,74,82,83,84,85,91,110) for group 0. For the final 20 rows perturb each group by an integer from [−8,8], cap every odd member of the final eight pairs at 167 minus its neighbor, then set group 54 to (81,83,84,85,87)[row mod 5] and cap group 55 again. Paint the field with seed 258047+31 × row. The 38 qualifying fields match **311,296/311,296** F32 pixels (zero). All 62 together give 498,226/507,904 (maximum 5.48362732e-06). + +At seed 254181 the local horizontal stage matches 2,495/8,192 F32 pixels (maximum 8.94069672e−8). Three one-processor captures agree pixel for pixel. Comparing the one- and eight-processor captures gives 2,444/8,192 (maximum 8.94069672e−8). Groups 24–31 fill eight batches and groups 62–63 exceed two batches by 12 copies in this setting. The inventory retains this root in progress. + ### Eight middle batches in the horizontal Dirt Gradient source Dirt Gradient matches all **2,863,360 pixels across the earlier 111 settings** on one reference processor, including all 28 saved settings. At 64 × 128, seed 142326, the horizontal pattern source improves from 2,713/8,192 F32 pixels (maximum 5.96046448e−8) to 8,192/8,192 (maximum zero). All 14 other isolated settings retain their scores. All 707 differing pixels in the eight-processor comparison also differ between the two reference captures, with identical counts and maximum error in every setting. [Earlier whole-root settings](#individual-tile-copies-after-two-full-horizontal-batches) @@ -6032,6 +6065,14 @@ Supply identical original fields to the downstream graph by replacing its source | noise_dirt_gradient_v2 | Source stages | 3/10 | 1,617/3,328 | — / — / 0.122558594 / 0.0274509192 | | noise_dirt_gradient_v2 | Inputs of final pattern | 3/10 | 2,167/3,328 | — / — / 0 / 9.53674316e-07 | +### Terminal quadrant order across sampling windows + +For the last three additive levels in a complete depth-eight tree, the same submission order applies if each visited stamp emits exactly one physical copy. Count copies from the actual render and tiling windows and the rotated stamp footprint before discarding draws outside sampled pixels. Eleven F32 stage renders improve from **19,534/27,136** (maximum 2.98023224e-07) to **27,136/27,136** (zero). Seven renders that generate additional copies give 7,286/14,336 (maximum 2.98023224e-07). Those cases still need different submission boundaries. The 60 whole Directional Noise 1 settings and 12 saved settings retain the counts in the earlier table. [Whole settings, controls and per-format results](#final-three-quadrant-levels-in-directional-noise-1) + +Use the original directional graph's third pattern stage with the iteration count fixed at two and its repeated branch active. Compare 64², seed 42, scale 2, disorder .37, angle .125 and angle random .2, and 16 × 32, seed 194860 at defaults. Measure both in each of nine configurations. Start with the graph's original windows and tiling. Disable wrapping for the second configuration. For the third, also set the tiling window to the unit square. For the fourth, disable wrapping and set only the render window to the unit square. For the fifth, render (.1,.8,.2,.65) with a unit tiling window and wrapping off. For the sixth, render (−.2,.46,.05,.83) in the tiling window (.1,.9,−.3,1.2), wrapping off. Finally use unit windows with horizontal, vertical and two-axis wrapping. Coordinates are left, right, top, bottom. + +As an independent control, use the earlier 16 pairs for one, two and four trees at 128², then change the tiling window to (−.5,1.5,−.5,1.5) with no wrapping, horizontal wrapping and both axes respectively. Both gain assignments in both sets of three windows give 196,608/196,608 F32 pixels (maximum zero). Both new normal-cook regressions failed before the fixes. The node and evaluator release suites passed all 450 tests, together with formatting, strict workspace Clippy, crate layers and the WebAssembly checks. [Signed square regression](../crates/nodes/src/pattern/tests/terminal_quadrants.rs) + ### Final three quadrant levels in Directional Noise 1 The third pattern stage is the first differing stage in this directional generator. Its two earlier pattern stages and their first blend match all 16,896 pixels each in eight settings. At the third stage the original window and tiling give 16,884/16,896 U16 pixels (maximum 1) and 10,505/16,896 F32 pixels (maximum 1.78813934e-07). The root remains in progress. [Earlier root measurements](#directional-noise-and-scratch-pattern-sources) diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index 6092ba12..aa71b334 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -255,7 +255,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [dirt_3.sbs/dirt_3](../assets/sbs/dirt_3.sbs) | 0 | Yes | [In progress · 68 single-processor settings exact, 2,316,526/2,316,544 pixels on eight processors](parity-fixes.md#three-terminal-children-in-seven-level-quadrant-trees) · [Earlier distinct settings](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier isolation](parity-fixes.md#bounds-and-pixel-coordinates-of-rotated-pattern-stamps) · [Six reference repeats](parity-fixes.md#repeated-dirt-pattern-stages) · [2,316,511/2,316,544 pixels across 68 single-processor settings](parity-fixes.md#single-processor-comparisons-for-clouds-2-and-five-dirt-fields) | | [dirt_5.sbs/dirt_5](../assets/sbs/dirt_5.sbs) | 0 | Yes | [In progress · 2,662,656/2,662,656 pixels on one processor, 2,661,672/2,662,656 on eight across 95 settings](parity-fixes.md#three-active-quadrant-levels-in-dirt-5-and-dirt-gradient) · [2,005,576/2,006,016 pixels across 40 new renders](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier measurements](parity-fixes.md#stored-opacity-across-pattern-depths) · [Six reference repeats](parity-fixes.md#repeated-dirt-pattern-stages) · [2,299,232/2,300,160 pixels across 67 single-processor settings](parity-fixes.md#single-processor-comparisons-for-clouds-2-and-five-dirt-fields) | | [dirt_6.sbs/dirt_6](../assets/sbs/dirt_6.sbs) | 0 | Yes | [In progress · 2,593,024/2,593,024 pixels across 84 single-processor settings, 2,591,547/2,593,024 on eight](parity-fixes.md#individual-tile-copies-across-a-pattern-draw-boundary) · [Previous four-child generator results](parity-fixes.md#wrapped-draw-order-for-four-children-below-depth-seven) · [Earlier measurements](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier isolation](parity-fixes.md#drawing-axis-aligned-stamps-smaller-than-one-pixel) · [Six reference repeats](parity-fixes.md#repeated-dirt-pattern-stages) · [2,298,882/2,300,160 pixels across 67 single-processor settings](parity-fixes.md#single-processor-comparisons-for-clouds-2-and-five-dirt-fields) · [untiled generator measurements and four-format reopens](parity-fixes.md#untiled-draw-order-for-two-and-four-children-below-depth-seven) | -| [dirt_gradient.sbs/dirt_gradient](../assets/sbs/dirt_gradient.sbs) | 0 | Yes | [In progress · 125/127 settings and 2,994,426/2,994,432 pixels on one processor, 2,993,684/2,994,432 on eight](parity-fixes.md#eight-middle-batches-in-the-horizontal-dirt-gradient-source) · [Earlier three-pair comparison](parity-fixes.md#three-consecutive-full-pairs-in-the-final-dirt-gradient-quadrant) · [Earlier second-quadrant comparison](parity-fixes.md#dirt-gradient-when-groups-50-and-51-fill-the-second-quadrant) · [Earlier final-pair comparison](parity-fixes.md#final-horizontal-pair-with-a-short-receiver-in-dirt-gradient) · [Earlier middle and penultimate pair comparison](parity-fixes.md#middle-and-penultimate-horizontal-subtree-pairs-in-dirt-gradient) · [Earlier receiving-quadrant comparison](parity-fixes.md#full-receiving-quadrants-and-seven-batch-prefixes-in-dirt-gradient) · [Earlier deferred-copy comparison](parity-fixes.md#deferred-copies-in-horizontal-dirt-gradient-batches) · [Earlier preceding-subtree comparison](parity-fixes.md#horizontal-pattern-batches-ending-in-the-preceding-subtree) · [Earlier both-axis comparison](parity-fixes.md#eight-full-subtree-pairs-in-dirt-gradient) · [Nine horizontal generator settings](parity-fixes.md#a-late-copy-in-the-penultimate-horizontal-subtree-pair) · [Earlier horizontal comparison](parity-fixes.md#individual-tile-copies-after-two-full-horizontal-batches) · [Previous 111-setting comparison](parity-fixes.md#paired-subtree-capacity-in-horizontally-tiled-dirt-gradient) · [Five of nine horizontal generator settings exact](parity-fixes.md#the-first-subtree-pair-in-the-final-dirt-gradient-quadrant) · [2,662,010/2,662,656 pixels on one processor, 2,662,090/2,662,656 on eight across 95 settings](parity-fixes.md#three-active-quadrant-levels-in-dirt-5-and-dirt-gradient) · [2,005,640/2,006,016 pixels across 40 new renders](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier measurements](parity-fixes.md#draw-order-at-six-quadrant-subdivisions) · [Six reference repeats](parity-fixes.md#repeated-dirt-pattern-stages) · [2,299,615/2,300,160 pixels across 67 single-processor settings](parity-fixes.md#single-processor-comparisons-for-clouds-2-and-five-dirt-fields) | +| [dirt_gradient.sbs/dirt_gradient](../assets/sbs/dirt_gradient.sbs) | 0 | Yes | [In progress · 139/143 settings and 3,272,949/3,272,960 pixels on one processor, 3,272,135/3,272,960 on eight](parity-fixes.md#ten-batches-in-the-horizontal-dirt-gradient-source) · [Previous 127 settings](parity-fixes.md#eight-middle-batches-in-the-horizontal-dirt-gradient-source) · [Earlier three-pair comparison](parity-fixes.md#three-consecutive-full-pairs-in-the-final-dirt-gradient-quadrant) · [Earlier second-quadrant comparison](parity-fixes.md#dirt-gradient-when-groups-50-and-51-fill-the-second-quadrant) · [Earlier final-pair comparison](parity-fixes.md#final-horizontal-pair-with-a-short-receiver-in-dirt-gradient) · [Earlier middle and penultimate pair comparison](parity-fixes.md#middle-and-penultimate-horizontal-subtree-pairs-in-dirt-gradient) · [Earlier receiving-quadrant comparison](parity-fixes.md#full-receiving-quadrants-and-seven-batch-prefixes-in-dirt-gradient) · [Earlier deferred-copy comparison](parity-fixes.md#deferred-copies-in-horizontal-dirt-gradient-batches) · [Earlier preceding-subtree comparison](parity-fixes.md#horizontal-pattern-batches-ending-in-the-preceding-subtree) · [Earlier both-axis comparison](parity-fixes.md#eight-full-subtree-pairs-in-dirt-gradient) · [Nine horizontal generator settings](parity-fixes.md#a-late-copy-in-the-penultimate-horizontal-subtree-pair) · [Earlier horizontal comparison](parity-fixes.md#individual-tile-copies-after-two-full-horizontal-batches) · [Previous 111-setting comparison](parity-fixes.md#paired-subtree-capacity-in-horizontally-tiled-dirt-gradient) · [Five of nine horizontal generator settings exact](parity-fixes.md#the-first-subtree-pair-in-the-final-dirt-gradient-quadrant) · [2,662,010/2,662,656 pixels on one processor, 2,662,090/2,662,656 on eight across 95 settings](parity-fixes.md#three-active-quadrant-levels-in-dirt-5-and-dirt-gradient) · [2,005,640/2,006,016 pixels across 40 new renders](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier measurements](parity-fixes.md#draw-order-at-six-quadrant-subdivisions) · [Six reference repeats](parity-fixes.md#repeated-dirt-pattern-stages) · [2,299,615/2,300,160 pixels across 67 single-processor settings](parity-fixes.md#single-processor-comparisons-for-clouds-2-and-five-dirt-fields) | | [exposure.sbs/exposure](../assets/sbs/exposure.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [extend_shape.sbs/extend_shape_color](../assets/sbs/extend_shape.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [extend_shape.sbs/extend_shape_grayscale](../assets/sbs/extend_shape.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | @@ -374,7 +374,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [noise_creased.sbs/creased](../assets/sbs/noise_creased.sbs) | 0 | No | [Parity · 787,456/787,456 pixels across 54 distinct settings on one and eight processors](parity-fixes.md#creased-and-crystal-noise-sources-on-one-and-eight-processors) · [Archived settings](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#directional-and-additive-stamp-profiles) · [Stamp-width recheck](parity-fixes.md#pixel-reciprocals-for-stamp-edge-widths) | | [noise_crystal_1.sbs/crystal_1](../assets/sbs/noise_crystal_1.sbs) | 0 | No | [Parity · 809,216/809,216 pixels across 64 distinct settings on one and eight processors](parity-fixes.md#creased-and-crystal-noise-sources-on-one-and-eight-processors) · [Archived settings](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#cloud-and-crystal-pattern-sources-across-scales) | | [noise_crystal_2.sbs/crystal_2](../assets/sbs/noise_crystal_2.sbs) | 0 | No | [Parity · 809,216/809,216 pixels across 64 distinct settings on one and eight processors](parity-fixes.md#creased-and-crystal-noise-sources-on-one-and-eight-processors) · [Archived settings](parity-fixes.md#original-and-reopened-dirt-moisture-and-cellular-noise-fields) · [Earlier measurements](parity-fixes.md#cloud-and-crystal-pattern-sources-across-scales) · [Stamp-width recheck](parity-fixes.md#pixel-reciprocals-for-stamp-edge-widths) | -| [noise_directional_noise_1.sbs/directional_noise_1](../assets/sbs/noise_directional_noise_1.sbs) | 0 | Yes | [In progress · 734,118/734,464 whole pixels across 60 settings on one processor, 734,140 on eight](parity-fixes.md#final-three-quadrant-levels-in-directional-noise-1) · [Earlier directional measurements](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | +| [noise_directional_noise_1.sbs/directional_noise_1](../assets/sbs/noise_directional_noise_1.sbs) | 0 | Yes | [In progress · 734,118/734,464 whole pixels across 60 settings on one processor, 734,140 on eight](parity-fixes.md#final-three-quadrant-levels-in-directional-noise-1) · [Copy counts across sampling windows](parity-fixes.md#terminal-quadrant-order-across-sampling-windows) · [Earlier directional measurements](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) |