66 Commits

Author SHA1 Message Date
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
43d00df062 Removed O4XP-like mask generation, fixed inland water cutting instead by passing water layers for cutting to photogen 2024-11-29 20:54:18 +01:00
642b42de1e Ortho4XP-like approach to generate water masks. I may roll this back if it does not work. 2024-11-29 17:24:32 +01:00
10d00169fe Milestone commit: xp_scenery class able to generate pixel-perfect and vertex-perfect ortho meshes. This is the missing step for X-Plane. Large-scale testing to commence. 2024-11-28 22:28:39 +01:00
2bfcabab0c Updated repoinfo to contain version information about Pillow, removed unnecessary call from xp_normalmap.py 2024-11-17 11:50:53 +01:00
ca02337f23 Removed comments in some code, updated repoinfo 2024-11-17 09:11:52 +01:00
9631df0150 Further adjustment to repoinfo 2024-11-16 15:46:43 +01:00
2c89e14e78 Updated repoinfo 2024-11-16 15:43:19 +01:00
88bcdf4a7a Milestone commit - switch to mostly in-memory management, and functioning multi-processing for ortho generation 2024-11-16 15:20:00 +01:00
fc88947768 Initial step toward all-in-memory management, osmxml is now completely in-RAM driven. Remaining parts to follow. Initial changes to all other elements toward preparation-then-render approach. 2024-11-12 20:25:46 +01:00
925f7bee27 XML handling moved completely into memory for performance. Initial commit of tileprep class in preparation for ortho generation redesign 2024-11-12 12:44:22 +01:00
9d67334908 Added landuse:construction as OSM tag and value as it was missing in photo generation 2024-10-25 17:38:45 +02:00
bd2594221d Last minor adjustments and a needed feature for PBF generation (needed for a later stage) 2024-10-18 21:48:24 +02:00
817d65639d Further fine tuning to rendering and layering, added subtle details to different kinds of buildings for more realism 2024-10-12 21:18:39 +02:00
265197d295 Corrections to shadow sharpness, made sure shadows of buildings appear below forests 2024-10-09 21:12:37 +02:00
0cbc59fd61 Added addendum to license 2024-10-09 17:25:11 +02:00
be750bd53c Added textures. Changes to shadow generation. Refinements to layers and blurs. Made sure roads appear correctly. Removed streams for inland cutting as those are barely visible on actual satellite images. Proper testing to be done, close to public release. 2024-10-08 21:20:51 +02:00
10e87db4a0 Correction to make streams appear correctly. Refinement to streets, roads, highways. Corrected bug in orthographic main class so that it renders correct amount of latitude and longitude tiles/orthos. 2024-10-06 23:16:06 +02:00
10a078b9f1 Correction to layergen to include streams for inland cutout 2024-10-05 23:03:41 +02:00
d4aaa36ca0 Added small streams to be cut from the image to have X-Plane show it as real water 2024-10-05 22:54:53 +02:00
f0820fb175 Needed to modify layergen so merge residential areas into the layer, as otherwise this conflict of layering was not solvable. Adjustment to buildings in photogen to give buildings a slight outline. 2024-10-05 22:47:04 +02:00
3b7abe6017 Further refinements in layer order 2024-10-05 11:29:24 +02:00
b0f4a81aca Further fine-tuning to layering and completion generation ahead of release 2024-10-05 09:45:04 +02:00
08019c5db3 Changes to layer generation, namely meadow generation to make it more realistic, completion of a tile changed, moved residential layer to be the last one in the generation to combat an issue of houses "floating" in forests 2024-10-04 22:59:24 +02:00
db5fb30787 Massive changes to building generation, adjustments to area generation, changes to tile completion. More layers that were previously missing, added. Texture changes. Getting close to public release. 2024-10-04 20:41:59 +02:00
5d05f376f6 Correction for multi-source fading and fixed bug in normal map generation. Final testing to commence. 2024-09-29 13:19:52 +02:00
d5c3c5ecad Implemented new function in layergen to combat the issue of different sources for material, when these neighbor on different edges. A fade in each direction for the non-precedence material is now implemented, hopefully solving this issue. To be tested by MarStr. 2024-09-28 21:06:40 +02:00
1fba4590c3 Text-based tile info now split into single files for performance reasons. This seems to have fixed image generation issue. Updated a landuse:meadow texture. Public release imminent. 2024-09-27 11:54:32 +02:00
bb5c1aab23 Removed tiledb and SQLite dependency as there have been issues with image generation. tiledb replaced with tileinfo, a plain text based data info class. Images reduced to 2048 instead of 3000px, resulting in speed boost for image generation. 2024-09-26 23:34:38 +02:00
1df4cd2ffc Implemented fix to correct alpha on final image so that DDSTool for X-Plane works correctly 2024-09-25 21:24:06 +02:00
728b4aa9c6 Corrections in water cut code, amendments for tile completion as code resulted in blank patches in DDS files where there is no water. 2024-09-25 14:14:33 +02:00
509cb359bd Possible initial public release. After extensive testing, code amended to incorporate Laminar Research tools to build usable meshes for X-Plane, along with the correct files needed for the scenery. Normal maps also generating correctly. New class xp_scenery which performs generation of the mesh. Structure of files unified so that multiple tiles can be held in one single folder. Dependency for wand removed. 2024-09-24 23:22:27 +02:00
747dfbdf91 Possible initial public release. After extensive testing, code amended to incorporate Laminar Research tools to build usable meshes for X-Plane, along with the correct files needed for the scenery. Normal maps also generating correctly. New class xp_scenery which performs generation of the mesh. Structure of files unified so that multiple tiles can be held in one single folder. Dependency for wand removed. 2024-09-24 23:20:36 +02:00
Marcus
49ee89ebc6 Attempts in correcting normal map rendering (not done yet). Changes in wording of repo description. 2024-09-13 22:37:31 +02:00
Marcus
2b30e1241f Corrected color in normal map to standard color but zero alpha, file access call in POSIX systems revised to clear _cache folder. Changes in defines.py to reflect my project folder on Linux 2024-09-13 13:17:36 +02:00
Marcus
85352308be Commit after switch to Linux - no noteworthy change in code 2024-09-12 22:51:39 +02:00
7326984762 Normal map maker for X-Plane now working correctly, and properly implemented in layer generation process. Tile folder now has a proper "z_orthographic_" naming convention, data is stored in this folder. Orthos are now stored in DDS format, as opposed to jpg, which was twice as large in file size. Tile generation process completes by generating proper DSF data files for X-Plane. 2024-09-10 19:38:48 +02:00
a5e850feec X-Plane DSF file generator, X-Plane normal map generator. Normal maps can be turned on or off in defines.py . Normal map generation implemented in layergen. Nearing initial public release. Added sand and desert source material. Changed layer order for some parts. 2024-09-09 23:14:43 +02:00
bbc924984a Removed wedgen in favor of the initial code for a class that generates X-Plane scenery. Class is not yet complete, but is final piece of the toolchain. 2024-09-07 20:50:39 +02:00
55e58c2fe4 Initial code to generate the WED (X-Plane World Editor) XML file at the end of all tile generation. 2024-09-05 22:49:39 +02:00
1ee092dc8e Added Licence definition for public release of code. Correction of tree placement. 2024-09-03 22:42:30 +02:00
e4b8074d09 Corrected building tree render positions, should they be out of bounds 2024-09-03 22:16:21 +02:00
a1483fccc3 Changed path delimiter from "\\" to "/" for cross OS compatibility 2024-09-03 20:49:35 +02:00
5a9f53ba41 Adjustment to trees at buildings 2024-09-03 20:02:08 +02:00
a1391cbc5e Added missing building types for tree generation 2024-09-03 16:06:37 +02:00