mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-28 17:19:17 +01:00
Align clipped stamp coordinates on axial and square triangles
This commit is contained in:
1 parent
3050748102
commit
1b0abc4fb3
5 files changed
+133
-42
No files matched your search
@@ -74,7 +74,7 @@ impl PixelPlanes {
|
||||
let gradient = gradient_product(basis, span);
|
||||
let unit = f64::from(gradient.next_up() - gradient);
|
||||
let vertex = if triangle.far_axis == Some(axis) { high } else { low };
|
||||
let base = truncate_float(f64::from(vertex) + offset_product(triangle.offset[axis], gradient, unit));
|
||||
let base = plane_origin(vertex, [triangle.offset[axis]], [gradient], [unit]);
|
||||
let sign = f64::from(signs[axis]);
|
||||
let step = f64::from(gradient);
|
||||
Some(Axis { base: ((0.5 - triangle.origin[axis]) * step + f64::from(base)) * sign, step: step * sign, negative_bias: unit / 64.0 })
|
||||
@@ -159,6 +159,34 @@ impl Axis {
|
||||
}
|
||||
}
|
||||
|
||||
fn plane_origin<const N: usize>(vertex: f32, offsets: [i32; N], slopes: [f32; N], units: [f64; N]) -> f32 {
|
||||
// Align the offset products by their factor exponents. A carry in a product
|
||||
// must not shift away another bit when it cancels against the vertex.
|
||||
let vertex = f64::from(vertex);
|
||||
let scale = offsets
|
||||
.into_iter()
|
||||
.zip(slopes)
|
||||
.fold(leading_power(vertex), |scale, (offset, slope)| scale.max(leading_power(f64::from(offset)) * leading_power(f64::from(slope))));
|
||||
let products = offsets.into_iter().zip(slopes).zip(units).map(|((offset, slope), unit)| {
|
||||
let value = offset_product(offset, slope.abs(), unit);
|
||||
if slope.is_sign_negative() { -value } else { value }
|
||||
});
|
||||
truncate_float(aligned_sum(products.chain([vertex]), scale, 5))
|
||||
}
|
||||
|
||||
fn leading_power(value: f64) -> f64 {
|
||||
f64::from_bits(value.to_bits() & (0x7ff_u64 << 52))
|
||||
}
|
||||
|
||||
/// Align signed operands at a shared exponent before cancellation in the interpolation setup.
|
||||
fn aligned_sum(terms: impl IntoIterator<Item = f64>, scale: f64, guard_bits: u32) -> f64 {
|
||||
if scale == 0.0 {
|
||||
return 0.0;
|
||||
}
|
||||
let quantum = scale / f64::from(1_u32 << (23 + guard_bits));
|
||||
terms.into_iter().map(|v| (v / quantum).trunc() * quantum).sum()
|
||||
}
|
||||
|
||||
fn offset_product(offset: i32, gradient: f32, unit: f64) -> f64 {
|
||||
if !gradient.is_normal() {
|
||||
return f64::from(offset) * f64::from(gradient);
|
||||
@@ -192,15 +220,23 @@ fn area_reciprocal(area: f32) -> f32 {
|
||||
f32::from_bits(((252 - (bits >> 23)) << 23) + significand)
|
||||
}
|
||||
|
||||
const FRACTION_MASK: u32 = (1 << 23) - 1;
|
||||
|
||||
fn gradient_product(basis: f32, span: f32) -> f32 {
|
||||
// Both inputs are positive normal values. Round the magnitude of each signed radix-four
|
||||
// partial product before accumulating it. The low bit of the span is a separate row.
|
||||
const FRACTION: u32 = (1 << 23) - 1;
|
||||
// A power of two only shifts the significand. Every discarded column is zero.
|
||||
if basis.to_bits() & FRACTION == 0 || span.to_bits() & FRACTION == 0 {
|
||||
if basis.to_bits() & FRACTION_MASK == 0 || span.to_bits() & FRACTION_MASK == 0 {
|
||||
return basis * span;
|
||||
}
|
||||
let significand = |value: f32| i64::from((value.to_bits() & FRACTION) | (1 << 23));
|
||||
let product = gradient_significand_product(basis, span);
|
||||
let overflow = u32::from(product >= 1 << 47);
|
||||
let exponent = (span.to_bits() >> 23) + (basis.to_bits() >> 23) - 127 + overflow;
|
||||
f32::from_bits((exponent << 23) | ((product >> (23 + overflow)) as u32 & FRACTION_MASK))
|
||||
}
|
||||
|
||||
fn gradient_significand_product(basis: f32, span: f32) -> u64 {
|
||||
// Both inputs are positive normal values. Round the magnitude of each signed radix-four
|
||||
// partial product before accumulating it. The low bit of the span is a separate row.
|
||||
let significand = |value: f32| i64::from((value.to_bits() & FRACTION_MASK) | (1 << 23));
|
||||
let a = significand(span);
|
||||
let b = significand(basis);
|
||||
let rounding_error = |row: i64| {
|
||||
@@ -218,8 +254,5 @@ fn gradient_product(basis: f32, span: f32) -> f32 {
|
||||
product += rounding_error((digit * b) << bit);
|
||||
carry = high;
|
||||
}
|
||||
let product = (product + (1 << 20)) as u64;
|
||||
let overflow = u32::from(product >= 1 << 47);
|
||||
let exponent = (span.to_bits() >> 23) + (basis.to_bits() >> 23) - 127 + overflow;
|
||||
f32::from_bits((exponent << 23) | ((product >> (23 + overflow)) as u32 & FRACTION))
|
||||
(product + (1 << 20)) as u64
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
use super::{Footprint, Triangle, gradient_product, offset_product};
|
||||
use super::{Footprint, Triangle, aligned_sum, gradient_product, gradient_significand_product, leading_power, plane_origin};
|
||||
use crate::function::{pixel_divide, truncate_float};
|
||||
|
||||
pub(super) struct Plane {
|
||||
@@ -29,13 +29,21 @@ pub(super) fn planes(triangle: &Triangle, frame: &Footprint, size: [f32; 2], [[l
|
||||
return None;
|
||||
}
|
||||
let anchor = triangle.far_axis.map_or(0, |axis| axis + 1);
|
||||
let square = triangle.far[0] - triangle.near[0] == triangle.far[1] - triangle.near[1];
|
||||
let planes: [Plane; 2] = std::array::from_fn(|component| {
|
||||
let gradient: [f32; 2] = std::array::from_fn(|axis| {
|
||||
let start = f64::from(vertices[0][component]);
|
||||
let end = f64::from(vertices[axis + 1][component]);
|
||||
let difference = aligned_sum([end, -start], leading_power(start.abs().max(end.abs())), 1);
|
||||
let span = truncate_float(difference * 0.5);
|
||||
let start = vertices[0][component];
|
||||
let end = vertices[axis + 1][component];
|
||||
let basis = triangle.basis[axis];
|
||||
if square && anchor != 0 && anchor != axis + 1 {
|
||||
// Across the far edge of a square, the two slope terms share the
|
||||
// opposite vertex. Align their wide products before subtracting.
|
||||
let vertex = vertices[anchor][component];
|
||||
let (first, first_scale) = wide_slope(basis, half_span(end, vertex));
|
||||
let (second, second_scale) = wide_slope(basis, half_span(start, vertex));
|
||||
return truncate_float(aligned_sum([first, -second], first_scale.max(second_scale), 2));
|
||||
}
|
||||
let span = half_span(end, start);
|
||||
let exponents = (span.abs().to_bits() >> 23) + (basis.to_bits() >> 23);
|
||||
// The partial-product path assumes a normal, finite result at the stored exponent.
|
||||
if !span.is_normal() || !(128..=380).contains(&exponents) {
|
||||
@@ -44,19 +52,7 @@ pub(super) fn planes(triangle: &Triangle, frame: &Footprint, size: [f32; 2], [[l
|
||||
gradient_product(basis, span.abs()).copysign(span)
|
||||
});
|
||||
let units = gradient.map(|v| f64::from(v.abs().next_up()) - f64::from(v.abs()));
|
||||
let terms: [f64; 2] = std::array::from_fn(|i| {
|
||||
let magnitude = offset_product(triangle.offset[i], gradient[i].abs(), units[i]);
|
||||
if gradient[i].is_sign_negative() { -magnitude } else { magnitude }
|
||||
});
|
||||
let anchor_value = f64::from(vertices[anchor][component]);
|
||||
// Align each offset product using the exponents of its factors, before a
|
||||
// carry in the product can shift away another bit during cancellation.
|
||||
let base_scale = triangle
|
||||
.offset
|
||||
.into_iter()
|
||||
.zip(gradient)
|
||||
.fold(leading_power(anchor_value), |scale, (offset, slope)| scale.max(leading_power(f64::from(offset)) * leading_power(f64::from(slope))));
|
||||
let base = truncate_float(aligned_sum([terms[0], terms[1], anchor_value], base_scale, 5));
|
||||
let base = plane_origin(vertices[anchor][component], triangle.offset, gradient, units);
|
||||
let step = gradient.map(f64::from);
|
||||
let unit = units[0].max(units[1]);
|
||||
// The two samples of a pair share the value at their midpoint. Its signed
|
||||
@@ -72,15 +68,17 @@ pub(super) fn planes(triangle: &Triangle, frame: &Footprint, size: [f32; 2], [[l
|
||||
planes.iter().all(|p| p.quantum.is_finite()).then_some(planes)
|
||||
}
|
||||
|
||||
fn leading_power(value: f64) -> f64 {
|
||||
f64::from_bits(value.to_bits() & (0x7ff_u64 << 52))
|
||||
fn half_span(end: f32, start: f32) -> f32 {
|
||||
let (end, start) = (f64::from(end), f64::from(start));
|
||||
truncate_float(aligned_sum([end, -start], leading_power(start.abs().max(end.abs())), 1) * 0.5)
|
||||
}
|
||||
|
||||
/// Align signed operands at a shared exponent before cancellation in the interpolation setup.
|
||||
fn aligned_sum<const N: usize>(terms: [f64; N], scale: f64, guard_bits: u32) -> f64 {
|
||||
if scale == 0.0 {
|
||||
return 0.0;
|
||||
fn wide_slope(basis: f32, span: f32) -> (f64, f64) {
|
||||
let scale = leading_power(f64::from(basis)) * leading_power(f64::from(span));
|
||||
if !span.is_normal() || !basis.is_normal() {
|
||||
return (f64::from(span) * f64::from(basis), scale);
|
||||
}
|
||||
let quantum = scale / f64::from(1_u32 << (23 + guard_bits));
|
||||
terms.into_iter().map(|v| (v / quantum).trunc() * quantum).sum()
|
||||
let product = gradient_significand_product(basis, span.abs()) as f64;
|
||||
let slope = product * (scale / (1_u64 << 46) as f64);
|
||||
(slope.copysign(f64::from(span)), scale)
|
||||
}
|
||||
@@ -426,6 +426,39 @@ fn rotated_stamps_use_the_pixel_center_when_snapping_the_near_vertex() {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn clipped_square_stamp_triangles_use_the_far_vertex_for_both_slope_terms() {
|
||||
for (dimensions, center, size, turns, shape, pixel, expected) in [
|
||||
([256, 256], [-0.08850241, 2.9797058], [0.06013941, 0.0625], 161.3187, 4, [236, 1], 0x3dec_9e10),
|
||||
([128, 256], [-0.01251943, 0.8291415], [0.0390625, 0.0078125], 0.94446576, 8, [0, 211], 0x3e21_7c84),
|
||||
] {
|
||||
let mut graph = PatternGraph::with_root(PatternNodeKind::Quadrant);
|
||||
graph.nodes[0].parameters = BTreeMap::from([
|
||||
("patterntype".into(), Value::Int(shape)),
|
||||
("branchoffset".into(), Value::Float2([-0.5; 2])),
|
||||
("frameoffset".into(), Value::Float2(center)),
|
||||
("patternsize".into(), Value::Float2(size)),
|
||||
("patternrotation".into(), Value::Float(turns)),
|
||||
]);
|
||||
let image = cook_at_dimensions(graph, &BTreeMap::new(), 395323, dimensions[0], dimensions[1]).unwrap().remove(0);
|
||||
assert_eq!(image.get_gray(pixel[0], pixel[1], false).to_bits(), expected, "{dimensions:?} at {pixel:?}");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn clipped_quarter_turn_aligns_the_axis_offset_before_adding_the_vertex() {
|
||||
let mut graph = PatternGraph::with_root(PatternNodeKind::Quadrant);
|
||||
graph.nodes[0].parameters = BTreeMap::from([
|
||||
("patterntype".into(), Value::Int(4)),
|
||||
("branchoffset".into(), Value::Float2([-0.5; 2])),
|
||||
("frameoffset".into(), Value::Float2([-0.8652914, -0.36846057])),
|
||||
("patternsize".into(), Value::Float2([0.09375, 0.27446696])),
|
||||
("patternrotation".into(), Value::Float(0.25)),
|
||||
]);
|
||||
let image = cook_at_dimensions(graph, &BTreeMap::new(), 399341, 256, 512).unwrap().remove(0);
|
||||
assert_eq!(image.get_gray(18, 341, false).to_bits(), 0x3e62_3d20);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn clipped_rotated_ramp_aligns_the_plane_origin_before_product_normalization() {
|
||||
let mut graph = PatternGraph::with_root(PatternNodeKind::Quadrant);
|
||||
|
||||
@@ -534,6 +534,33 @@ For each root’s 25 follow-up renders, the 5,120 U8, 553,728 U16, 78,336 F16 an
|
||||
|
||||
In a single-worker release run, four interleaved measurements of the 128² default, 256² default and 512² filled cases gave median whole-graph cook times of 46, 259 and 1,138 ms for Alveolus (previously 45, 247 and 1,068 ms). Pattern Alveolus took 45, 253 and 1,083 ms (previously 43, 238 and 1,045 ms).
|
||||
|
||||
### Interpolated coordinates on clipped squares and quarter turns
|
||||
|
||||
Directional Noise matches **40,572,160/40,572,160 final pixels across 136 distinct settings through 2048²**. Both applications reopened the MaterialCraft package and reproduced the original values across 40, 46 and 28 settings (2,006,016, 8,730,624 and 29,753,344 pixels). All fourteen intermediate outputs at 1024², seed 29987, match across 6,225,920 pixels, including the generator sample previously one U16 level high. [Wave-stamp isolation and the first 108 settings](#wave-frequency-and-phase-in-directional-noise)
|
||||
|
||||
| Storage | Distinct settings | Exact pixels | Maximum error |
|
||||
|---|---:|---:|---:|
|
||||
| U8 | 23 | 7,600,896/7,600,896 | 0 |
|
||||
| U16 | 44 | 12,699,392/12,699,392 | 0 |
|
||||
| F16 | 23 | 7,600,896/7,600,896 | 0 |
|
||||
| F32 | 46 | 12,670,976/12,670,976 | 0 |
|
||||
|
||||
The last 28 settings use (width×height, seed) pairs (64×1024,0), (1024×64,42), (256×1024,32011), (1024×256,91151), (512²,71123), (1024²,0), (1024²,42), (512×2048,67061), (2048×512,13877), (2048²,25771). Render U16 and F32 throughout, adding U8 and F16 at indices 1,4,6,9 starting from zero.
|
||||
|
||||
Two original quadrant controls isolate the setup of the interpolated coordinates. Use a black grayscale F32 output, zero roughness, unit gain and tint, tiling on both axes, branch offset (−.5,−.5) and the following frame offsets. The additional pyramid row exercises a perpendicular slope on the other side of the image.
|
||||
|
||||
| Profile and dimensions | Frame offset | Pattern size | Rotation in turns | Pixel | Previous bits | Measured bits |
|
||||
|---|---|---|---:|---|---|---|
|
||||
| Paraboloid, 256×512 | (−.8652914,−.36846057) | (.09375,.27446696) | .25 | (18,341) | 0x3e623d24 | 0x3e623d20 |
|
||||
| Paraboloid, 256² | (−.08850241,2.9797058) | (.06013941,.0625) | 161.3187 | (236,1) | 0x3dec9e20 | 0x3dec9e10 |
|
||||
| Pyramid, 128×256 | (−.01251943,.8291415) | (.0390625,.0078125) | .94446576 | (0,211) | 0x3e217c80 | 0x3e217c84 |
|
||||
|
||||
For the quarter turn the padded triangle starts at (−1,299), with spans 142 and 97. Adding the horizontal offset product to the signed vertex value 1.0100661516189575 gives independent results at single-precision storage boundaries. Align both terms at their shared exponent with five guard bits before adding them. The measured origin is .981601893901825, previously .9816018342971802. In 2,560 independently generated axis-aligned triangles, the exact count increased from 1,173,382 to 1,181,994/1,181,994 signed coordinates. Four or six guard bits gave 16,192 and 6,468 differences. Four stamp profiles at 134 original axis-aligned or quarter-turn geometries each matched all 39,733,248 F32 pixels, maximum error zero.
|
||||
|
||||
The two oblique examples have equal horizontal and vertical screen spans (43 and 11 respectively). When clipping selects a far vertex, the perpendicular gradient uses two half-spans measured from that vertex. Keep both signed slope products at extended precision, align them with two guard bits, then subtract and store the resulting gradient. Rectangular triangles retain their measured gradients. On 1,440 translated square triangles the exact coordinate count rose from 440,248 to 476,000/476,000. A separate 2,560-triangle comparison of squares and rectangles differing by one pixel measured 972,042/972,042 coordinates, including 30,130 previously different square samples. Three independent triangle sets retained or reached exact agreement across 1,047,772, 1,731,210 and 2,368,502 coordinates. Four original profiles (ramp, paraboloid, pyramid and creased bell), each tested on 108 translated and rescaled geometries, matched 29,884,416/29,884,416 F32 pixels.
|
||||
|
||||
All 653,456 values across the eight intermediate-stage captures in BNW Spots 3 now match, including all 524,288 samples of the previously differing branch. The 118 distinct final settings remain 3,159,552/3,159,552. BNW Spots 1 still matches 3,177,940/3,177,984 final samples over 125 settings. Across the additional stage probes Clouds 1 has 1,510,019/1,510,080 exact pixels and Clouds 2 has 911,010/911,040. [Cloud and BNW Spots comparisons, including repeat behaviour](#pixel-center-rounding-at-the-near-stamp-vertex)
|
||||
|
||||
### Wave frequency and phase in Directional Noise
|
||||
|
||||
Directional Noise (`directionnal_noise.sbs`) matched 10,818,793/10,818,816 final pixels across 108 distinct settings. All 23 earlier renders (147,712 pixels) and all 40 new renders through 512² (2,006,016 pixels) match. Before the wave fix the same two comparisons had 59 and 732 differing pixels. All 14 captured intermediate outputs now match in eight earlier and five new renders. The independent 46-render matrix found 23 differences at 1024², seed 29987.
|
||||
|
||||
@@ -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 **390 Parity**, **156 In progress** and **0 Too hard**. The November 17–20 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) · [November 20 measurements](parity-fixes.md#2026-11-20-root-comparisons)
|
||||
The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard**. The current inventory has **391 Parity**, **155 In progress** and **0 Too hard**. The November 17–20 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) · [November 20 measurements](parity-fixes.md#2026-11-20-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)
|
||||
|
||||
@@ -89,7 +89,7 @@ Crystal 2 now matches all 5,104,128 pixels across 99 distinct settings through 5
|
||||
|
||||
BNW Spots 3 matches all 3,159,552 final pixels across 118 distinct settings. Both apps reopened its saved graph and reproduced all 2,399,232 pixels in the 40-setting file check. One U16 difference remains inside its 256² pattern stage. BNW Spots 1 matches 3,177,940/3,177,984 final pixels across 125 settings. [Pixel-center measurements and remaining differences](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex)
|
||||
|
||||
Directional Noise matched all 2,006,016 pixels in the 40-setting matrix. The independent 1024² holdout traced 23 final differences to one stored pattern pixel. [Wave and Dirt root measurements](parity-fixes.md#wave-frequency-and-phase-in-directional-noise)
|
||||
Directional Noise matches 40,572,160/40,572,160 pixels over 136 settings through 2048². BNW Spots 3 now matches every captured intermediate. [Coordinate measurements and round-trip checks](parity-fixes.md#interpolated-coordinates-on-clipped-squares-and-quarter-turns)
|
||||
|
||||
Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings through 1024². Both applications reproduced the original pixels after reopening the saved file. [Exact counts, intermediate stages and settings](parity-fixes.md#aligning-the-origin-of-a-clipped-stamp-in-creased)
|
||||
|
||||
@@ -155,7 +155,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
|
||||
| [blur_hq.sbs/blur_hq](../assets/sbs/blur_hq.sbs) | 1 | No | [Parity · 18 renders, 171,264 exact pixels across four formats](parity-fixes.md#integer-and-oblique-directional-blur) |
|
||||
| [blur_hq.sbs/blur_hq_grayscale](../assets/sbs/blur_hq.sbs) | 1 | No | [Parity · 18 renders, 171,264 exact pixels across four formats](parity-fixes.md#integer-and-oblique-directional-blur) |
|
||||
| [bnw_spots_1.sbs/bnw_spots_1](../assets/sbs/bnw_spots_1.sbs) | 0 | Yes | [In progress · 3,177,940/3,177,984 pixels across 125 settings](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) · [64,000/64,000 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Circular stamp and opacity controls](parity-fixes.md#circular-stamp-coverage-and-zero-stamp-opacity) |
|
||||
| [bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/bnw_spots_3.sbs) | 0 | Yes | [Parity · 118 settings, 3,159,552/3,159,552 final pixels](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) · [27,136/27,136 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Circular stamp and opacity controls](parity-fixes.md#circular-stamp-coverage-and-zero-stamp-opacity) |
|
||||
| [bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/bnw_spots_3.sbs) | 0 | Yes | [Parity · 118 settings, 3,159,552/3,159,552 final pixels](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) · [27,136/27,136 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Circular stamp and opacity controls](parity-fixes.md#circular-stamp-coverage-and-zero-stamp-opacity) · [Intermediate recheck](parity-fixes.md#interpolated-coordinates-on-clipped-squares-and-quarter-turns) |
|
||||
| [brick_1.sbs/brick_1](../assets/sbs/brick_1.sbs) | 0 | Yes | [Parity · 131 renders, 3,194,368/3,194,368 pixels](parity-fixes.md#fractional-stamp-vertices-and-the-last-covered-pixel) · [64,000/64,000 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Earlier generator settings](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [brick_2.sbs/brick_2](../assets/sbs/brick_2.sbs) | 0 | Yes | [Parity · 124 renders, 3,175,936/3,175,936 pixels](parity-fixes.md#fractional-stamp-vertices-and-the-last-covered-pixel) · [27,136/27,136 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Earlier generator settings](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [brick_3.sbs/brick_3](../assets/sbs/brick_3.sbs) | 0 | Yes | [Parity · 100 renders, 1,295,872/1,295,872 pixels](parity-fixes.md#wrapped-stamp-centers-in-brick-3) · [64,000/64,000 downstream pixels](parity-fixes.md#isolating-the-generators-in-spots-bricks-and-cells) · [Depth opacity measurements](parity-fixes.md#stored-opacity-across-pattern-depths) |
|
||||
@@ -175,8 +175,8 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
|
||||
| [clone_patch.sbs/transform_from_center](../assets/sbs/clone_patch.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [clone_patch.sbs/transform_to_center](../assets/sbs/clone_patch.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [clone_patch.sbs/transform_to_center_grayscale](../assets/sbs/clone_patch.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [clouds_1.sbs/clouds_1](../assets/sbs/clouds_1.sbs) | 0 | Yes | [In progress · 707,562/707,584 pixels on 32 new renders, reference repeats vary](parity-fixes.md#draw-order-at-six-quadrant-subdivisions) |
|
||||
| [clouds_2.sbs/clouds_2](../assets/sbs/clouds_2.sbs) | 0 | Yes | [In progress · 707,572/707,584 pixels on 32 new renders, reference repeats vary](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) |
|
||||
| [clouds_1.sbs/clouds_1](../assets/sbs/clouds_1.sbs) | 0 | Yes | [In progress · 707,562/707,584 pixels on 32 new renders, reference repeats vary](parity-fixes.md#draw-order-at-six-quadrant-subdivisions) · [Intermediate recheck](parity-fixes.md#interpolated-coordinates-on-clipped-squares-and-quarter-turns) |
|
||||
| [clouds_2.sbs/clouds_2](../assets/sbs/clouds_2.sbs) | 0 | Yes | [In progress · 707,572/707,584 pixels on 32 new renders, reference repeats vary](parity-fixes.md#pixel-center-rounding-at-the-near-stamp-vertex) · [Intermediate recheck](parity-fixes.md#interpolated-coordinates-on-clipped-squares-and-quarter-turns) |
|
||||
| [color_space_conversion.sbs/acescg_to_linear_srgb](../assets/sbs/color_space_conversion.sbs) | 1 | No | [Parity · eight cases in four formats](parity-fixes.md#color-conversion-checker-and-clone) |
|
||||
| [color_space_conversion.sbs/acescg_to_srgb](../assets/sbs/color_space_conversion.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [color_space_conversion.sbs/linear_srgb_to_acescg](../assets/sbs/color_space_conversion.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
@@ -224,7 +224,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
|
||||
| [diffusion.sbs/impl/pass_gray](../assets/sbs/diffusion.sbs) | 3 | Yes | [Parity · 19 renders, 143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) |
|
||||
| [diffusion.sbs/impl/pass_normal](../assets/sbs/diffusion.sbs) | 2 | Yes | [Parity · 19 renders, 143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) |
|
||||
| [directional_distance.sbs/directional_distance](../assets/sbs/directional_distance.sbs) | 3 | No | [Parity · 32 renders, both outputs exact across 342,528 pixels](parity-fixes.md#distance-output-channels-axis-wrapping-and-cutoffs) |
|
||||
| [directionnal_noise.sbs/directionnal_noise](../assets/sbs/directionnal_noise.sbs) | 0 | Yes | [In progress · 10,818,793/10,818,816 pixels across 108 distinct settings](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier measurements](parity-fixes.md#draw-order-at-six-quadrant-subdivisions) |
|
||||
| [directionnal_noise.sbs/directionnal_noise](../assets/sbs/directionnal_noise.sbs) | 0 | Yes | [Parity · 136 settings, 40,572,160/40,572,160 pixels](parity-fixes.md#interpolated-coordinates-on-clipped-squares-and-quarter-turns) · [Earlier measurements](parity-fixes.md#draw-order-at-six-quadrant-subdivisions) |
|
||||
| [dirt_1.sbs/dirt_1](../assets/sbs/dirt_1.sbs) | 0 | Yes | [In progress · 2,005,987/2,006,016 pixels across 40 new renders](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier measurements](parity-fixes.md#overlapping-disc-additions-in-dirt-1) |
|
||||
| [dirt_3.sbs/dirt_3](../assets/sbs/dirt_3.sbs) | 0 | Yes | [In progress · 2,005,990/2,006,016 pixels across 40 new renders](parity-fixes.md#wave-frequency-and-phase-in-directional-noise) · [Earlier measurements](parity-fixes.md#bounds-and-pixel-coordinates-of-rotated-pattern-stamps) |
|
||||
| [dirt_5.sbs/dirt_5](../assets/sbs/dirt_5.sbs) | 0 | Yes | [In progress · 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) |
|
||||
|
||||
Reference in new issue
Block a user