Adjusted forest rendering and other blur factors. Added rooftop textures for building types.
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 1.8 MiB |
BIN
Textures/building/common/brd/b2.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 778 KiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 809 KiB |
BIN
Textures/building/common/ptc/b2_p1.png
Normal file
After Width: | Height: | Size: 893 KiB |
BIN
Textures/building/common/ptc/b2_p2.png
Normal file
After Width: | Height: | Size: 923 KiB |
BIN
Textures/building/industrial/brd/b1.png
Normal file
After Width: | Height: | Size: 2.1 MiB |
BIN
Textures/building/industrial/brd/b2.png
Normal file
After Width: | Height: | Size: 2.1 MiB |
BIN
Textures/building/industrial/ptc/b1_p1.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
Textures/building/industrial/ptc/b1_p2.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
Textures/building/industrial/ptc/b2_p1.png
Normal file
After Width: | Height: | Size: 992 KiB |
BIN
Textures/building/industrial/ptc/b2_p2.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
Textures/building/office/brd/b1.png
Normal file
After Width: | Height: | Size: 2.1 MiB |
BIN
Textures/building/office/brd/b2.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
Textures/building/office/ptc/b1_p1.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
Textures/building/office/ptc/b1_p2.png
Normal file
After Width: | Height: | Size: 862 KiB |
BIN
Textures/building/office/ptc/b2_p1.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
Textures/building/office/ptc/b2_p2.png
Normal file
After Width: | Height: | Size: 812 KiB |
43
defines.py
@ -45,7 +45,14 @@ mstr_shadow_shift = 24
|
||||
# The tags that cast shadows
|
||||
mstr_shadow_casters = [
|
||||
("landuse", "forest"),
|
||||
("leisure", "nature_reserve")
|
||||
("leisure", "nature_reserve"),
|
||||
("building", "semidetached_house"),
|
||||
("building", "apartments"),
|
||||
("building", "garage"),
|
||||
("building", "office"),
|
||||
("building", "retail"),
|
||||
("building", "industrial"),
|
||||
("building", "yes")
|
||||
]
|
||||
|
||||
|
||||
@ -96,6 +103,13 @@ mstr_ortho_layers = [
|
||||
("landuse", "military", "landuse", "residential-boundary"),
|
||||
# Z-Order 2
|
||||
("highway", "service", 6),
|
||||
("highway", "residential", 12),
|
||||
("highway", "footway", 4),
|
||||
("highway", "primary", 25),
|
||||
("highway", "secondary", 13),
|
||||
("highway", "tertiary", 20),
|
||||
("highway", "unclassified", 17),
|
||||
("highway", "living_street", 12),
|
||||
("waterway", "river", 10),
|
||||
("waterway", "stream", 10),
|
||||
("leisure", "nature_reserve", "landuse", "forest"),
|
||||
@ -111,17 +125,13 @@ mstr_ortho_layers = [
|
||||
("highway", "pedestrian", 4),
|
||||
# Z-Order 4
|
||||
("highway", "motorway", 32),
|
||||
("highway", "primary", 25),
|
||||
("highway", "secondary", 13),
|
||||
("highway", "tertiary", 20),
|
||||
("highway", "unclassified", 17),
|
||||
("highway", "living_street", 12),
|
||||
("highway", "residential", 12),
|
||||
("highway", "footway", 4),
|
||||
("railway", "rail", 5),
|
||||
# Z-Order 5
|
||||
("aeroway", "taxiway", 42),
|
||||
("aeroway", "runway", 80),
|
||||
("building", "semidetached_house", "building", "common"),
|
||||
("building", "apartments", "building", "common"),
|
||||
("building", "garage", "building", "industrial"),
|
||||
("building", "office", "building", "office"),
|
||||
("building", "retail", "building", "industrial"),
|
||||
("building", "industrial", "building", "industrial"),
|
||||
@ -152,12 +162,12 @@ mstr_mask_blur = [
|
||||
("leisure", "dog_park", 35),
|
||||
("leisure", "garden", 20),
|
||||
("leisure", "sports_centre", 15),
|
||||
("leisure", "pitch", 10),
|
||||
("leisure", "pitch", 5),
|
||||
("landuse", "farmland", 15),
|
||||
("landuse", "farmyard", 15),
|
||||
# Z-Order 2
|
||||
("landuse", "forest", 30),
|
||||
("leisure", "nature_reserve", 30),
|
||||
("landuse", "forest", 15),
|
||||
("leisure", "nature_reserve", 15),
|
||||
("landuse", "military", 30),
|
||||
# Z-Order 3
|
||||
("natural", "bare_rock", 25),
|
||||
@ -187,10 +197,13 @@ mstr_mask_blur = [
|
||||
# Z-Order 5
|
||||
("aeroway", "taxiway", 12),
|
||||
("aeroway", "runway", 12),
|
||||
("building", "office", 4),
|
||||
("building", "retail", 4),
|
||||
("building", "industrial", 4),
|
||||
("building", "yes", 4)
|
||||
("building", "semidetached_house", 3),
|
||||
("building", "apartments", 1),
|
||||
("building", "garage", 1),
|
||||
("building", "office", 1),
|
||||
("building", "retail", 1),
|
||||
("building", "industrial", 1),
|
||||
("building", "yes", 1)
|
||||
]
|
||||
|
||||
|
||||
|
@ -184,6 +184,7 @@ class mstr_maskgen:
|
||||
mstr_msg("mstr_maskgen", "Mask built.")
|
||||
|
||||
|
||||
#mg = mstr_maskgen([51, 1, 7, 1], 0.0100691262567974, "building", "yes", False)
|
||||
#mg = mstr_maskgen([51, 1, 7, 1], 0.0100691262567974, "natural", "bare_rock")
|
||||
#mg = mstr_maskgen([51, 1, 7, 1], 0.0100691262567974, "highway", "track")
|
||||
#mg = mstr_maskgen([51, 1, 7, 1], 0.0100691262567974, "landuse", "forest", False)
|
||||
|