Hello guys,
I want a function to view the terrain shape and measure its height. How can I draw a line from 2 points on the surface of the model.
Can anyone give me some directions. Any information is precious to me.
Thanks.
One of solution is using geometry intersection. Line like thin box.
https://raw.githack.com/anhr/commonNodeJS/master/intersections/Examples/index.html
Or decals: three.js examples
@vacsHoai did any of the suggestions here work for you? I am trying to do the same thing (draw a surface line and do a measurement), but with a more complex mesh. Thanks!