maplibre / maplibre-rs

Experimental Maps for Web, Mobile and Desktop
Apache License 2.0
1.34k stars 77 forks source link

3D object picking #262

Open maxammann opened 1 year ago

maxammann commented 1 year ago

When picking 3D objects we need to cast rays which intersect with 3d objects. A simple point query is no longer possible.

🤔 Expected Behavior

Picking 3d objects is possible.

😯 Current Behavior

We take the coordinate on the ground of the 3D world and then find the corresponding geomeetry.

💁 Possible Solution

??

🔦 Context

Pixel perfect picking is possible: https://snoozetime.github.io/2019/05/02/object-picking.html