Skip to content

This is example of OSM data viewer implemented based on OpenSceneGraph library.

License

Notifications You must be signed in to change notification settings

shajder/UrbanViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is example of OSM data viewer implemented based on OpenSceneGraph library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published