Scenery Loading Distance

  • To the extent that I can verify what you have written, it looks correct to me. I went and looked at some of the files that have been shared in projects by the pros, and they do indeed seem to be using masks. I also looked at some of my "smaller" output file saves, and as you said, there were no level nine tiles there.

  • Hi qwerty42,

    your description conformes mostly to my own experience, so I can agree with your statements.

    Let me repeat things which I have been spread in different threads already.

    1. aerofly uses image levels. Starting with level 0 it covers the entire earth as a single image. Then each higher level halfes the axes and divides this image into 4 new images. Level 4 has then 16x16 = 256 images.

    2. aerofly FS 2 uses the world grid system. The maximum number of tiles in each direction is 65536, the starting tile is bottom left.

    So the tile borders don't fit exactly to even coordinates. I published this image for level 4 once before in another thread.

    3. No, level 9 is not a multiple of 1 degree as we can see from the description above.

    In longitudinal direction we have 512 steps. So calculated the extent of a level 9 tile you end up with 360 degrees / 512 = 0.703125 degrees.

    This means close to the equator the extent of a single level 9 tile is about 78 km!

    4. This is the code for the tile calculation:

    5. Please note: The GeoConvertHelper has this formula above built in. Even if you don’t use this tool, you can calculate the borders for your manual editing TMC file. Just click the advanced settings in GeoConvertHelper and activate the level 9 snap.

    6. It doesn’t make sense, to create a mosaic of tiny adjacent areas. If you want to create adjacent areas, use a large area and snap to level 9 tile borders. Run the conversion then for level 9-11.

    If you do adjacent areas, use a large overlap of your image compared to the TMC frame.

    Then you can remove the _mask files.

    7. Geoconvert allows you to check your conversion results.

    I have mentioned this before, but obviously it is nearly unknown. See or add these lines in your TMC:

    With the lines write_raw_files you’ll get png output files which you can check for the content. And you will better understand the tile and mask system.

    Don't forget the second line with the images_raw output folder. This folder must exist before you run the conversion.

    <[string] [folder_source_files][./input_aerial_images/]>
            <[bool]   [write_raw_files][true]>
            <[bool]   [write_ttc_files][true]>

    There exist several approaches to this topic and this is my personal approach, nothing ‘official’ by IPACS. But perhaps it gives you a better understanding of the geoconvert process.



  • Thank you so much Rodeo, you are awesome! That is incredibly helpful. :thumbup::thumbup: I really appreciate you taking the time to write that all out, and I do apologize if you've already posted that info in other threads and I didn't find it there first. That answers all of my questions and more!