You are not logged in.

#1 2010-10-28 13:34:27

KLL
Member
Registered: 2010-06-09
Posts: 6

hardware accelerated real-time rendering

Hello everyone,
I've developed an application for real-time osm file visualization. It takes a country extract or any smaller osm file (size really depends on amount of ram available, up to 6gb osm files with 4gb of ram), and renders it in real-time using graphic card for hardware acceleration. No map tiles are used or created. I've made a small web presentation that should explain the idea http://osmrealtimerenderer.freehosting.com/
Application is downloadable and fully functional. Very simple to use.
Please let me know if there is anyone interested in this.

Last edited by KLL (2010-10-28 14:51:42)

Offline

#2 2010-10-29 10:22:28

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: hardware accelerated real-time rendering

Very cool!

Are you using the mapnik render stylesheet by any chance or have you defined your own stylesheet?

I assume that there would be a lot of interest from the Mapnik community if this could work under Linux as well (I know this is a .NET and DirectX implementation). Do you see possibilities for a portable version?


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#3 2010-10-29 10:49:16

pberck
Member
Registered: 2008-09-16
Posts: 111

Re: hardware accelerated real-time rendering

Yes, cool!

(Unfortunately, I have no Window computer, only Linux and a mac.)

-peter

Offline

#4 2010-10-29 15:59:44

KLL
Member
Registered: 2010-06-09
Posts: 6

Re: hardware accelerated real-time rendering

Everything except for the actual osm data is custom made. I did look at mapnik images to figure out what colors to use, though.
It only works on windows platform for now. I have no experience in linux programming. I will post a screen recording on youtube to show the features to people who don't have windows, or simply do not want to bother downloading application and maps.
What I would like to do right now, is to add a link to my presentation somewhere on this page http://wiki.openstreetmap.org/wiki/Main_Page, so more people can see my work. How can i do that? Am I supposed to ask someone for permission or something? Who maintains that web page anyway?

Offline

#5 2010-10-29 16:57:05

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: hardware accelerated real-time rendering

Well, it's good to have a Windows application that's easy to use (and fast too) because most of the OSM tools are mainly Linux based. So it depends a bit on what your target audience is: if you want to see ordinary people use your app then Windows is best. If you want to have your app used to provide e.g. much of the rendering on websites etc. then a Linux app is highly preferred.

For creating more awareness of your application: I think it's best to create a wiki page for your application and add a nice screenshot there. It's convention to nominate the image of the week on another page.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#6 2010-10-29 19:45:24

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,634
Website

Re: hardware accelerated real-time rendering

Live rendering is likely a key technology for OSM: It makes the ability to easily access the raw data much more relevant, which emphasizes one of the primary features of OSM. It would also solve issues like map localization, so it's great that we are seeing some progress in that area. While I haven't tested your application (Linux user), the screenshots look like a good start.

I support Lambertus' suggestion of creating a page about your application on the OSM wiki. Also add the usual templates and categories to it so your software will more easily be discovered. You can copy & paste one of the existing application pages to get started.

Moreover, you should think about adopting one of the existing render style file formats, at least if you want to support configurable map styles. Being able to use the same styles for multiple applications would be very useful, and future tools (such as render style editors) could work for a wide range of applications. As an alternative to the Mapnik format, you could also try to work with with the rather new, but promising MapCSS.

Lambertus wrote:

if you want to see ordinary people use your app then Windows is best.

Well, you have to be aware that many of the OSM developers and some experienced mappers use Linux - and it's desirable to have mappers actually use your application, because then they will care about whether it works with their data. So even if your users are mostly on Windows, cross-plattform development would (imo) be preferable for an OSM application. But of course that's almost impossible with .NET and DirectX, and being able to use a familiar framework can be more important than that disadvantage.


OSM in 3D: OSM2World

Offline

#7 2010-10-30 12:33:42

KLL
Member
Registered: 2010-06-09
Posts: 6

Re: hardware accelerated real-time rendering

I've created a wiki page here http://wiki.openstreetmap.org/wiki/Hard … _rendering
and also aded info here http://wiki.openstreetmap.org/wiki/Feat … _proposals  and here  http://wiki.openstreetmap.org/wiki/Rendering
I hope that's all ok, I've never used this site before.
Here is the short video clip showing the application in action http://www.youtube.com/watch?v=vpoiUKBV6D0. How do I embed it in wiki page?
Capturing software makes it look choppy, but it actually runs very smooth smile

Last edited by KLL (2010-10-30 12:37:32)

Offline

#8 2010-10-30 13:04:44

!i!
Member
Registered: 2009-11-28
Posts: 3,311
Website

Re: hardware accelerated real-time rendering

Thanks a lot man, like a good documentation smile

Has anybody ideas which processes can be accelerated using direct GPUs (e.g. CUDA Framework) for number crunching?


privater Account von KVLA-HRO-Mei

Offline

#9 2010-10-30 13:31:57

MikeN
Member
Registered: 2009-09-03
Posts: 326

Re: hardware accelerated real-time rendering

Wow - that's a fantastic application!

Offline

#10 2010-10-30 21:32:55

aighes
Member
From: Shanghai
Registered: 2009-03-29
Posts: 5,280
Website

Re: hardware accelerated real-time rendering

Great Application. Very Useful. Would it be possible, to use additional to .osm-Format the new osm.pbf-Format. It's binary, so its very much smaller filesize than osm-Format.


Viele Grüße
Henning, developer of RadReiseKarte

Offline

#11 2010-10-30 22:57:15

Arceny
Member
From: Bryansk, Russia
Registered: 2010-10-19
Posts: 97
Website

Re: hardware accelerated real-time rendering

Download link does not work.

Offline

#12 2010-10-31 02:19:17

KLL
Member
Registered: 2010-06-09
Posts: 6

Re: hardware accelerated real-time rendering

aighes wrote:

Great Application. Very Useful. Would it be possible, to use additional to .osm-Format the new osm.pbf-Format. It's binary, so its very much smaller filesize than osm-Format.

Once the osm data is imported to my binary file format, the original osm file is no longer needed. Map in this format takes around 10% size of the original osm file. I will check out that pbf format, though.


Arceny wrote:

Download link does not work.

Sorry about that. Turns out there might be some legal issues. I will make the application publicly available again, as soon as I get approval from the company I work for.

Offline

Board footer

Powered by FluxBB