CellPicker example glitch


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,

You might want to play with the tolerance of the cell picker functions to see if that improves things.


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!

Glad it works.

Feel free to submit a pull request with the suggested change :slight_smile: