Osm2city.py: Difference between revisions

Jump to navigation Jump to search
1,769 bytes added ,  14 June 2014
m (where to put tex folders)
Line 13: Line 13:


== Status 06/2014 ==
== Status 06/2014 ==
I'm currently adding textured roads, railroads, intersections and bridges.  
I'm currently adding textured roads, railroads, intersections and bridges.
 
{{FGCquote
  | the shader is now on osm2city's git (in fgdata/). Again -- all credit goes to Emilian. He is improving the shader side, I will continue on the model side. So this is very much work in progress.<br><br>The shader requires the default renderer. No ALS/Rembrandt yet.<br><br>Get the LOWI roads pack (including the shader) here:<br>[https://dl.dropboxusercontent.com/u/24846517/fg/osm2city/LOWI_roads.tar.gz https://dl.dropboxusercontent.com/u/24846517/fg/osm2city/LOWI_roads.tar.gz]<br><br>The fgdata/ folder goes to your $FGDATA.<br>In roads.xml enable either the lightmap or the traffic shader.
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=212460#p212460
    |title=<nowiki>Re: osm2city.py development</nowiki>
    |author=<nowiki>radi</nowiki>
    |date=<nowiki>Fri Jun 13</nowiki>
  }}
}}
 
{{FGCquote
  |Creating your own road network is a bit cumbersome ATM, I'll try to make it more general in the next few days. But if you're really, really keen on it: <br><ul><li> get latest osm2city git</li><li> run roads.py -f your-parameters-file.</li><li> if you also create buildings, make sure to use the same BOUNDARY_* parameters for both osm2city.py and roads.py. Otherwise, buildings and roads might be misaligned. Basically, if your OSM file contains both roads and buildings, you can just use one parameters file.</li><li> roads.py will print an OBJECT_STATIC line, add this to your .stg </li><li> copy roads.ac to your scenery</li><li> copy roads.xml and tex/ from the LOWI roads pack to your scenery</li></ul>
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=212460#p212460
    |title=<nowiki>Re: osm2city.py development</nowiki>
    |author=<nowiki>radi</nowiki>
    |date=<nowiki>Fri Jun 13</nowiki>
  }}
}}


== Status 04/2014 ==
== Status 04/2014 ==

Navigation menu