Bug#1093633: Proposed fix.

2025-01-20 Thread Cliff Kilby
I have a fix. Local testing works. I have no idea how to get it to you. Fixes both bugs, and allows for users to revert to this (broken) function in the future, if required, following the author's existing pattern for internal versioning. 30c30,31 < // - Set to 2 to use the current version. --- > /

Bug#1093642: Acknowledgement (libnoise0: GradientNoise3D does not adhere to the domain {-1.0 .. 1.0})

2025-01-20 Thread Cliff Kilby
Forgive the mess, but I'm not savvy in makefile testing, I use cmake+boost, so. Given: inc=0.05; for (x=-10.0;x<10.0;x+=inc){ for (y=-10.0;x<10.0;x+=inc){ for (z=-10.0;x<10.0;x+=inc){ int x0 = (x > 0.0? (int)x: (int)x - 1); int y0 = (y > 0.0? (int)y: (int)y - 1); int z0 = (z > 0.0? (int)z: (int)z -

Bug#1093642: libnoise0: GradientNoise3D does not adhere to the domain {-1.0 .. 1.0}

2025-01-20 Thread Cliff Kilby
Package: libnoise0 X-Debbugs-Cc: cliffjki...@gmail.com Version: 1.0.0+repack-1+b1 Severity: important Tags: upstream Dear Maintainer, While investigating #1093633, I found a source of the problem in GradientNoise3D. Per the headers for GradientNoise3D, GradientNoise3D is supposed to return in the

Bug#1093633: libnoise0: GradientCoherentNoise3D does not adhere to the domain {-1.0 .. 1.0}

2025-01-20 Thread Cliff Kilby
This appears to be caused by another bug, which I will report separately. >From the headers: /// A gradient-noise function generates better-quality noise than a /// value-noise function. Most noise modules use gradient noise for /// this reason, although it takes much longer to calculate. /// ///

Bug#1093633: libnoise0: GradientCoherentNoise3D does not adhere to the domain {-1.0 .. 1.0}

2025-01-20 Thread Cliff Kilby
Package: libnoise0 X-Debbugs-Cc: cliffjki...@gmail.com Version: 1.0.0+repack-1+b1 Severity: important Tags: upstream Dear Maintainer, I observed out of bounds condition with GradientCoherentNoise3D. Per source header documentation: /// @returns The generated gradient-coherent-noise value. //