IsolineExtractSmoke: chain bounds at the geometric mean of the shipped reading and the least claimed mutant (J = 8); first-found linking unclaimed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-12-01 02:35:30 +01:00
commit e5a77c76da

View file

@ -34,15 +34,17 @@ namespace Aetheria.EditorTools
const float SlopeEpsilon = 1e-3f;
// Chain bounds, margin rule (readings of the run that set them, real zone at 256 x 256, 1920 x 1080 and 3840 x 2160 and the
// 60-well stress set; errors are fractions of the chain's length, mutants emulated on the CPU from the same segments).
// Position (s against the CPU arclength from the tail): shipped worst 1.6e-7; least claimed mutant, linking through the
// first segment found at a junction, 0.199 (J = 8 reads 0.853): bound 1.8e-4, separation 1.2e6.
// Joint (sB_i against sA of the next): shipped worst 2.0e-7; the mutant J = 8 reads 6.3e-3 (first-found does not move a
// joint the truth links: unclaimed here): bound 3.5e-5, separation 3.2e4.
// Position (s against the CPU arclength from the tail): shipped worst 2.1e-7; the least claimed mutant, pointer jumping
// stopped at J = 8, reads 0.853: bound 4.2e-4, separation 4.1e6. Linking through the first segment found at a junction reads
// 6e-15: no ray joint of three or more endpoints occurs in any of these fields, so that mutant is unclaimed here (recorded as a
// follow-up: a fixture with a crossing exactly on a grid corner would claim it).
// Joint (sB_i against sA of the next): shipped worst 2.3e-7; the mutant J = 8 reads 6.3e-3 (stress): bound 3.8e-5,
// separation 2.7e4.
// Edge, |sB - sA| against |b - a| over the edge's own scale: shipped worst 5.9e-8; the mutant sB = sA reads 1 by
// construction: bound 2.4e-4.
// Ray s on the log wells, ||sB - sA| - radial change| over the edge: shipped worst 9.9e-4; the mutant s from d / |grad d|
// (the curvature radius this cut deleted) reads 0.996: bound 0.0314, separation 1.0e3.
const float PositionBound = 1.8e-4f, JointBound = 3.5e-5f, EdgeBound = 2.4e-4f, RaySBound = 0.0314f;
const float PositionBound = 4.2e-4f, JointBound = 3.8e-5f, EdgeBound = 2.4e-4f, RaySBound = 0.0314f;
const int Contours = 21;
// Margin rule (lodur:ruling:deterministic-bound-margin): a bound sits at the geometric mean of the shipped worst and