Distance between 2 points on mesh
Open
auto-migrated
Priority-Medium
Type-Defect
- Dominant language
- HTML
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
Hello,
I am trying to make a viewer of mesh object (stl) where we can pick 2 points on
the screen and calcul the distance. Currently I try using the onmousedown event
of the view, I got a PickInfo object with x,y, depth and the clicked mesh. But
the depth is always -infinity. (I use webgl renderer) I looked into the
jsc3d.js and found the the depth is not set when using webgl.
It is possible to retrieve the position (x,y,z) of a pick point on a mesh ?
Thank you.
```
Original issue reported on code.google.com by `FAcarig...@gmail.com` on 9 Mar 2015 at 10:01
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.