]> marstr Code Repo - orthographic/commitdiff
Added small streams to be cut from the image to have X-Plane show it as real water
authorMarcus Str. <marcus@marstr.online>
Sat, 5 Oct 2024 20:54:53 +0000 (22:54 +0200)
committerMarcus Str. <marcus@marstr.online>
Sat, 5 Oct 2024 20:54:53 +0000 (22:54 +0200)
defines.py
photogen.py

index d8cb0cad4ed3d7afeda7773e2729fd0352023fc4..ab30c06fc7b2b2dfe81ab08abf12d29eb9f05d07 100644 (file)
@@ -248,7 +248,7 @@ mstr_mask_blur = [
     ("water", "river", 10),\r
     ("leisure", "swimming_pool", 10),\r
     ("waterway", "river", 10),\r
-    ("waterway", "stream", 10),\r
+    ("waterway", "stream", 2),\r
     ("amenity", "parking", 1),\r
     ("amenity", "school", 1),\r
     ("highway", "pedestrian", 12),\r
index 95307152b1e554491503fb67b7fa9a39adaf903f..df73ee8ba982653ef8fab1606b71cce9df28ecbc 100644 (file)
@@ -153,7 +153,8 @@ class mstr_photogen:
             ["water", "lake"],\r
             ["water", "pond"],\r
             ["water", "river"],\r
-            ["leisure", "swimming_pool"]\r
+            ["leisure", "swimming_pool"],\r
+            ["waterway", "stream"]\r
         )\r
         for l in water_layers:\r
             fn = mstr_datafolder + "_cache/" + str(self._lat) + "-" + str(self._ty) + "_" + str(self._lng) + "-" + str(self._tx) + "_" + l[0] + "-" + l[1] + "_layer_mask.png"\r