Implementing Raycasting for 3D Labeling/Annotation in Deck.gl Point Cloud Viewer #9546
Unanswered
iamravisingh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Deck.gl Team and Community,
We've developed a React-based web application that uses Deck.gl to render point cloud data, providing first-person and orbit view navigation. We're now looking to add 3D labeling/annotation functionality to enable tasks like segmenting objects (e.g., cropping pillars or columns) within the point clouds.
We understand that raycasting is a crucial technique for enabling interactive 3D selection and annotation. However, we haven't implemented raycasting in our application yet and are seeking guidance on how to get started with it within the Deck.gl context.
Our goal is to use raycasting to enable the following:
Bounding Box Creation (Raycasting-Assisted):
Cylinder Creation (Raycasting-Assisted):
Region/Volume Selection:
Performance Optimization:
We're working with potentially large point cloud datasets. We'd like to understand any Deck.gl-specific optimizations or techniques for efficient raycasting.
We need guidance on spatial indexing structures, that will improve performance.
Specifically, we'd appreciate guidance on:
How to implement raycasting in a Deck.gl application:
Integrating raycasting with Deck.gl's PointCloudLayer:
Converting raycasting results into 3D coordinates:
`How can we translate the raycasting output (intersection points, distances) into the 3D coordinates of the selected points?
`Visualizing annotation shapes (bounding boxes, cylinders) in Deck.gl:
Are there any examples or code snippets that demonstrate how to implement raycasting for point selection or 3D annotation in Deck.gl?
We are eager to learn how to implement raycasting and leverage its capabilities for 3D labeling in our application. Any help or suggestions from the Deck.gl team and community would be greatly appreciated.
Below are 2 different viewers being implemented i.e orbit and firstpersion view for your reference.
OrbitView
FirstpersoinView
Thank you for your time and expertise.
Beta Was this translation helpful? Give feedback.
All reactions