Osm2city.py: Difference between revisions

Jump to navigation Jump to search
troubleshooting
m (filed status sections under news)
(troubleshooting)
Line 202: Line 202:
* <del>copy roads.eff to the same Objects\e0XXnXX\e0XXnXX\ directory</del> roads.eff is copied automatically
* <del>copy roads.eff to the same Objects\e0XXnXX\e0XXnXX\ directory</del> roads.eff is copied automatically
* Band-aid fix for the roads is to adjust their height in roads.py change AGL_ofs to a higher number e.g. 0.5
* Band-aid fix for the roads is to adjust their height in roads.py change AGL_ofs to a higher number e.g. 0.5
== Troubleshooting ==
* Buildings are generated, but they sit below the ground. I'm using ELEV_MODE = FgelevCaching.
Try running fgelev directly:
[code]
/path/to/fgelev --expire 1000 --fg-root $FG_ROOT --fg-scenery $FG_SCENERY
[code]
then enter
[code]
0 $lon $lat
[code]
where $lon and $lat are coordinates in the area you want to generate. See if it returns a sane value. If it does, double-check PATH_TO_SCENERY.
* Buildings/roads have no texture.
copy or link the tex/ folder into the objects folder where the .stg files were created, such that you have $FG_SCENERY/Objects/eXXXnXX/eXXXnXX/tex/.


== Improve frame rate ==
== Improve frame rate ==
153

edits

Navigation menu