sdk:geoconvert
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sdk:geoconvert [2017/07/21 18:27] – aerofly | sdk:geoconvert [2017/11/12 17:30] (current) – jh | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Introduction to the GeoConvert tool===== | =====Introduction to the GeoConvert tool===== | ||
- | The Aerofly FS 2 GeoConvert tool allows you to convert | + | The GeoConvert tool allows you to get your own aerial images into Aerofly FS 2. GeoConvert so far supports |
**Important note:** This tool is not a simple plug and play solution, it requires some work on your side and you need some basic understanding on how earth coordinates work. It's also your responsibility to obtain aerial images, GeoConvert does not perform this step for you. We have added some tutorials however that show you some ways on obtaining aerial images. | **Important note:** This tool is not a simple plug and play solution, it requires some work on your side and you need some basic understanding on how earth coordinates work. It's also your responsibility to obtain aerial images, GeoConvert does not perform this step for you. We have added some tutorials however that show you some ways on obtaining aerial images. | ||
- | ====General procedure==== | + | ====How Aerofly renders aerial images==== |
+ | Aerofly FS 2 uses images with a varying coverage to render the earth. For this Aerofly FS 2 uses a level technique with different resolutions per level to render aerial images. At the base there is level 0. Level 0 consists of a single square image that covers the whole earth. This image would be used if viewing earth from very far away. Next is level 1. Level 1 consists of 2x2 images covering the whole earth. Then for level 2 we have 4x4 textures and so on. Aerofly FS 2 currently supports the maximum level of 15 which gives you roughly a resolution of 50cm per pixel. | ||
- | * All your input aerial images | + | Its recommended that your aerial images |
- | | + | |
+ | ====Installation==== | ||
+ | After you have downloaded the GeoConvert tool, unzip the ZIP file to any place you like, prefereably to a harddisc with enough free storage. | ||
+ | |||
+ | Here is the folder structure of the tool | ||
+ | <code cpp> | ||
+ | aerofly_fs_2_geoconvert | ||
+ | | ||
+ | scenery | ||
+ | images | ||
+ | images_raw | ||
+ | shader_dx11 | ||
+ | texture | ||
+ | aerofly_fs_2_geoconvert.exe | ||
+ | </ | ||
+ | |||
+ | GeoConvert cannot be started by its own, it must be called with a configuration file that tells GeoConvert | ||
< | < | ||
- | < | + | |
- | < | + | </ |
- | < | + | |
- | < | + | ====General steps==== |
- | <[vector2_float64][steps_per_pixel][3.57627868652344e-06 -2.68220901489258e-06]> | + | - All your input aerial images have to be in the folder ' |
- | < | + | - Each aerial image must have an accompanying configuration file with the extension AIC that tells GeoConvert how to source this image. As a convenience function, GeoConvert will automatically convert TFW and INF files to AIC files, but it's strongly recommended to check the AIC files after conversion. INF files are not standardized and TFW files do not support enough options for all cases. So please get used to the AIC file format, here is a sample <code cpp> |
- | <[string8][coordinate_system][lonlat]> | + | < |
- | < | + | < |
- | > | + | < |
+ | | ||
+ | // | ||
+ | <[string8][coordinate_system][lonlat]> // the coordinate system of the image, currently | ||
+ | // only lonlat is supported | ||
+ | | ||
+ | // left corner of this image | ||
+ | | ||
+ | // GeoConvert the pixel size in the x and y direction | ||
+ | | ||
+ | > | ||
> | > | ||
+ | > | ||
</ | </ | ||
- | | + | |
- | * aerofly_fs_2_geoconvert.exe is a command line tool that expects another configuration file that tells where to generate aerial images and in what resolution. Here is a sample that generates aerial images for the Key West Florida region: | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | > |
- | < | + | < |
- | > | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | > |
- | < | + | < |
- | > | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | > |
- | < | + | < |
- | > | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | > |
- | < | + | < |
- | > | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | > |
- | < | + | > |
- | > | + | |
- | > | + | |
- | > | + | |
> | > | ||
+ | > | ||
</ | </ | ||
- | | + | |
sdk/geoconvert.txt · Last modified: 2017/11/12 17:30 by jh