110 Commits

Author SHA1 Message Date
ce7682ac5f Amendment to adjust for larger Perlin tiles, increased render size for Perlin maps to make sure a tile is fully rendered 2025-02-06 19:37:33 +01:00
75c768666b Fixed issue in defines.py 2025-02-06 19:32:50 +01:00
ef5fba6345 Added mechanism to remember the resource used in case affected water tiles needed re-rendering. 2025-02-06 19:01:58 +01:00
9ee77b9032 Improved renderer to produce even more realistic results. 2025-02-05 22:02:06 +01:00
3402d2f2a8 Another correction to farmland lines 2025-02-04 15:21:16 +01:00
fbb7112388 Change to maskgen for farmland lines. 2025-02-04 15:11:59 +01:00
4cb47938b3 Number check call updated 2025-02-04 08:23:36 +01:00
aacaf84f19 Conflict solution 2025-02-04 08:23:07 +01:00
e3c8e6bd14 Correction in number/float detection for floors, as it caused another crash in overnight rendering. 2025-02-04 08:18:21 +01:00
5adb6733ef Correction in number/float detection for floors, as it caused another crash in overnight rendering. 2025-02-04 08:10:57 +01:00
6f9d8d9dd5 Added README.md . Minor adjustments to core files. 2025-02-03 22:33:14 +01:00
6bfec00846 Final adjustment to forest and farmland rendering. 2025-02-02 22:50:40 +01:00
6b66715334 Adjusted forest rendering to make those appear a bit more realistic, while retaining Perlin noise coloring 2025-02-02 20:43:28 +01:00
b3d5fca112 Fixed critical issue at which all natural:water was removed, which does not need to be the case for all orthos. Implemented new mechanism to check against existence of an empty file to selectively run the water removal mechanism. 2025-02-02 14:16:38 +01:00
8f08b3dfb3 Re-enabled function to bulk-generate OSM data without rendering tiles (to offer the data packs) 2025-02-02 12:31:14 +01:00
bef92f82fa Switched back to png in normal map string 2025-02-02 10:49:45 +01:00
ec0dbe8cf1 Re-enabled normal map generator, but only for water bodies. Likely commit for stable release. 2025-02-01 17:28:35 +01:00
88905ac509 Perlin-noise based renderer fully functional. perlin.py adjusted to produce fully dynamic Perlin noises, per resource. Scenery generated to produce proper ZL16 tiles. Correction for incorrectly rendered water bodies in photogen.py . Removed waterway:stream from rendering as it is no actual geographical feature. 2025-02-01 16:39:41 +01:00
9eddb97425 Corrections to amount of small trees and their shadow rendering. Test of render successful. Adjustment to base Perlins required for some tags. 2025-01-27 21:56:59 +01:00
05265e8136 Code for Zoom Level 16, and Perlin-map based ortho generation. Not entirely complete, but initial test working correctly. Liners for some elements need corrections. 2025-01-26 21:57:50 +01:00
c584aa0838 Change to ZL16, initial Perlin noise class and first steps to have Perlins generated for all tags. 2025-01-20 21:59:27 +01:00
c77002b930 Change to zoom level 16, attempt to generate contour maps for each OSM tag. Not yet complete. Perlin implementation to follow. Switched to local storage of XML data. 2025-01-17 20:31:56 +01:00
e82ecc9d32 Transition to image-based contour detection for resource allocation. Allocation of resources not yet implemented with this code. Contour detection requires opencv-python to be present. 2025-01-10 12:59:36 +01:00
cf25d45789 Another change to resource allocation 2025-01-03 11:47:28 +01:00
ce631dc9f9 New mechanism for resource allocation 2025-01-03 11:07:18 +01:00
f460964722 Further corrections in resource allocation code 2024-12-31 16:22:52 +01:00
4ab426308b Issue of incorrectly assigned resources appears to be fixed. Complete tile to be tested. 2024-12-28 19:59:26 +01:00
c2d4915114 Another attempt to correct resource placement discoloration 2024-12-24 09:05:27 +01:00
59cae087a4 Correction in completion image code 2024-12-22 18:03:48 +01:00
0b9d8433a6 Attempt to make the fill of empty space look more realistic, hopefully fixed a contrast issue for some tags 2024-12-22 12:37:21 +01:00
58f626abe1 Removed cache clearing at the end of genphoto 2024-12-21 19:34:25 +01:00
c7f96e7783 Intricate details for buildings. Adjustments to tree generation. Removed textures to make them available in a separate package. 2024-12-21 18:18:49 +01:00
3de9058cc6 Fine-tuned tree generator in photogen 2024-12-20 21:40:55 +01:00
5f214308c4 Color averaging for trees being generated in final step, to make them blend better with actual forest color 2024-12-20 19:30:02 +01:00
eb68996385 Corrected typo in line 158 2024-12-20 14:09:34 +01:00
4434ad004c Correction in srcstr line for contrast finding 2024-12-20 14:07:56 +01:00
01e53bdcde Contrast values moved into separate file to make sure values only appear once. Appropriate adjustments toward that in layergen. Made sure trees do not get placed in water in photogen. 2024-12-20 14:05:48 +01:00
b29bc3b0d2 Production-ready change to building rendering 2024-12-19 16:20:58 +01:00
3bdf595173 Change in building rendering to a different texture set 2024-12-19 13:38:15 +01:00
8b027cf096 Different approach to resource placement raytracing, several layergen fixes, adjustments to photogen, new logging type. 2024-12-19 12:16:21 +01:00
b07caba79d Made sure generated patches are not bigger than the ortho itself 2024-12-18 10:37:16 +01:00
5cc9819dba Corrections to patch generation code for some features 2024-12-18 09:57:24 +01:00
70e895692c Added resource generator class 2024-12-17 17:21:55 +01:00
2278fe3b0a Massive commit. Raytracer for tile preparation. Resource generator. Everything moved into RAM for processing. 2024-12-17 17:18:05 +01:00
aae81c58e9 Re-enabled download of elevation, activated proper code in orthographic.py 2024-12-03 16:23:52 +01:00
c3b9c38b74 Fixed a critical issue with XML number handling, added missing taxiways for airports 2024-12-03 09:58:19 +01:00
a58bd71d46 Adjustment to photogen, added missing textures 2024-12-02 07:26:25 +01:00
7b7aff4acf Made sure that the XML parser gets valid XML as otherwise the check lead to crashes in the code that generates the orthos 2024-12-01 15:55:34 +01:00
8774e3b6ac Final normal map generation modification. Original result without multiplier appears to be best in X-Plane 12. 2024-12-01 11:46:16 +01:00
8a9dfd05f4 Normal map moved to end of ortho pipeline. Water is no longer rendered underneath, but makes use of normal maps. Physics model in orthos fixed. Testing of normals outstanding. 2024-11-30 22:13:58 +01:00