PlaceNode is visible but not reachable when selecting #2484
-
I have more than 800 point to show on the OSGEarthWidget. The widget is very slow if i added these 800 points of PlaceNode to the view root node directly so i group every 5~10 points under a new group node and add these group nodes to the root node. now, I want the user to be able to pick one of these PlaceNodes but it seems OSG does not find it by the IntersectionVisitor.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
PlaceNodes (and other osgEarth annotations like LabelNodes) don't work with the OSG intersect visitor because they are screen-space objects. Instead you can try the osgEarth |
Beta Was this translation helpful? Give feedback.
PlaceNodes (and other osgEarth annotations like LabelNodes) don't work with the OSG intersect visitor because they are screen-space objects. Instead you can try the osgEarth
RTTPicker
. There's example usage in theosgearth_pick
application. Good luck.