Please provide the following info:
Hardware Platform: DRIVE AGX Pegasus™ Developer Kit
Software Version: DRIVE Software 10
Host Machine Version: native Ubuntu 18.04
SDK Manager Version: 1.4.0.7363
In render_engine
sample, clicking on tiles shows an {x, y, z} coordinate that is generated based on the clicked screen position using dwRenderEngine_screenToWorld3D
.
It seems that the world coordinate always has z=0.
What I need to do is click on a point after rendering a point cloud with DW_RENDER_ENGINE_PRIMITIVE_TYPE_POINTS_3D
and get the 3D coordinates of a point close to where the mouse is clicked.
Is screenToWorld3D
the correct approach, or is there a different way?