Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.09 KB

README.md

File metadata and controls

27 lines (14 loc) · 1.09 KB

UrbanViewer

Result footage

This is an example of OpenStreetMap data viewer implemented based on the OpenSceneGraph library.

Main idea of this small project is to visualize urban areas of large cities with a single instanced box.

As input data OpenStreetMap shapefiles and pbf were converted to tiled LODs with instanced textures attached to box geometry underneath.

Ground layer was also generated based on OpenStreetMap data with a separate off-screen tool.

Additionally two major effects were applied:

-PSSM shadowing which is an improved technique inherited from the OpenSceneGraph project. Instead of N-parallel split passes we can use a single Layered pass which is rendered through FBO into Texture2DArray.

-Ambient Occlusion adapted to OpenSceneGraph from this project: https://github.com/nvpro-samples/gl_ssao

Before first launch:

-As an addition to the project one city model is included. Unpack .zip file first.

-Set Command line: --city London

If you need more info feel free to contact me at marcin.hajder [at] gmail.com