mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-29 09:33:59 +01:00
Clamp nearest and filtered texture reads in pixel and uniform functions
This commit is contained in:
1 parent
1d46175f27
commit
a8f3f5736d
5 files changed
+140
-22
No files matched your search
@@ -133,21 +133,25 @@ pub(crate) fn evaluate(
|
||||
|
||||
let setting = instruction.value.as_ref().map(integers).transpose()?.unwrap_or([0, 0, 0, 0]);
|
||||
let index = usize::try_from(setting[0]).map_err(|_| "negative image index")?;
|
||||
// Pixel samplers repeat both texture axes independently of the processor's output tiling.
|
||||
let repeat = context.scope == super::FunctionScope::PixelProcessor || context.tile;
|
||||
let (bilinear, repeat) = match (context.scope, setting[1]) {
|
||||
(super::FunctionScope::Node, mode) => (mode != 0, context.tile),
|
||||
(_, 2) => (false, false),
|
||||
(_, 3) => (true, false),
|
||||
(_, mode) => (mode != 0, true),
|
||||
};
|
||||
let image = context.images.get(index).and_then(Option::as_ref);
|
||||
let uniform_sampler = matches!(context.scope, super::FunctionScope::ValueProcessor | super::FunctionScope::FxMap);
|
||||
let pixel = match image {
|
||||
Some(image) if uniform_sampler => {
|
||||
let format = context.image_formats.get(index).copied().unwrap_or(materialcraft_core::OutputFormat::F32);
|
||||
crate::texture_sampler::sample_uniform(image, [position[0], position[1]], format, setting[1] != 0)
|
||||
crate::texture_sampler::sample_uniform(image, [position[0], position[1]], format, bilinear, repeat)
|
||||
}
|
||||
Some(image) if setting[1] == 0 => {
|
||||
Some(image) if !bilinear => {
|
||||
image.get((position[0] * image.width() as f32).floor() as i64, (position[1] * image.height() as f32).floor() as i64, repeat)
|
||||
}
|
||||
Some(image) if context.scope == super::FunctionScope::PixelProcessor => {
|
||||
let format = context.image_formats.get(index).copied().unwrap_or(materialcraft_core::OutputFormat::F32);
|
||||
crate::texture_sampler::sample_pixel(image, [position[0], position[1]], format)
|
||||
crate::texture_sampler::sample_pixel(image, [position[0], position[1]], format, repeat)
|
||||
}
|
||||
Some(image) => image.sample_stored(position[0], position[1], context.tile),
|
||||
None => [0.0; 4],
|
||||
|
||||
@@ -747,13 +747,13 @@ fn paired_sums_keep_the_same_product_unrounded() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pattern_texture_reads_wrap_negative_edges_and_keep_fractional_weights() {
|
||||
fn clamped_and_repeating_uniform_texture_reads_keep_fractional_weights() {
|
||||
let image = Image::generate(32, 32, Kind::Color, |x, y| {
|
||||
let channel = |c: u32| ((47 * x + 31 * y + 7 * x * y + 13 + c * (29 + 3 * x)) % 251) as f32 / 255.0;
|
||||
[channel(0), channel(1), channel(2), 1.0]
|
||||
})
|
||||
.with_integer_sampling(true);
|
||||
let context = EvaluationContext {
|
||||
let mut context = EvaluationContext {
|
||||
scope: super::FunctionScope::FxMap,
|
||||
position: [0.5; 2],
|
||||
size: [32.0; 2],
|
||||
@@ -765,17 +765,48 @@ fn pattern_texture_reads_wrap_negative_edges_and_keep_fractional_weights() {
|
||||
for (uv, mode, color, gray) in [
|
||||
([-0.125, -0.25], 0, [0x3e868687, 0x3f31b1b2, 0x3e109091, 0x3f800000], 0x3ebb6612),
|
||||
([0.71897, 0.39151], 1, [0x3e90e1aa, 0x3f25d28e, 0x3f06f4bc, 0x3f800000], 0x3ef8d016),
|
||||
([-0.12, 0.016], 2, [0x3d50d0d2, 0x3e28a8a9, 0x3e8e8e8f, 0x3f800000], 0x3e28a8aa),
|
||||
([-0.12, 0.016], 3, [0x3d56ca82, 0x3e2a2716, 0x3e8f4dc4, 0x3f800000], 0x3e2a2715),
|
||||
([1.0311, -0.65315], 3, [0x3f57d7d9, 0x3eacacad, 0x3f50d0d2, 0x3f800000], 0x3f2a5500),
|
||||
] {
|
||||
let mut graph = FunctionGraph::default();
|
||||
let position = graph.add_constant(Value::Float2(uv));
|
||||
for (sampler, expected) in [("samplecol", Value::Float4(color.map(f32::from_bits))), ("samplelum", Value::Float(f32::from_bits(gray)))] {
|
||||
graph.output = Some(graph.add(sampler, &[position], Some(Value::Int2([0, mode]))));
|
||||
let value = compile(&graph, 0).unwrap().evaluate(&context, &mut EvaluationState::default()).unwrap();
|
||||
assert_eq!(value, expected);
|
||||
let program = compile(&graph, 0).unwrap();
|
||||
for scope in [super::FunctionScope::FxMap, super::FunctionScope::ValueProcessor] {
|
||||
context.scope = scope;
|
||||
let value = program.evaluate(&context, &mut EvaluationState::default()).unwrap();
|
||||
assert_eq!(value, expected, "{scope:?} {sampler} mode {mode} at {uv:?}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn clamped_uniform_filter_keeps_its_fractions_when_all_four_taps_reach_one_corner() {
|
||||
let edge = [0x406bfbec, 0xbed93e37, 0x405db487, 0x3f800000].map(f32::from_bits);
|
||||
let image = Image::generate(32, 32, Kind::Color, |x, y| if (x, y) == (31, 0) { edge } else { [0.0; 4] });
|
||||
let mut graph = FunctionGraph::default();
|
||||
let position = graph.add_constant(Value::Float2([1.0311, -0.65315]));
|
||||
graph.output = Some(graph.add("samplecol", &[position], Some(Value::Int2([0, 3]))));
|
||||
let program = compile(&graph, 0).unwrap();
|
||||
let images = [Some(image)];
|
||||
for scope in [super::FunctionScope::FxMap, super::FunctionScope::ValueProcessor] {
|
||||
let context = EvaluationContext {
|
||||
scope,
|
||||
position: [0.5; 2],
|
||||
size: [32.0; 2],
|
||||
images: &images,
|
||||
image_formats: &[materialcraft_core::OutputFormat::F32],
|
||||
tile: true,
|
||||
variables: &BTreeMap::new(),
|
||||
};
|
||||
let value = program.evaluate(&context, &mut EvaluationState::default()).unwrap();
|
||||
assert_eq!(value.as_vec4().unwrap().map(f32::to_bits), [0x406bfbec, 0xbed93e38, 0x405db488, 0x3f800000]);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pixel_gray_sampler_combines_stored_color_channels_after_reading() {
|
||||
let mut graph = FunctionGraph::default();
|
||||
@@ -797,6 +828,41 @@ fn pixel_gray_sampler_combines_stored_color_channels_after_reading() {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn clamped_pixel_samplers_select_the_edge_texel_and_filter_along_it() {
|
||||
let image = Image::generate(8, 4, Kind::Color, |x, y| {
|
||||
std::array::from_fn(|c| {
|
||||
let c = c as u32;
|
||||
let level = (79 * x + 53 * y + 29 * x * y + 17 * c + 11 * x * c + 3) % 251;
|
||||
(level as f32 - 91.75) / 71.375
|
||||
})
|
||||
});
|
||||
let context = EvaluationContext {
|
||||
scope: super::FunctionScope::PixelProcessor,
|
||||
position: [0.5; 2],
|
||||
size: [16.0, 32.0],
|
||||
images: &[Some(image)],
|
||||
image_formats: &[materialcraft_core::OutputFormat::F32],
|
||||
tile: true,
|
||||
variables: &BTreeMap::new(),
|
||||
};
|
||||
for (mode, uv, color, gray) in [
|
||||
(2, [-0.125, 0.25], [0xbf003963, 0xbe868039, 0xbcc8daca, 0x3e5ac9c0], 0xbe86803a),
|
||||
(3, [-0.125, 0.25], [0xbf5f457e, 0xbf224c37, 0xbecaa5e2, 0xbe2166ac], 0xbf224c38),
|
||||
(2, [0.3359375, 0.40625], [0xbf7dc221, 0xbee3c13c, 0x3dd0072c, 0x3f25e269], 0xbee3c13c),
|
||||
(3, [0.3359375, 0.40625], [0xbf160647, 0xbc2fbf85, 0x3f10884b, 0x3f101cb2], 0xbc2fbf80),
|
||||
(3, [1.3125, -0.375], [0xbf0765c6, 0x3f49c056, 0x4006b99c, 0xbdc1ae67], 0x3f49c056),
|
||||
] {
|
||||
let mut graph = FunctionGraph::default();
|
||||
let position = graph.add_constant(Value::Float2(uv));
|
||||
for (op, expected) in [("samplecol", Value::Float4(color.map(f32::from_bits))), ("samplelum", Value::Float(f32::from_bits(gray)))] {
|
||||
graph.output = Some(graph.add(op, &[position], Some(Value::Int2([0, mode]))));
|
||||
let actual = compile(&graph, 0).unwrap().evaluate_pixel(&context, &mut EvaluationState::default()).unwrap();
|
||||
assert_eq!(actual, expected, "{op} mode {mode} at {uv:?}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn filtered_pixel_reads_flush_single_precision_subnormals_before_and_after_filtering() {
|
||||
let normal = f32::MIN_POSITIVE;
|
||||
|
||||
@@ -7,7 +7,7 @@ pub fn resize_input_level(image: &Image, width: u32, height: u32, format: Output
|
||||
}
|
||||
|
||||
/// Value and pattern functions filter stored channel levels using full-precision texel fractions.
|
||||
pub(crate) fn sample_uniform(image: &Image, uv: [f32; 2], format: OutputFormat, bilinear: bool) -> [f32; 4] {
|
||||
pub(crate) fn sample_uniform(image: &Image, uv: [f32; 2], format: OutputFormat, bilinear: bool, repeat: bool) -> [f32; 4] {
|
||||
if !uv.iter().all(|v| v.is_finite()) {
|
||||
return [0.0, 0.0, 0.0, 1.0];
|
||||
}
|
||||
@@ -15,6 +15,12 @@ pub(crate) fn sample_uniform(image: &Image, uv: [f32; 2], format: OutputFormat,
|
||||
let axis = |v: f32, size: u32| {
|
||||
let extent = size as f32;
|
||||
let scaled = v * extent;
|
||||
if !repeat {
|
||||
// Clamp the tap indices. Even four reads of one corner retain their original filter weights.
|
||||
let texel = if scaled.is_finite() { scaled - offset } else { scaled.signum() * extent };
|
||||
let first = texel.floor();
|
||||
return (first.clamp(-1.0, extent) as i64, texel - first);
|
||||
}
|
||||
// At extreme magnitudes the UV is a whole number of repeats. Keep neighboring indices bounded.
|
||||
let texel = if scaled.is_finite() { scaled - offset } else { -offset };
|
||||
let first = texel.floor();
|
||||
@@ -30,7 +36,7 @@ pub(crate) fn sample_uniform(image: &Image, uv: [f32; 2], format: OutputFormat,
|
||||
_ => None,
|
||||
};
|
||||
let fetch = |x, y| {
|
||||
let pixel = image.get(x, y, true);
|
||||
let pixel = image.get(x, y, repeat);
|
||||
levels.map_or(pixel, |maximum| pixel.map(|v| (v * maximum).round()))
|
||||
};
|
||||
let a = fetch(x, y);
|
||||
@@ -58,11 +64,12 @@ pub(crate) fn sample(image: &Image, uv: [f32; 2], tiling: [bool; 2], format: Out
|
||||
}
|
||||
|
||||
/// A filtered pixel read flushes F32 subnormals at the texels and again at the filter result.
|
||||
pub(crate) fn sample_pixel(image: &Image, uv: [f32; 2], format: OutputFormat) -> [f32; 4] {
|
||||
pub(crate) fn sample_pixel(image: &Image, uv: [f32; 2], format: OutputFormat, repeat: bool) -> [f32; 4] {
|
||||
let tiling = [repeat; 2];
|
||||
if format != OutputFormat::F32 || !uv.iter().all(|v| v.is_finite()) {
|
||||
return sample(image, uv, [true; 2], format, None);
|
||||
return sample(image, uv, tiling, format, None);
|
||||
}
|
||||
filter_taps(image, taps(image, uv, [true; 2]), [true; 2], format, None, |pixel| pixel.map(crate::function::flush_subnormal))
|
||||
filter_taps(image, taps(image, uv, tiling), tiling, format, None, |pixel| pixel.map(crate::function::flush_subnormal))
|
||||
}
|
||||
|
||||
/// Average each clamped 2×2 footprint at source precision, then store the reduced level.
|
||||
|
||||
@@ -189,6 +189,47 @@ Depth ten produces 1,398,101 visits and 1,048,576 stamps. Raising only the visit
|
||||
|
||||
For a separate partition test, isolate the deepest pattern of each directional graph and the sole pattern of each dirt graph. At the first quadrant whose four outputs point to the same child, keep just one connected slot. Repeat with each of the four slots, retaining its original slot number. Render 4², 8², and 8×4 F32, using seeds 103307 + 13 × the zero-based inventory index + 0, 1 and 2 respectively. Use the first two distinct default/changed settings from the linked family measurements. All 48 partitioned renders complete with the standard guard. They match 160/1,120 pixels, with maximum F32 error .0000105798244. These are separate quadrant images. Full-root parity remains open for all four graphs.
|
||||
|
||||
### Clamped texture reads in spline graphs
|
||||
|
||||
The sampling mode stored with an image slot controls both filtering and edge addressing. Modes 0 and 1 repeat the image, with nearest and bilinear filtering respectively. Modes 2 and 3 clamp to its edges with the same two filters. Previously the two clamped modes both used bilinear repeat. At a spline boundary this mixed the opposite end of the tangent field into the first sample.
|
||||
|
||||
| Whole root | Renders | Previously exact | Exact / compared | Pixels in U8 / U16 / F16 / F32 | Maximum channel error |
|
||||
|---|---:|---:|---:|---|---:|
|
||||
| compute_spline_tangents | 27 | 43,296 | 43,776/43,776 | 7,168 / 7,168 / 7,168 / 22,272 | 0 |
|
||||
| modify_spline_property_sub | 19 | 24,317 | 28,928/28,928 | 5,120 / 5,632 / 7,168 / 11,008 | 0 |
|
||||
| resample_spline_data | 19 | 29,816 | 29,952/29,952 | 5,120 / 5,632 / 7,168 / 12,032 | 0 |
|
||||
| select_spline_sub | 19 | 583,680 | 622,592/622,592 | 65,536 / 98,304 / 98,304 / 360,448 | 0 |
|
||||
| spline_warp_sub | 19 | 28,448 | 28,928/28,928 | 5,120 / 5,632 / 7,168 / 11,008 | 0 |
|
||||
|
||||
All five roots match 754,176/754,176 pixels. The tangent root includes the 18 independently wired line, circle and signed-curve outputs in the [spline helper controls](#wired-spline-helpers-and-shape-mapping). Three other roots use the same sampler modes in their graph definitions. The grayscale grid atlas and the sorting iteration in each of the quantization and shape-splatter packages still match all 344,064 pixels in their 12 archived renders.
|
||||
|
||||
For the four other spline roots, add ten cases to the nine archived and changed-precision controls per root. Use sizes, formats and A/B/C settings from the [shared lookup matrix](#shared-lookups-and-environment-shadow-pass). The base seed is 109121 + 17 × the zero-based inventory index. Add 0, 1, 2, 2, 2, 2, 6, 7, 8 and 9 in case order.
|
||||
|
||||
For field A/B/C let m be 0/1/2. Defaults use m=0. At each of the first two rows j=0,1, use angle 2π((x+.5)/width+m/16+j/8), center (.34375+.28125j,.59375−.1875j) and radii (.1875,.1875), (.25,.09375) or (.15625,.28125). Fill the coordinate map with (cx+rx cos angle, cy+ry sin angle, 1, −1) and the data map with (−sin angle, cos angle, 0, 1). Other rows are zero. At normalized pixel centers u,v, the UV input is (u,v,1−u,1). The vector map is (.5+.25 cos(2π(u+v)), .5+.375 sin(2πu), .5, 1). Use u for the attenuation curve. Other scalar fields have H=((11x+7y+5xy+13m) mod 251)/250. Their color equivalents use (H,1−H,.125+.75H,1). Supply the fields as linear F32.
|
||||
|
||||
| Root and controls in order | A | B | C |
|
||||
|---|---|---|---|
|
||||
| Modify property, sampling mode / property / opacity / blending mode | 0 / 0 / 1 / 0 | 1 / 1 / .6875 / 1 | 1 / 2 / .3125 / 2 |
|
||||
| Select, spline index / output / selection mode / range start and end / normalized start and end | 0 / 0 / 0 / 0…1 / 0…1 | 1 / 1 / 1 / 0…1 / .1875….8125 | 0 / 1 / 0 / 1…2 / .3125….6875 |
|
||||
| Warp, intensity / center / sampling mode / vector map / attenuation curve / start and end attenuation / intensity map tiling | 0 / .5 / 0 / off / off / 0 and 0 / 1 | .1875 / .375 / 1 / on / on / .15625 and .21875 / 2 | .34375 / .6875 / 0 / on / on / .25 and .09375 / 3 |
|
||||
|
||||
Resample uses its published defaults. In the original pixel probe, fill an 8×4 image with Q=(79x+53y+29xy+17c+11xc+3) mod 251 in channel c. Store Q for U8, 251Q for U16, or (Q−91.75)/71.375 for F16 and F32. In a Pixel Processor read color or luminosity at UV×gain+offset. Broadcast the luminosity to four channels. Test all four sampling modes in each source format.
|
||||
|
||||
| Output and extent | UV gain | UV offset |
|
||||
|---|---|---|
|
||||
| 16² F32 | (1,1) | (0,0) |
|
||||
| 32×16 F32 | (2,2) | (−.5,−.5) |
|
||||
| 16×32 F32 | (−1.75,2.5) | (1.34375,−.6875) |
|
||||
| 32×16 U8, U16, F16 | (2,2) | (−.5,−.5) |
|
||||
| 8×4 F32, five separate reads | (0,0) | (0,0), (1,1), (−.125,.25), (.3359375,.40625), (1.3125,−.375) |
|
||||
| 32² F32 | (.8125,−.6875) | (.1875,.875) |
|
||||
|
||||
Start at seed 109847 + 17 × the input storage index (U8, U16, F16, F32), adding one per row or repeated read. The 384 pixel-processor renders improved from 76,755 to 128,000/128,000 exact pixels. The maximum became zero in every output format. Repeat modes 2 and 3 in the [uniform texture controls](#texture-sampling-in-pattern-functions). Use the same 13 positions and add controls running mode 0 or 1 at coordinates clamped to [1/64,63/64]. Across 416 pattern renders, 262,144 pixels previously matched and all 425,984 now match. The 104 typed Float4 values improved from 64 to 104 exact, maximum error zero. Uniform bilinear reads clamp each tap index and retain the original fractional weights. At (1.0311,−.65315) on the F32 source, the unclamped fractions produce green bits `bed93e38`, one bit different from clamping the coordinate before interpolation.
|
||||
|
||||
Six original sampler packages saved by MaterialCraft reopened in the reference. Across six reads per package, all 15,040 pixels and all 12 Float4 values matched the respective original packages, maximum error zero. The two pixel graphs used modes 2 and 3 on F32 color and U16 luminosity. Each uniform scope used nearest and filtered clamp on the U8 color source.
|
||||
|
||||
Two further roots with these modes remain open. The shape-splatter normal processor matches 666/142,592 pixels over 19 renders. Maximum finite U8 / U16 / F16 / F32 errors are 255 / 65,462 / .998570919 / .998893440. Some outputs contain nonfinite channels. The point preview returned 27,904/27,904 equal final pixels in 15 comparable cases, but the text stage reports an external-font error. In the three separate count/offset wrappers the counts are 4, 8 and 12 and the offsets are 0, 1 and 2. The error prevents a whole-root comparison in those wrappers.
|
||||
|
||||
## 2026-11-19 root comparisons
|
||||
|
||||
### Texture sampling in pattern functions
|
||||
|
||||
@@ -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 **370 Parity**, **144 In progress** and **32 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 **375 Parity**, **145 In progress** and **26 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)
|
||||
|
||||
@@ -551,7 +551,7 @@ Reading inherited variables directly reduced cook time on six Dirt 1 and BNW Spo
|
||||
| [shape_splatter_v2.sbs/mipmap_tools/Mipmap_N_from_O_color](../assets/sbs/shape_splatter_v2.sbs) | 1 | Yes | [Parity · 18 renders, all 287,232 pixels exact](parity-fixes.md#marked-variable-reads-in-path-and-mipmap-graphs) |
|
||||
| [shape_splatter_v2.sbs/poisson_disc/poisson_disc_iteration](../assets/sbs/shape_splatter_v2.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [shape_splatter_v2.sbs/scanline_to_z_order](../assets/sbs/shape_splatter_v2.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [shape_splatter_v2.sbs/shape_splatter_compute_normal](../assets/sbs/shape_splatter_v2.sbs) | 10 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |
|
||||
| [shape_splatter_v2.sbs/shape_splatter_compute_normal](../assets/sbs/shape_splatter_v2.sbs) | 10 | Yes | [In progress · 666/142,592 pixels, first difference in the normal processor](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
| [shape_splatter_v2_companion.sbs/shape_splatter_to_mask](../assets/sbs/shape_splatter_v2_companion.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [skew.sbs/skew](../assets/sbs/skew.sbs) | 1 | No | [Parity · 13 cases, 163,840 exact pixels](parity-fixes.md#height-distance-texture-mapping-skew-and-weave) |
|
||||
| [skew.sbs/skew_grayscale](../assets/sbs/skew.sbs) | 1 | No | [Parity · 13 cases, 163,840 exact pixels](parity-fixes.md#height-distance-texture-mapping-skew-and-weave) |
|
||||
@@ -570,15 +570,15 @@ Reading inherited variables directly reduced cook time on six Dirt 1 and BNW Spo
|
||||
| [spline_tools.sbs/internal_tools/compute_bridge_distance](../assets/sbs/spline_tools.sbs) | 3 | Yes | [Parity · 54,528/54,528 pixels](parity-fixes.md#wired-spline-helpers-and-shape-mapping) |
|
||||
| [spline_tools.sbs/internal_tools/compute_spline_distance_iteration](../assets/sbs/spline_tools.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [spline_tools.sbs/internal_tools/compute_spline_length_init](../assets/sbs/spline_tools.sbs) | 2 | Yes | [Parity · 43,776/43,776 pixels](parity-fixes.md#wired-spline-helpers-and-shape-mapping) |
|
||||
| [spline_tools.sbs/internal_tools/compute_spline_tangents](../assets/sbs/spline_tools.sbs) | 3 | Yes | [In progress · 43,296/43,776 pixels](parity-fixes.md#wired-spline-helpers-and-shape-mapping) |
|
||||
| [spline_tools.sbs/internal_tools/compute_spline_tangents](../assets/sbs/spline_tools.sbs) | 3 | Yes | [Parity · 43,776 exact pixels in 27 renders](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
| [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 | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |
|
||||
| [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 | [Too hard: value-input case not verified](parity-fixes.md#remaining-differences) |
|
||||
| [spline_tools.sbs/internal_tools/resample_spline_data](../assets/sbs/spline_tools.sbs) | 3 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |
|
||||
| [spline_tools.sbs/internal_tools/points_preview](../assets/sbs/spline_tools.sbs) | 3 | Yes | [In progress · 27,904 exact output pixels, text errors and wired cases open](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
| [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 | [In progress · nonzero counts and images exact, zero count timed out](parity-fixes.md#spline-preprocessing-with-wired-counts) |
|
||||
| [spline_tools.sbs/internal_tools/select_spline_sub](../assets/sbs/spline_tools.sbs) | 3 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |
|
||||
| [spline_tools.sbs/internal_tools/spline_warp_sub](../assets/sbs/spline_tools.sbs) | 6 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |
|
||||
| [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) |
|
||||
| [spline_tools.sbs/internal_tools/spline_warp_sub](../assets/sbs/spline_tools.sbs) | 6 | Yes | [Parity · 28,928 exact pixels in 19 renders](parity-fixes.md#clamped-texture-reads-in-spline-graphs) |
|
||||
| [spot_emboss.sbs/spot_emboss](../assets/sbs/spot_emboss.sbs) | 2 | No | [Parity · 218,368 exact cook pixels and six exact saved-file renders](parity-fixes.md#image-selection-in-saved-pattern-graphs) |
|
||||
| [starburst.sbs/starburst](../assets/sbs/starburst.sbs) | 0 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |
|
||||
| [stripes.sbs/stripes](../assets/sbs/stripes.sbs) | 0 | Yes | [In progress · 215,012/215,040 exact pixels in 18 renders](parity-fixes.md#other-roots-using-uniform-arc-tangents) |
|
||||
|
||||
Reference in new issue
Block a user