Osm2city.py textures: Difference between revisions

Jump to navigation Jump to search
Line 24: Line 24:


File naming:
File naming:
* A suffix "_LM" denotes a lightmap for a texture (needs to have an otherwise exact same name)
* A suffix "_LM" denotes a light-map for a texture (needs to have an otherwise exact same name)
* A suffix "_MA" can be used for a mask pre-processing a lightmap. The file is not used in the texture atlas, but can be handy to keep.
* A suffix "_MA" can be used for a mask pre-processing a light-map. The file is not used in the texture atlas, but can be handy to keep.
* A prefix of "roof_" is used for textures of roofs.  
* A prefix of "roof_" is used for textures of roofs.  


Line 31: Line 31:
* All roofs shall be registered in the default file "roofs_default.py" in the top level directory.
* All roofs shall be registered in the default file "roofs_default.py" in the top level directory.
* Textures for facades can be registered in different files, but it is recommended to use fewer rather than many files - maybe just one file per region within the region specific directory.
* Textures for facades can be registered in different files, but it is recommended to use fewer rather than many files - maybe just one file per region within the region specific directory.
Spelling (osm2city tries to convert automatically, but no guarantees):
* Use gr'''e'''y, not gr'''a'''y
* Use col'''ou'''r, not col'''o'''r


== texGUI.py ==
== texGUI.py ==
671

edits

Navigation menu