Highlight/Snap the vertex of geometry on mouse hovering

@prisoner849 How about this?

A rough example with using of barycentric coordinates of faces of a non-indexed buffer geometry (an STL-model from examples):
https://jsfiddle.net/prisoner849/jx9rfq5n/

What about this? Works as expected :smiley:

1 Like

@prisoner849 I love you dude

@prisoner849

Iā€™m working on combine these two pens of yours. Iā€™m not real familiar with Three.js yet but is the

camera.position.setScalar(7);

have anything to do with the placement of each of the spheres for the hovering and the click to get the line drawn to measure?