Following Mathias' suggestion at FS Weekend 2013, I've now changed the code such that it merges all buildings per (osm2city) tile into one object, reducing the number of drawables from O(10k) to O(10). That indeed gives a nice speed-up. In fact, I'm overwhelmed by what's possible now -- here's a scene looking down at LOWI from FL300 showing 60k buildings. I've lost LOD and textures underway, but will fix that soon. Plain Scenery 2.0 gives 19 fps on i7 Intel HD 5000 2560x1440. WIth buildings framerate goes down to 14.
This one went from 30 fps without buildings down to 20 fps.
Update 13 June 2014:
There are two texture packs now:
- The texture folder contains textures that will be used by the generated models. Distribute this to your users.
- The tex.src folder contains textures from which osm2city will create a texture atlas (which then will be stored in the above texture folder). You'll need this only if you are actually running osm2city.