fix: use CPU evaluator for best-fit cache, remove broken GPU dilation

The GPU bitmap evaluator produces false overlap detections due to
discretization errors at cell boundaries. Use the CPU PairEvaluator
(exact geometric intersection) for now. Also remove the double-counted
spacing dilation from GpuPairEvaluator for when GPU is revisited.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 14:20:13 -04:00
parent 3220306d3a
commit c28d5d8c12
2 changed files with 4 additions and 6 deletions
-3
View File
@@ -1,8 +1,6 @@
using System;
using System.Windows.Forms;
using OpenNest.Engine.BestFit;
using OpenNest.Forms;
using OpenNest.Gpu;
namespace OpenNest
{
@@ -13,7 +11,6 @@ namespace OpenNest
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
BestFitCache.CreateEvaluator = GpuEvaluatorFactory.Create;
Application.Run(new MainForm());
}
}