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