how to correctly transform 3D point cloud positions #2425
Unanswered
radoslavirha
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Yes... without having time to look into details at this time, I suspect that having some transformPoint type methods on the Tile3D helper classes for working with individual points in the tiles coordinate system cold make a lot of sense. The matrices should all be there just having a methods that relieves the burden of figuring out how to use them from the user. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to pick some points around cursor and highlight them and do some postprocessing in deck.gl.
Basically I'm trying to pick visually closest points to cursor with
pickObjects
which does not return WGS coordinates but points indexes.I can find positions in
object.content.attributes.positions
and choose correct one by index, but I think it needs to be transformed/rotated. I'm facing similar issue than visgl/deck.gl#5714 (comment).So how can I
position
correctly, which matrix from Tile3D should I use? Is the position only offset from cartesianOrigin?Ellipsoid.WGS84.cartesianToCartographic(transformed, new Vector3())
somewhere in loaders.gl code but when I render those point with PointClouLayer it's rotated as in ^^ commentThanks
Beta Was this translation helpful? Give feedback.
All reactions