Monthly Archives: December 2015

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 […]

Calculating normals + lighting

Lighting Basics The next step I took to improve the rendering was to add in lighting. Until now I had just gave everything a normal of “up”. This meant that every surface of the building had the same brightness as the normal represents the direction the surface is facing. Basic is lighting is done by […]