After loading individual STL structures into my 3-D viewer using three.js, I would like the ability to click on each structure and have a name tag appear when hovering over it.
I believe this functionality may be related to the coordinate point of the object or possibly the total surface area. Utilizing an onMouseClick eventHandler might be a solution, but I am uncertain.
Are there any sample codes or open source resources available that demonstrate this feature?
Thank you!!