Interactive Pointer and Marker
This example demonstrates how to create an interactive 3D scene where users can click on objects to place markers. It shows:
- Loading and displaying a PLY point cloud (Porsche car model)
- Handling pointer events to place red sphere markers at click positions
Code Example
Marker Event Handler
The ADD_MARKER event handler listens for pointer clicks and places a red sphere at the clicked position. Each marker is a sphere with radius 0.1.