Closed johnny-morrice closed 8 years ago
Checked data races and unit tests; all is good there.
Glitch present regardless of aspect ratio fix
Glitch is in sequence delegation of region render algorithm.
This delegation has been a source of several bugs; will do performance analysis to make case for ditching it.
Glitch is only present with collapse param 8!
What luck to choose that default.
Quick fix by making the collapse size smaller; more regions.
Fixed with 9746769
That mitigated the problem but looking closer there is still some distortion.
The root cause is that my algorithm implementation is numerically unstable under certain conditions.
The algorithm is rather fiddly, in a few different aspects.
The fix is to have the configurator only choose this algorithm when stable sizes are used.
A longer term solution is to devise a successor algorithm that is more stable.
I don't know why but
Will produce a glitched image. Other resolutions seem okay.