Hi,
In the following example there seem to have a glitch: https://kitware.github.io/vtk-js/examples/CellPicker.html
Some points are considered to be on the Cell, while actually they appear in mid air.
Is this intentional?
Here follows an image where I illustrate the problem:
Warm greetings,
Emile
finetjul
(Julien Finet)
October 3, 2019, 6:50am
2
You might want to play with the tolerance of the cell picker functions to see if that improves things.
Hth,
Julien.
Hi Julien,
Indeed, in the minified code, I changed tolerance from .025 to 0 and the problem was fixed.
It could be nice if the demo source code mentions something about this tolerance.
Thanks for the swift reply!
Emile
finetjul
(Julien Finet)
October 3, 2019, 8:25am
4
Glad it works.
Feel free to submit a pull request with the suggested change