153
edits
Portreekid (talk | contribs) (Added Package URLs) |
(devel status update Apr 2014) |
||
| Line 10: | Line 10: | ||
It has been tested with Dresden, Germany (EDDC) and Innsbruck, Austria (LOWI). Both areas are now populated with about 50,000 buildings. Rendering this in FG is quite demanding. The FG process eats ~2.8GB RAM when flying in those areas, the download is ~50 MB each. | It has been tested with Dresden, Germany (EDDC) and Innsbruck, Austria (LOWI). Both areas are now populated with about 50,000 buildings. Rendering this in FG is quite demanding. The FG process eats ~2.8GB RAM when flying in those areas, the download is ~50 MB each. | ||
== Status 04/2014 == | |||
[[File:LOWI with OSM buildings from FL300.jpg|thumb|Aerial view of LOWI, with 60k OSM buildings]] | |||
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. | |||
[[File:LOWI with OSM buidings one object per tile.jpg|thumb|Approaching LOWI, with 60k OSM buildings]] | |||
The second scene, approaching LOWI from the east, went from 30 fps without buildings down to 20 fps. | |||
== Status 10/2013 == | == Status 10/2013 == | ||
| Line 78: | Line 86: | ||
== Install == | == Install == | ||
* dependencies: Install the following packages (names from Debian packages): | * dependencies: Install the following packages (names from Debian packages): | ||
python-imposm python-imposm-parser python-numpy python-shapely python-matplotlib python-scipy | <del>python-imposm python-imposm-parser</del> python-numpy python-shapely python-matplotlib python-scipy | ||
* update 04/2014: Vanosten replaced the imposm parser by a pythons SAX | |||
* get [https://gitorious.org/fg-radi/osm2city osm2city] from gitorious | * get [https://gitorious.org/fg-radi/osm2city osm2city] from gitorious | ||
| Line 88: | Line 97: | ||
== Install on Windows == | == Install on Windows == | ||
osm2city is pure python, but it depends on imposm.parser for OSM parsing. Some users report problems with imposm.parser on Windows -- YMMV. In the future, we might replace imposm.parser with a standard XML parser. | osm2city is pure python <del>, but it depends on imposm.parser for OSM parsing. Some users report problems with imposm.parser on Windows -- YMMV. In the future, we might replace imposm.parser with a standard XML parser.</del> | ||
Install the following packages. | Install the following packages. | ||
edits