Hello Sebastian,
thank you for your quick reply. Let me re-explain my question. The main point is the navigation system. I am looking for something like the following: - There is a 2D map (we dont care now about how the map has been made). - The system gets the map as an input with a starting point and a destination. - The system has to calculate the shortest route (maybe with A* algorithm or similar) from the starting point to the destination, and avoiding obstacles (that are defined in the map). Lets think in static obstacles only. - The map and the route have to be displayed in the OSG scene (in the HUD, for example, but thats not a problem for me). So, I need to know if there is a way to define the map with obstacles (with coordinates of whatever), load it into any library, calculate the route and transform the coordinates of the map and the route into something that can be displayed into OSG. Thank you. Cheers From: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Messerschmidt Sent: miércoles, 20 de febrero de 2013 10:09 To: OpenSceneGraph Users Subject: Re: [osg-users] GPS-like map Hello Héctor, It is not quite clear for me, which part you are trying to achieve. If you are referring to the creation and the display of a HUD, take a look at the osgHUD example. For creation of a map, you could display parts of your scene from a bird's eye perspective inside the HUD/Slave-camera (orthographic camera) If you really need something like a 2D map, you'll have to create the map-data somehow. I could think of projecting the scene on a plane, or let the modeler/artist create an outline-representation of the 3d-world. cheers Sebastian Hello, I am wondering if there is any OSG-friendly library to create a GPS system (like those GPS HUDs in many games, e.g. GTA). What I am looking for is a library (or combination of libraries) that allows the creation of the map, the calculation of the route from origin to destination and the display of the map in OSG. I dont know if there is any previous attempt to create this or if there are good libraries about it, but it would be nice if somebody could give me a hint on where to start looking at. Thank you in advance. Cheers! _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

