Hej, I am experimenting with finding the closest 2d line to a pixel and wanted to use embree 4 for that.
Therefore I create a small example but no matter what I do, my RTCPointQueryFunction is never called? Am I missing something?
The single flat linear line is going from (-10, -10) to (10, 10). A point query at (0, 0) with a radius of 2.0 should definitely find the curve and trigger the query function, but nothing happens. (all z are 0 because I only work in 2d)
Hej, I am experimenting with finding the closest 2d line to a pixel and wanted to use embree 4 for that. Therefore I create a small example but no matter what I do, my
RTCPointQueryFunction
is never called? Am I missing something? The single flat linear line is going from (-10, -10) to (10, 10). A point query at (0, 0) with a radius of 2.0 should definitely find the curve and trigger the query function, but nothing happens. (all z are 0 because I only work in 2d)