Reputation: 499
I want to make measuring tape look like the image below:
Here the link to product on image: Link, they use Webgl too, but not Three.js
So, How to make measuring tape for 3d model in Three.js?
Thanks.
Upvotes: 2
Views: 2035
Reputation: 19602
By using this example as reference you should be able to figure out where in the geometry you're clicking.
Having those points then is just a matter of doing this:
var distance = point1.distanceTo( point2 );
Upvotes: 7