This topic simply continues from previous post called "How to crop image before resample".
Explanation of the topic:
I will not do export of LODs to separate files, because that would generate thousands of files. I just will covert files by ImageMagick to resize them and join them as I need. Batch file can do this job.
I would resize the files to LODS 5,6,7,8 and maybe 9. This way the files will be bigger, but they will be only a few. I hope this should enhance and short loading process. Whole scenery pack is divided into separate sceneries so when man wants to fly only one scenery, there will not be loaded more more sceneries than this one or the neighbor sceneries.
Dimensions. For LOD8 it should be file 752x1264 (87MB, probably divided in two parts) and for LOD 1504x2528 (cca 174MB, probably divided on more parts). I have no problem with resize of source data and auto-joining the images. I have tables and files with data I need to run resample. So I will make batch file.
Tell me, was my assumption right when I did these calculations of LODS?
So the data with LODs 5-9 I will move to "common files" scenery. This would enhance performance during loading of the game, because I hope the LODs that are far enough (in other scenery) would not be loaded.
My second question is how to do it with BMP background which is white? I must create blend mask for the white spaces, right? So I should go to editor, open Bitmap, select white color areas by magic wend and then save selection as mask or image... save as tiff. The size would be same as by BMP file, method would be same as the tiff method used in inf files. Coordinates will be the same as by BMP file and xdim and ydim should be also the same... Am I right?
Explanation of the topic:
I will not do export of LODs to separate files, because that would generate thousands of files. I just will covert files by ImageMagick to resize them and join them as I need. Batch file can do this job.
I would resize the files to LODS 5,6,7,8 and maybe 9. This way the files will be bigger, but they will be only a few. I hope this should enhance and short loading process. Whole scenery pack is divided into separate sceneries so when man wants to fly only one scenery, there will not be loaded more more sceneries than this one or the neighbor sceneries.
Dimensions. For LOD8 it should be file 752x1264 (87MB, probably divided in two parts) and for LOD 1504x2528 (cca 174MB, probably divided on more parts). I have no problem with resize of source data and auto-joining the images. I have tables and files with data I need to run resample. So I will make batch file.
Tell me, was my assumption right when I did these calculations of LODS?
Code:
original pack 4096 LOD5-15 22 858 957 22 323
tile dimension LOD total size [KB] total size [MB]
4096 LOD15 15*238*955 14*882 187*773*747 24*630*171
2048 LOD14 5*714*739 5*581 46*943*437 6*157*543
1024 LOD13 1*428*685 1*395 11*735*859 1*539*386
512 LOD12 357*171 349 2*933*965 384*846
256 LOD11 89*293 87 733*491 96*212
128 LOD10 22*323 22 183*373 24*053
64 LOD9 5*581 5 45*843 6*013
32 LOD8 1*395 1 11*461 1*503
16 LOD7 349 2*865 376
8 LOD6 87 716 94
4 LOD5 22 179 23
sum 22*858*600
So the data with LODs 5-9 I will move to "common files" scenery. This would enhance performance during loading of the game, because I hope the LODs that are far enough (in other scenery) would not be loaded.
My second question is how to do it with BMP background which is white? I must create blend mask for the white spaces, right? So I should go to editor, open Bitmap, select white color areas by magic wend and then save selection as mask or image... save as tiff. The size would be same as by BMP file, method would be same as the tiff method used in inf files. Coordinates will be the same as by BMP file and xdim and ydim should be also the same... Am I right?
Last edited:


