mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-22 07:20:57 +01:00
Filter stored inputs and average grayscale Levels controls
This commit is contained in:
1 parent
328c711da0
commit
df92c750cf
9 files changed
+199
-53
No files matched your search
@@ -152,6 +152,8 @@ pub(crate) fn cook_node(
|
||||
| "value_processor"
|
||||
| "fx_map"
|
||||
| "transformation"
|
||||
| "blend"
|
||||
| "levels"
|
||||
| "blur"
|
||||
| "directional_blur"
|
||||
| "directional_warp"
|
||||
|
||||
@@ -47,6 +47,38 @@ fn cooks_and_caches() {
|
||||
assert_eq!(outputs(&p.graphs[0], &c).len(), 1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn fixed_filters_preserve_each_tiling_axis_when_resizing_an_input() {
|
||||
use materialcraft_core::{OutputFormat, ParameterInheritance, SizeMode};
|
||||
|
||||
for (filter, port) in [("levels", "input"), ("blend", "foreground")] {
|
||||
let mut graph = Graph::new("Tiling");
|
||||
let input = graph.add_node("input_grayscale", [0.0; 2]);
|
||||
let output = graph.add_node(filter, [100.0, 0.0]);
|
||||
for (id, exponent) in [(input, 2), (output, 3)] {
|
||||
let base = &mut graph.node_mut(id).unwrap().base;
|
||||
base.size_mode = SizeMode::Absolute;
|
||||
base.size = [exponent; 2];
|
||||
base.format = OutputFormat::U16;
|
||||
}
|
||||
graph.connect(input, "output", output, port).unwrap();
|
||||
let mut package = Package::new("Tiling");
|
||||
package.graphs.push(graph);
|
||||
let mut options = Options::new(&no_res);
|
||||
options.inputs.insert("input".into(), Image::gray(4, 4, |x, y| ((4 * y + x) * 4096) as f32 / 65535.0));
|
||||
let cache = Mutex::new(Cache::default());
|
||||
for (tiling, expected) in [([false, false], 0), ([true, false], 3072), ([false, true], 12288), ([true, true], 15360), ([true, false], 3072)] {
|
||||
let base = &mut package.graphs[0].node_mut(output).unwrap().base;
|
||||
base.tiling_mode = ParameterInheritance::Absolute;
|
||||
base.tiling = tiling;
|
||||
let result = cook(&package, 0, &options, &cache);
|
||||
assert_eq!(result.nodes[&output].error, None);
|
||||
let pixel = result.image(output, 0).unwrap().get_gray(0, 0, false);
|
||||
assert_eq!((pixel * 65535.0).round() as u32, expected, "{filter} {tiling:?}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn subtexel_size_exponents_survive_allocation_and_cache_reuse() {
|
||||
use materialcraft_core::{FunctionGraph, OutputFormat, SizeMode};
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
use super::ATOMIC;
|
||||
use super::input_resize::{InputResize, resized_input};
|
||||
use crate::ops;
|
||||
use crate::ops::BLEND_MODES;
|
||||
use crate::{CookContext, CookResult, NodeDefinition, node};
|
||||
use craft_texture::{Image, Kind};
|
||||
use materialcraft_core::OutputFormat;
|
||||
|
||||
pub(super) fn definition() -> NodeDefinition {
|
||||
node("blend", "Blend", ATOMIC)
|
||||
@@ -25,12 +25,12 @@ fn blend(context: &CookContext) -> CookResult {
|
||||
let (mode, opacity) = (context.i("mode"), context.f("opacity"));
|
||||
let opacity = if matches!(mode, 1 | 2) { opacity.clamp(0.0, 1.0) } else { opacity };
|
||||
let copies_foreground = opacity == 1.0 && context.input(2).is_none() && (mode == 7 || (mode == 0 && context.input(0).is_some_and(Image::is_gray)));
|
||||
let foreground = resized_input(context, 0, copies_foreground);
|
||||
let background = resized_input(context, 1, opacity == 0.0);
|
||||
let foreground = resized_input(context, 0, if copies_foreground { InputResize::Copy } else { InputResize::Blend });
|
||||
let background = resized_input(context, 1, if opacity == 0.0 { InputResize::Copy } else { InputResize::Blend });
|
||||
let kind = if [&foreground, &background].iter().any(|i| i.as_ref().is_some_and(|i| !i.is_gray())) { Kind::Color } else { Kind::Gray };
|
||||
let foreground = foreground.unwrap_or_else(|| Image::filled(context.w, context.h, kind, [0.0, 0.0, 0.0, 0.0]));
|
||||
let background = background.unwrap_or_else(|| Image::filled(context.w, context.h, kind, [0.0, 0.0, 0.0, 1.0]));
|
||||
let mask = resized_input(context, 2, false).map(|m| m.to_gray());
|
||||
let mask = resized_input(context, 2, InputResize::Blend).map(|m| m.to_gray());
|
||||
let color_blending = context.i("color_blending");
|
||||
let blend_alpha = context.b("alpha") && !foreground.is_gray();
|
||||
let clamp =
|
||||
@@ -48,47 +48,6 @@ fn blend(context: &CookContext) -> CookResult {
|
||||
})])
|
||||
}
|
||||
|
||||
fn resized_input(context: &CookContext, port: usize, copied: bool) -> Option<Image> {
|
||||
let mut image = context.input(port)?.clone();
|
||||
let target = craft_texture::clamp_size(context.w, context.h);
|
||||
if (image.width(), image.height()) == target {
|
||||
return Some(image);
|
||||
}
|
||||
let mut source = context.input_formats.get(port).copied().unwrap_or(if image.integer_sampling() { OutputFormat::U16 } else { OutputFormat::F32 });
|
||||
let storage = if copied {
|
||||
context.format
|
||||
} else {
|
||||
use OutputFormat::*;
|
||||
match (source, context.format) {
|
||||
(F32, _) | (_, F32) => F32,
|
||||
(F16, _) | (_, F16) => F16,
|
||||
(U8, U8) => U8,
|
||||
_ => U16,
|
||||
}
|
||||
};
|
||||
let advance = |now: u32, end: u32| {
|
||||
if now.saturating_mul(2) < end {
|
||||
now.saturating_mul(2)
|
||||
} else if end.saturating_mul(2) < now {
|
||||
now.div_ceil(2)
|
||||
} else {
|
||||
now
|
||||
}
|
||||
};
|
||||
loop {
|
||||
// Leave each axis within one doubling or halving for the final two-dimensional filter.
|
||||
let current = (image.width(), image.height());
|
||||
let intermediate = (advance(current.0, target.0), advance(current.1, target.1));
|
||||
let (w, h) = if intermediate == current { target } else { intermediate };
|
||||
image = crate::texture_sampler::resize_input_level(&image, w, h, source, context.tiling_axes());
|
||||
image = crate::output_precision::apply(image, storage);
|
||||
if (w, h) == target {
|
||||
return Some(image);
|
||||
}
|
||||
source = storage;
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
use crate::CookContext;
|
||||
use craft_texture::Image;
|
||||
use materialcraft_core::OutputFormat;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
pub(super) enum InputResize {
|
||||
Copy,
|
||||
Blend,
|
||||
Levels,
|
||||
}
|
||||
|
||||
pub(super) fn resized_input(context: &CookContext, port: usize, mode: InputResize) -> Option<Image> {
|
||||
let mut image = context.input(port)?.clone();
|
||||
let target = craft_texture::clamp_size(context.w, context.h);
|
||||
if (image.width(), image.height()) == target {
|
||||
return Some(image);
|
||||
}
|
||||
let mut source = context.input_formats.get(port).copied().unwrap_or(if image.integer_sampling() { OutputFormat::U16 } else { OutputFormat::F32 });
|
||||
let storage = if mode == InputResize::Copy {
|
||||
context.format
|
||||
} else {
|
||||
use OutputFormat::*;
|
||||
match (source, context.format) {
|
||||
(F32, _) | (_, F32) => F32,
|
||||
(F16, _) | (_, F16) => F16,
|
||||
(U8, U8) => U8,
|
||||
_ => U16,
|
||||
}
|
||||
};
|
||||
let advance = |now: u32, end: u32| {
|
||||
if now.saturating_mul(2) < end {
|
||||
now.saturating_mul(2)
|
||||
} else if end.saturating_mul(2) < now {
|
||||
now.div_ceil(2)
|
||||
} else {
|
||||
now
|
||||
}
|
||||
};
|
||||
loop {
|
||||
// Leave each axis within one doubling or halving for the final two-dimensional filter.
|
||||
let current = (image.width(), image.height());
|
||||
let intermediate = (advance(current.0, target.0), advance(current.1, target.1));
|
||||
let (w, h) = if intermediate == current { target } else { intermediate };
|
||||
image = crate::texture_sampler::resize_input_level(&image, w, h, source, context.tiling_axes());
|
||||
// A final reduction can feed the Levels curve directly. An enlargement stores the
|
||||
// filtered texels first, which matters when the working image uses half precision.
|
||||
if mode == InputResize::Levels && (w, h) == target && w <= current.0 && h <= current.1 {
|
||||
return Some(image);
|
||||
}
|
||||
image = crate::output_precision::apply(image, storage);
|
||||
if (w, h) == target {
|
||||
return Some(image);
|
||||
}
|
||||
source = storage;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
use super::ATOMIC;
|
||||
use super::input_resize::{InputResize, resized_input};
|
||||
use crate::{CookContext, CookResult, NodeDefinition, node};
|
||||
use craft_texture::Kind;
|
||||
use craft_texture::{Image, Kind};
|
||||
use materialcraft_core::OutputFormat;
|
||||
|
||||
pub(super) fn definition() -> NodeDefinition {
|
||||
@@ -19,16 +20,20 @@ pub(super) fn definition() -> NodeDefinition {
|
||||
}
|
||||
|
||||
fn levels(context: &CookContext) -> CookResult {
|
||||
let image = context.any_or(0, Kind::Gray, [0.0; 4]);
|
||||
let image = resized_input(context, 0, InputResize::Levels).unwrap_or_else(|| Image::filled(context.w, context.h, Kind::Gray, [0.0; 4]));
|
||||
let control = |name| {
|
||||
let rgba = context.v4(name);
|
||||
if image.is_gray() { [(rgba[0] + rgba[1] + rgba[2]) / 3.0; 4] } else { rgba }
|
||||
};
|
||||
let endpoint = |name| {
|
||||
let values = context.v4(name);
|
||||
let values = control(name);
|
||||
match context.format {
|
||||
OutputFormat::U8 | OutputFormat::U16 | OutputFormat::Inherit => values.map(|v| v.clamp(0.0, 1.0)),
|
||||
OutputFormat::F16 | OutputFormat::F32 => values,
|
||||
}
|
||||
};
|
||||
let low = endpoint("in_low");
|
||||
let mid = context.v4("in_mid");
|
||||
let mid = control("in_mid");
|
||||
let high = endpoint("in_high");
|
||||
let output_low = endpoint("out_low");
|
||||
let output_high = endpoint("out_high");
|
||||
|
||||
@@ -15,6 +15,7 @@ mod grayscale_conversion;
|
||||
mod hsl;
|
||||
mod input_color;
|
||||
mod input_grayscale;
|
||||
mod input_resize;
|
||||
mod input_value;
|
||||
mod levels;
|
||||
mod normal;
|
||||
|
||||
@@ -77,6 +77,54 @@ fn levels_applies_signed_gamma_before_mapping_the_output_range() {
|
||||
assert_eq!(output.get(1, 0, false).map(f32::to_bits), [0x3f9f741c, 0x3fb89ba3, 0x41d80001, 0x4372fffe]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn levels_filters_stored_integer_texels_before_remapping_the_range() {
|
||||
let field = Image::gray(4, 8, |x, y| ((7 * x + 11 * y + 19 * x * y + 9) % 2000) as f32 / 65535.0);
|
||||
let input = materialcraft_nodes::output_precision::apply(field, OutputFormat::U16);
|
||||
let image = cook("levels", &[Some(input)], &[], [8, 8], true);
|
||||
let row = std::array::from_fn(|x| image.get_gray(x as i64, 0, false).to_bits());
|
||||
assert_eq!(row, [0x396000e9, 0x393000b7, 0x396000e9, 0x39900094, 0x39a800a9, 0x39c800ce, 0x39e000e9, 0x39c800ce]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn levels_stores_an_enlarged_input_at_half_precision_before_applying_the_curve() {
|
||||
let params = [
|
||||
("in_low", Value::Float4([0.0625; 4])),
|
||||
("in_mid", Value::Float4([0.625; 4])),
|
||||
("out_low", Value::Float4([0.125; 4])),
|
||||
("out_high", Value::Float4([0.875; 4])),
|
||||
];
|
||||
for (width, expected) in [(4, 0x3e620000), (16, 0x3e1f4000)] {
|
||||
let field = Image::gray(width, 8, |x, y| ((341 + 3279 * x + 9759 * y + 1737 * x * y) % 65536) as f32 / 65535.0);
|
||||
let input = materialcraft_nodes::output_precision::apply(field, OutputFormat::U16);
|
||||
let image = cook_format("levels", &[Some(input)], ¶ms, [8, 8], true, OutputFormat::F16);
|
||||
let stored = materialcraft_nodes::output_precision::apply(image, OutputFormat::F16);
|
||||
assert_eq!(stored.get_gray(5, 2, false).to_bits(), expected, "source width {width}");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn grayscale_levels_averages_rgb_controls_before_bounding_integer_endpoints() {
|
||||
let input = [Some(Image::gray(1, 1, |_, _| 45308.0 / 65535.0))];
|
||||
let params = [
|
||||
("in_low", Value::Float4([-0.5, 0.25, 1.625, -2.0])),
|
||||
("in_mid", Value::Float4([-0.3, 0.53, 1.25, 0.1])),
|
||||
("in_high", Value::Float4([0.601, -0.375, 1.875, 2.5])),
|
||||
("out_low", Value::Float4([-0.125, -0.875, 1.625, -0.5])),
|
||||
("out_high", Value::Float4([1.875, 1.125, -0.375, 2.125])),
|
||||
("clamp_intermediate", Value::Bool(false)),
|
||||
];
|
||||
let floating = cook("levels", &input, ¶ms, [1, 1], true);
|
||||
assert_eq!(floating.get_gray(0, 0, false).to_bits(), 0x3f5a44c2);
|
||||
let integer = cook_format("levels", &input, ¶ms, [1, 1], true, OutputFormat::U16);
|
||||
let stored = materialcraft_nodes::output_precision::apply(integer, OutputFormat::U16);
|
||||
assert_eq!((stored.get_gray(0, 0, false) * 65535.0).round(), 55876.0);
|
||||
|
||||
let flat = [("out_low", Value::Float4([0.01341; 4])), ("out_high", Value::Float4([0.01341; 4]))];
|
||||
let image = cook("levels", &input, &flat, [1, 1], true);
|
||||
assert_eq!(image.get_gray(0, 0, false).to_bits(), 0x3c5bb59d);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn integer_levels_bounds_the_four_endpoints_before_applying_gamma() {
|
||||
let params = [
|
||||
|
||||
@@ -114,6 +114,49 @@ The standalone Add Sub filter matches **59,904/59,904 pixels across 36 renders**
|
||||
|
||||
To reproduce the filter controls use one graph per input layout, with foreground, background and optionally mask. In binding order use slot v=0,1,2 for foreground, background and mask. For each channel c use L=(53x+17y+7xy+35v+61c+3cy+3) mod 251. Use L/255 normally. For signed cases use (L−83.125)/53.5 for the images and (L−83.125)/101 for the mask. Masks and grayscale images take channel zero. Set image bridges to F32 for the color graphs and U8 for the grayscale graph. For each graph use 16² F32 at opacity 1, then 32² at opacity .5 in all four formats. At 64² F32 with signed inputs use .6875 with alpha blending disabled, then .3125 with it enabled. At 32² F32 and opacity .6137 run ignored, straight, premultiplied and source alpha. Finish with signed inputs at 16² F32 and opacity zero, followed by 64² F32 with unsigned inputs and opacity 1. Each series starts at seed 5113 and advances by 17.
|
||||
|
||||
### Stored input resizing and grayscale Levels controls
|
||||
|
||||
Directional noise at 16² now matches all 256 F32 pixels after its 8×16 U16 Blend. Before the fix, the Blend matched 128/128 and the following Levels matched 59/256, with a maximum F32 error of 8.49366188e−6. The remaining first difference at the 32² default is in a U16 FX-Map, with 31/32 pixels equal and a one-level maximum error. On the 64² F32 case, 4,037/4,096 final pixels match with maximum error 3.36766243e−5. The maximum across the earlier comparison was 2.94148922e−5. The larger exact count and the higher maximum are both retained below. [Square and rectangular generator inputs and seeds](#square-and-rectangular-pattern-generators)
|
||||
|
||||
| Root | Renders | Previously exact | Current exact pixels / compared | Max U8 / U16 levels | Max F16 / F32 error |
|
||||
|---|---:|---:|---:|---:|---:|
|
||||
| Black and white spots 3 | 27 | 139,099 | 139,314/185,856 | 1 / 3 | 0.00048828125 / 5.4359436e-05 |
|
||||
| Clouds 1 | 17 | 131,293 | 144,125/145,664 | 1 / 11 | 0.00048828125 / 0.000111579895 |
|
||||
| Crystal 2 | 17 | 104,017 | 104,128/145,664 | 14 / 12040 | 0.052734375 / 0.136126161 |
|
||||
| Directional noise | 23 | 97,505 | 145,135/147,712 | 1 / 3 | 0.00048828125 / 3.36766243e-05 |
|
||||
|
||||
Across 300 direct comparisons, all 1,421,760 pixels match in their declared storage, with maximum component error zero. A color pixel counts once when all four components agree. The change uses the stored input precision at destination pixel centers. Intermediate resizes proceed in steps of up to a factor of two. A Levels enlargement stores at the wider input or output precision before applying its curve. The final reduction samples the previous level directly. In grayscale, each of the five Levels controls averages red, green and blue as ((R+G)+B)/3 before any integer endpoint clamp. Fixed Levels and Blend controls receive both resolved tiling axes.
|
||||
|
||||
| Direct comparison | Renders | Exact pixels / compared |
|
||||
|---|---:|---:|
|
||||
| Original gray and color fields, changed size and precision | 84 | 150,528/150,528 |
|
||||
| Independent sizes, tiling axes and changed curve | 105 | 188,160/188,160 |
|
||||
| Isolated scalar endpoints | 12 | 49,152/49,152 |
|
||||
| Independent RGB controls, grayscale and RGBA | 60 | 245,760/245,760 |
|
||||
| Complete normalized 16-bit ramp, two curves, four outputs | 8 | 524,288/524,288 |
|
||||
| Same ramp through a half input, two curves, two float outputs | 4 | 262,144/262,144 |
|
||||
| Two widths and small integer ramps | 11 | 704/704 |
|
||||
| Four tiling masks, Levels and Blend, U16 and F32 | 16 | 1,024/1,024 |
|
||||
|
||||
The first two field series previously matched 83,073/150,528 and 73,501/188,160 pixels. To reproduce the resize fields, calculate H=((131x+367y+29xy+41c+17xc+seed) mod 2053)/2052 for component c starting at zero. For byte and word input, round H to the nearest stored level. For a floating input use 1.5H−.25 and apply the stated bridge format. Compare 16² F32, 32² U8/U16/F16/F32 and 64² F32/U16 in that order. The seed for field j is 11677+11j plus offsets 0,1,1,1,1,5,6. The changed curve has input low .0705882013, midpoint .522988021, high 1, output low .0134100001 and high .955938995 on RGB. Alpha uses the neutral curve. Intermediate clamping is off.
|
||||
|
||||
The source size is the output size multiplied by (2ˣ,2ʸ) for the exponents below. The optional neutral Levels stage has the source dimensions and format. Tiling masks 0,1,2,3 enable neither axis, X, Y and both. In the second group every field includes the neutral stage and uses the changed curve.
|
||||
|
||||
| Fields j | Source and dimensions | Controls |
|
||||
|---|---|---|
|
||||
| 0–2 | RGBA32F (0,0), RGBA16 (−1,0), LUM16 (−1,0) | Direct, neutral, mask 3 |
|
||||
| 3–5 | LUM16 (−1,0), (−1,0), (0,0) | Neutral stage, neutral curve for 3 and changed curve for 4–5, mask 3 |
|
||||
| 6–8 | LUM16 (0,−1), (1,0), (2,1) | Neutral stage and curve, mask 3 |
|
||||
| 9–11 | RGBA8, RGBA16F and RGBA32F, all (−1,0) | Neutral stage and curve, mask 3 |
|
||||
| 91–94 | LUM16 (−1,−1) | Masks 3,0,1,2 |
|
||||
| 95–99 | LUM16 (−2,−1), (−2,−2), (−1,1), (1,1), (2,2) | Mask 3 |
|
||||
| 100–102 | RGBA16F (−1,−1), RGBA32F (−1,−1), RGBA8 (−2,−1) | Mask 3 |
|
||||
| 103–105 | RGBA16F, RGBA32F and RGBA8, all (−1,0) | Masks 0,0,3 |
|
||||
|
||||
For the 256² ramp, use U16 code 256y+x or store (256y+x)/65535 through an F16 bridge. Compare neutral and changed curves, using seeds 6347 and 6348 for U16, 6733 and 6734 for F16. The 64² independent-control input uses U16 codes round(65535((41x+17y+13xy) mod 4093)/4092). Set the first eight codes to 0,1,2,3,65532,65533,65534,65535. One unclamped grayscale control uses input low (−.5,.25,1.625,−2), mid (−.3,.53,1.25,.1), high (.601,−.375,1.875,2.5), output low (−.125,−.875,1.625,−.5) and high (1.875,1.125,−.375,2.125). At source level 45,308 the result is U16 level 55,876 or F32 bits 0x3f5a44c2.
|
||||
|
||||
For the tiling control, enlarge a 4² grayscale word field with code (4y+x)×4096 to 8². Use a neutral Levels or a foreground-only Blend at full opacity. In mask order 0,1,2,3, the top-left U16 levels are 0, 3072, 12288 and 15360 in both operations. Four regression tests cover source filtering, half precision before the curve, grayscale control conversion and independent tiling axes through the evaluator and its cache.
|
||||
|
||||
### Repeated seeds in dirt and pattern generators
|
||||
|
||||
At 16² F32 and seed 9802, Dirt 5 produces two reference values at pixel (12,4) on repeated evaluations of the same graph. The other 255/256 pixels agree in all eight observations. With the intermediate images included, the output was 0.21309643983840942 three times and 0.21314725279808044 five times. With only the output observed, the counts were seven and one. The maximum difference in both series is 0.0000508129597. The U16 FX-Map at that coordinate alternates between levels 36,829 and 36,830. The directly connected F32 Levels image also alternates. In the original 16² MaterialCraft render the pixel is 0.21309643983840942. The recorded overall root counts still include the comparison against the original reference observation. [Square and rectangular pattern generators](#square-and-rectangular-pattern-generators)
|
||||
|
||||
@@ -109,7 +109,7 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard
|
||||
| [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 · 157,008/204,288 pixels across 34 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/bnw_spots_3.sbs) | 0 | Yes | [In progress · 139,099/185,856 pixels across 27 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/bnw_spots_3.sbs) | 0 | Yes | [In progress · 139,314/185,856 pixels across 27 renders](parity-fixes.md#stored-input-resizing-and-grayscale-levels-controls) |
|
||||
| [brick_1.sbs/brick_1](../assets/sbs/brick_1.sbs) | 0 | Yes | [In progress · 202,490/204,288 pixels across 34 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [brick_2.sbs/brick_2](../assets/sbs/brick_2.sbs) | 0 | Yes | [In progress · 185,560/185,856 pixels across 27 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [brick_3.sbs/brick_3](../assets/sbs/brick_3.sbs) | 0 | Yes | [In progress · 200,505/204,288 pixels across 34 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
@@ -129,7 +129,7 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard
|
||||
| [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 · 131,293/145,664 pixels across 17 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [clouds_1.sbs/clouds_1](../assets/sbs/clouds_1.sbs) | 0 | Yes | [In progress · 144,125/145,664 pixels across 17 renders](parity-fixes.md#stored-input-resizing-and-grayscale-levels-controls) |
|
||||
| [clouds_2.sbs/clouds_2](../assets/sbs/clouds_2.sbs) | 0 | Yes | [In progress · 128,005/129,280 pixels across 16 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [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) |
|
||||
@@ -169,7 +169,7 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard
|
||||
| [crop.sbs/crop](../assets/sbs/crop.sbs) | 1 | No | [Parity · 48 renders, all 377,344 pixels across both outputs exact](parity-fixes.md#half-precision-crop-area-and-input-sizes) |
|
||||
| [crop.sbs/crop_grayscale](../assets/sbs/crop.sbs) | 1 | No | [Parity · 48 renders, all 377,344 pixels across both outputs exact](parity-fixes.md#half-precision-crop-area-and-input-sizes) |
|
||||
| [crystal_1.sbs/crystal_1](../assets/sbs/crystal_1.sbs) | 0 | Yes | [In progress · 99,250/145,664 pixels across 17 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [crystal_2.sbs/crystal_2](../assets/sbs/crystal_2.sbs) | 0 | Yes | [In progress · 104,017/145,664 pixels across 17 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [crystal_2.sbs/crystal_2](../assets/sbs/crystal_2.sbs) | 0 | Yes | [In progress · 104,128/145,664 pixels across 17 renders](parity-fixes.md#stored-input-resizing-and-grayscale-levels-controls) |
|
||||
| [curvature.sbs/curvature](../assets/sbs/curvature.sbs) | 1 | No | [Parity · 20 renders, 176,384 exact pixels](parity-fixes.md#sampling-integer-bitmap-inputs-through-wider-bridges) |
|
||||
| [curvature_smooth.sbs/curvature_smooth](../assets/sbs/curvature_smooth.sbs) | 1 | Yes | [Parity · 20 renders, 176,384 exact pixels](parity-fixes.md#sampling-integer-bitmap-inputs-through-wider-bridges) |
|
||||
| [curvature_smooth_v2.sbs/compute_curvature_v2](../assets/sbs/curvature_smooth_v2.sbs) | 2 | Yes | [Parity: 6 cases](parity-fixes.md#verified-cases) |
|
||||
@@ -178,7 +178,7 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard
|
||||
| [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 · 97,505/147,712 pixels across 23 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [directionnal_noise.sbs/directionnal_noise](../assets/sbs/directionnal_noise.sbs) | 0 | Yes | [In progress · 145,135/147,712 pixels across 23 renders](parity-fixes.md#stored-input-resizing-and-grayscale-levels-controls) |
|
||||
| [dirt_1.sbs/dirt_1](../assets/sbs/dirt_1.sbs) | 0 | Yes | [In progress · 144,472/145,664 pixels across 17 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [dirt_3.sbs/dirt_3](../assets/sbs/dirt_3.sbs) | 0 | Yes | [In progress · 145,297/145,664 pixels across 17 renders](parity-fixes.md#square-and-rectangular-pattern-generators) |
|
||||
| [dirt_5.sbs/dirt_5](../assets/sbs/dirt_5.sbs) | 0 | Yes | [In progress · 129,218/129,280 pixels across 16 renders, one pixel varies at a fixed seed](parity-fixes.md#repeated-seeds-in-dirt-and-pattern-generators) |
|
||||
|
||||
Reference in new issue
Block a user