Added: 1 year ago
From: gptrebbin
Views: 900
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (5)

Sign In or Sign Up now to post a comment!
  • can you explain how did you o about doing the 3d rendering using OSM data..you said you ae using opengl but I would like to know where to start from. Thanks

  • @suissehop To do the 3d rendering I first generated a set of map tiles using mapnik. There are some good instructions on doing this part in the developers section of the OSM web site. Basically you need a database with all the data, a program is then used to render the images. This is most easily done in Linux. I did it in a virtual machine because I didn't have a Linux box. The images can be downloaded as is if you are happy with their tiles. It is pretty fiddly doing it yourself.

  • @suissehop The tiles are used as textures to render surfaces in an openGL scene. When moving around in the scene the tiles change so that there aren't too many in memory at a time. This is about 10000 lines of c++ code. Probably a bit bloated. There may be simpler ways in other languages..

  • @gptrebbin Thanks buddy for replying. Yes planet OSM tiles are around 11GB in size. So your application is running on linux using opengl. Can you reference some links to documentations on how to start coding such cool apps? I am using OSM for web app and I want to convert these tiles into 3d using php. So I need guidance to start in a right manner rather than going here and there. Thanks again

  • @suissehop sorry, can't help you with that one. I don't really know much about php.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more