City Rendering

Open Street Map video – Now in HD!

I decided the previous video could do with some improvements! This version now has a small route programmed for the camera to get rid of the jerky movement from the previous video. This video is also HD - in 1080p @ 48 fps as opposed to the previous 480p video. This video also introduces the rendering of… Continue reading Open Street Map video – Now in HD!

Advertisement
Building Heights, City Rendering

Building Heights!

We have heights! To improve the realism of the building/city rendering the next step I took was to parse the building heights from the Open Street map objects. The height tag is described on the OSM Wiki here. The main points are as following:  the "height" tag of the way returns the maximum height of the… Continue reading Building Heights!

City Rendering

Rendering Rooftops – Triangulating polygons

Now that we have the walls complete, I thought it would be a good time to move onto rendering the rooftops! Instead of having to triangulate the polygons myself, I looked online to find a triangular to do it for me. I stumbled across an old flipcode article that had a triangular in it. I simply… Continue reading Rendering Rooftops – Triangulating polygons

City Rendering

Rendering solid walls

Progressing Forwards At the end of the previous post I had processed the Openstreet map data - created polygon data for each building and then drawn these buildings using the GL_LINE primitives to give us a wireframe outline for the building as shown below: To take this to the next stage - the next task was to draw… Continue reading Rendering solid walls

City Rendering

Rendering Building Edges from Open Street Map

In my previous blog post, I shared how I converted objects the Open Street map data into a form in which I could begin rendering it using OpenGL - well in my case OpenGLES. At the end of the previous post I had a list of points that I simply converted into vertical lines and… Continue reading Rendering Building Edges from Open Street Map

City Rendering

Rendering Building Corners with Open Street Map

So I finally got rid of those cubes which I showed in the first blog and made some progress.  I started by creating a simple web service to query data from the overpass API - I mostly stole the request URL from the Vizicities source. I hope the creator (Rob Rawks) doesn't mind! The main steps that… Continue reading Rendering Building Corners with Open Street Map

City Rendering

City Rendering with OSM

Rendering Cities using OSM So lately I was feeling like getting back into messing around with some 3D "stuff". I recently came across Vizicities and was inspired to do something similar myself. The basic Idea is to render a city (in this case) using open source data from Open Street Map. One of the reasons I… Continue reading City Rendering with OSM