Commit b2fc2f12 authored by Thomas Albrecht's avatar Thomas Albrecht

more light maps

parent 5336d837
......@@ -99,7 +99,8 @@ tile_size=1000 # -- our tile size in meters
#infile = 'eddc-all.osm'; total_objects = 100000 # huge!
#infile = 'map.osm'; total_objects = 216 #
prefix="LOWI"
infile = prefix + '/buidings-xapi.osm'; total_objects = 5000 # huge!
#prefix="EDDC"
infile = prefix + '/xapi-buildings.osm'; total_objects = 50000 # huge!
# devel
check_overlap = False
......@@ -239,8 +240,8 @@ class wayExtract(object):
#maxlon=13.7467600
if prefix == "EDDC":
cmin=vec2d(13.63, 50.96)
cmax=vec2d(13.88, 51.17)
cmin = vec2d(13.63, 50.96)
cmax = vec2d(13.88, 51.17)
center = vec2d(13.7467, 51.0377) # -- EDDC
#
......@@ -350,7 +351,7 @@ def write_xml(fname, LOD_lists, LM_dict):
# -- lightmap
# not all textures have lightmaps yet
LMs_avail = ['tex/DSCF9495_pow2', 'tex/DSCF9503_noroofsec_pow2', 'tex/LZ_old_bright_bc2']
LMs_avail = ['tex/DSCF9495_pow2', 'tex/DSCF9503_noroofsec_pow2', 'tex/LZ_old_bright_bc2', 'tex/DSCF9678_pow2', 'tex/DSCF9710', 'tex/wohnheime_petersburger']
# FIXME: use Effect/Building? What's the difference?
for texture in LM_dict.keys():
......
......@@ -217,7 +217,7 @@ def init():
requires=['roof:color:black'],
provides=['shape:residential','age:old','compat:roof-flat','compat:roof-gable']))
facades.append(Texture('tex/wohnheime_petersburger_pow2',
facades.append(Texture('tex/wohnheime_petersburger',
15.6, (215, 414, 614, 814, 1024), True,
15.6, (112, 295, 477, 660, 843, 1024), True, True,
height_min = 15.,
......@@ -237,13 +237,13 @@ def init():
# 19.8, (173,329,490,645,791,1024), False, True,
# provides=['shape:residential','age:old','compat:roof-flat','compat:roof-gable']))
facades.append(Texture('tex/DSCF9710_noroofsec_pow2',
facades.append(Texture('tex/DSCF9710',
29.9, (142,278,437,590,756,890,1024), True,
19.8, (130,216,297,387,512), False, True,
provides=['shape:residential','age:old','compat:roof-flat','compat:roof-gable']))
facades.append(Texture('tex/DSCF9678_no_roof_items_pow2',
facades.append(Texture('tex/DSCF9678_pow2',
10.4, (97,152,210,299,355,411,512), True,
15.5, (132,211,310,512), False, True,
provides=['shape:residential','shape:commercial','age:modern','compat:roof-flat']))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment