AeroScenery Beta - Help With Testing Required

  • quels Levels as-tu compilés avec Geoconverter ?

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • levels as- rapide Quels tu Compile with Geoconverter?

    -------------------------------------------------------------------------------

    j'ai lancé au départ : Grid level 9-Large ... Zoom 17 ... Level 9,11,12,13,14.

    Puis effectué mes retouches sur les images assemblées (stitched), bord de mer en couvrant l'intégralité de la mer avec une texture perso. De même pour toutes les autres images de mer (complètes en noir, donc transparentes) sur la totalité de la surface.

    Ensuite, relancé avec cochés "Generate AID/TMC Files" et "Run GeoConvert" ... 2 heures.

    Dès le départ, j'ai remarqué que Geoconvert passait direct au level 11 ... surprenant.

    Donc en final, je n'ai plus de level 9.

    Précision : j'ai relancé Run Geoconvert avec en "Settings" décochés "Write Rax Images" et "Write Images With mask " ...

    et mon problème d'apparence de la scène tourne bien autour de cela, les masks.

    Lorsqu'ils étaient exécutés par Geoconvert ils n'apportaient pas grand chose de plus.

    J'ai fait l'essai d'ajouter les 2 images stitched depuis une sauvegarde ... rien de mieux sinon qu'apparaissent des zones floues !

    C'est le grand "bordel" !

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • De même pour toutes les autres images de mer (complètes en noir, donc transparentes) sur la totalité de la surface.

    (...)

    Précision : j'ai relancé Run Geoconvert avec en "Settings" décochés "Write Rax Images" et "Write Images With mask " ..

    Le noir n'est transparent que dans les masques, pas dans les images.

    Si tu décoches l'option "Write images with masks", Geoconverter va sauter toutes les images pour lesquelles il y a un masque.

    Pour compliquer le tableau, il y a 2 types de masques :

    1) les masques créés automatiquement par Geoconverter quand la zone à générer ne couvre que partiellement une tuile du Level demandé.

    Ex: je crée une petite zone de texture HD pour l'AD de Calvi, et la compile en Level 9 . Si l'étendue de mes photos HD ne couvre pas entièrement la ou les tuiles Level 9 concernées (l'AD peut être à cheval sur 2 tuiles).

    Si l'option est cochée, Geoconverter va automatiquement créer des masques autour de ma photo HD et créer la lou les dalles de Level 9.

    Si je décoche l'option, Geoconverter ne va rien faire du tout, puisque la ou les dalles de Level 9 nécessite(nt) un masque.

    Ces masques sont générés et compilés automatiquement par Geoconverter.

    2) les masques que l'on crée soi-même, pour rendre une zone transparente. C'est une image au même format que la photo à impacter, mais on y peint en noir les zones qui doivent être transparentes (i.e. où la photo ne s'affichera pas), et en blanc les zones qui doivent être opaques (i.e. où la photo s'affichera). Généralement, on part d'une copie de la photo que l'on retouche et que l'on sauve sous le même nom, avec un suffixe "_mask", par exemple.

    FSET permet, grâce à FS EarthMasks, de générer automatiquement des masques relativement complexes.

    Lorsqu'on applique un tel masque à une photo, il doit être renseigné dans le fichier AID de la photo avant de lancer le Geoconverter.

    Aeroscenery facilite beaucoup le travail du débutant pour faire en vitesse une petite zone brute sans rien retoucher.

    Mais dès que l'on veut aller un peu plus loin, il faut apprendre à jongler avec les AID et TMC.

    Perso, je me fais mes propres outils pour générer automatiquement les AID et TMC, ça évite les erreurs de copier-coller.

    A+

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • Merci Antoine,

    SVP afin d'être plus concret, voilà un exemple d'un fichier généré hier :

    fichier : b_17_stitch.tmc :

    <[file][][]

    <[tmcolormap_regions][][]

    <[string8][folder_source_files][C:\Users\Michel\Documents\AeroScenery\working\map_09_8680_a200\b\17-stitched\]>

    <[bool][write_ttc_files][true]>

    <[string8][folder_destination_ttc][C:\Users\Michel\Documents\AeroScenery\working\map_09_8680_a200\b\17-geoconvert-ttc\]>

    <[bool][write_raw_files][false]>

    <[string8][folder_destination_raw][C:\Users\Michel\Documents\AeroScenery\working\map_09_8680_a200\b\17-geoconvert-raw\]>

    <[bool][do_heightmaps][false]>

    <[bool][always_overwrite][true]>

    <[bool][write_images_with_mask][false]>

    <[list][region_list][]

    <[tmcolormap_region][element][0]

    <[uint32] [level] [9]>

    <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>

    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>

    <[bool] [write_images_with_mask] [false]>

    >

    <[tmcolormap_region][element][0]

    <[uint32] [level] [11]>

    <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>

    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>

    <[bool] [write_images_with_mask] [false]>

    >

    <[tmcolormap_region][element][0]

    <[uint32] [level] [12]>

    <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>

    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>

    <[bool] [write_images_with_mask] [false]>

    >

    <[tmcolormap_region][element][0]

    <[uint32] [level] [13]>

    <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>

    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>

    <[bool] [write_images_with_mask] [false]>

    >

    <[tmcolormap_region][element][0]

    <[uint32] [level] [14]>

    <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>

    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>

    <[bool] [write_images_with_mask] [false]>

    >

    son fichier aid !

    <[file][][]

    <[tm_aerial_image_definition][][]

    <[string8][image][b_17_stitch_1_1.png]>

    <[string8][mask][]>

    <[vector2_float64][steps_per_pixel][1.07288360595703e-05 -7.87470360317632e-06]>

    <[vector2_float64][top_left][9.140625 42.8115217450979]>

    <[string8][coordinate_system][lonlat]>

    <[bool][flip_vertical][false]>

    >

    >

    et les 2 images correspondantes :

    b_17_stitch_1_1.png (surface de mer vide retouché avec une texture complète.

    b_17_stitch_1_2.png (hauts-fonds retouchés et la mer avec la même texture perso.

  • Antoine,

    je suis un peu perdu avec les masks, est-ce que mon erreur ne serait pas de les avoir désactivé dans AeroScenery ? puisque il y a bien un gros défaut d'affichage.

    Il me semble que c'est très délicat entre l'action de capture d'AeroScenery et la façon dont GeoConvert les utilise puisqu'il génère aussi les siens.

    Pénible de ne pas vraiment savoir qui fait quoi, mais tu viens de m'éclairer un peu. Merci.

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • De ce que je peux voir, les coins NW et SE du fichier TMC correspondent bien à un LOD Level 9 de la Corse :

    CSS
    <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>   //Coordonnées coin NW
    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>    //Coordonnées coin SE

    Par contre l'image b_17_stitch_1_2.png n'est est qu'un tout petit morceau => carré rouge dans l'image ci-dessous, où le carré vert représente le LOD Level 9 traité.

    Tu dois avoir une multitude d'images b_17_stitch_X_Y.png, et chacune doit avoir son fichier AID (1 AID par image).

    Si ce n'est pas le cas, Geoconverter devra faire des masques automatiques.

    Tu peux éditer ton fichier TMC (dans Notepad, ou mieux Notepad++) :

    CSS
    REMPLACER PARTOUT
    <[bool] [write_images_with_mask] [false]>
    
    PAR 
    <[bool] [write_images_with_mask] [true]>

    Ensuite, dans le répertoire où le Geoconverter tool est installé, clique et glisse ton fichier TMC sur Geoconverter.exe pour relancer la compilation.

    A+

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • <[vector2_float64] [lonlat_min] [9.140625 42.81017101]>

    <[vector2_float64] [lonlat_max] [9.84375 42.29984498]>

    correspond à

    <[vector2_float64] [lonlat_min] [Longitude Min Latitude Min]>

    <[vector2_float64] [lonlat_max] [Longitude Max Latitude Max]>

    Je peux me tromper mais Je suis donc un peu étonné, n'y aurait il pas inversion des coordonnées de Latitude ? Ce qui donnerait:

    <[vector2_float64] [lonlat_min] [9.140625 42.29984498]>

    <[vector2_float64] [lonlat_max] [9.84375 42.81017101]>

  • Ah oui, je vais tenter cela. Merci.

    Je viens de relancer AFS2, c'est devenu n'importe quoi, des rectangles de masks en mer, des rectangles vert clair qui ne s'affichent pas (semble normal puisqu'il n'y a pas de level 9, je suis à 2500 pieds ... c'est la cata.

    à+

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • Antoine, j'ai répondu un peu trop vite :

    oui, pour une tuile level 9 j'ai bien autant de fichiers b_17_stitch_1_1.png & aero & aid.

    Je modifie le tmc ... c'est fait, j'ai aussi mis [true] sur <[bool][write_raw_files][true]>

    je relance Geoconvert comme indiqué en espérant ne pas risquer de perdre mes images assemblées retouchées (gros travail).

    à+

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • et cela continue ... 5 échecs avec clic sur le fichier .TMC et glissé sur aerofly_fs_2_geoconverter.exe ...

    "aerofly_fs_2_geoconverter.exe a cessé de fonctionner"sur fenêtre cmd blanche ! ...

    alors, je tente depuis Aeroscenery mais jusqu'alors je relancais en cochant aussi "Generate AID/TMC" alors (?) ...je coche.

    à+

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • c'est en cours, et cette fois le level 9 est bien sorti en 2 maps + masks ... à suivre dans 2 h.

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • Non la dénomination est trompeuse, mais [lonlat_min] = coin NW, et [lonlat_max] = coin SE...

    A+

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • :/:S ... comme quoi j'en apprend tous les jours... Je ne sais pas comment j'ai réussi à m'en sortir jusque là

    Il y a plusieurs conventions/formulations pas très heureuses dans le SDK, à commencer par ces lonlat_min et lonlat_max qui sont en réalité des lon_min_lat_max et lon_max_lat_min, ou encore les steps par pixels qui deviennent négatifs en y ...

    lonlat_NW et lonlat_SE auraient été plus justes et n'auraient pas prêté à confusion...

    C'est une des raisons qui m'ont poussé à programmer mes propres outils pour générer les AID et TMC, cela évite bien des erreurs...

    A+

    Antoine

    Config : i7 6900K - 20MB currently set at 3.20GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.

  • à Antoine,

    Compilation terminée en 2h.35 et ... !

    tout y est ! quasiment aucun défaut si ce n'est quelques uns sur les raccords entre maps, normal, il faut y attacher beaucoup d'attention pour la suite.

    Aucun défaut de texture, ma texture perso s'adapte parfaitement, plus de zones floues, impeccable en survol à tous les niveau depuis 200 pieds à 10 000 pieds !, les fondus de hauts-fonds sont bien rendus ... que du bonheur, je vais pouvoir poursuivre.

    Néanmoins, reste un gros doute : excepté le choix "False"ou True sur les masques, je n'ai rien changé de particulier à mes autres essais.

    Alors, il faut croire que tout viendrait de cela.

    Les images Bing sont moins contrastées que celles de Google mais :

    + pas de logo Google à retoucher

    + les hauts-fonds sont exceptionnellement meilleurs, plus étendus et mieux retouchés quand nécessaire.

    + beaucoup moins de zones à couleurs divergentes

    + pas d'effets de bandes verticales des captures

    - mais dates des images bien antérieures (je crois Google 2012) et Bing bien avant...autoroute proche aéroport en cours de travaux.

    Merci pour l'aide apportée, a+.

    Merci aussi à Nickhod pour son aide et surtout pour AeroScenery qui semble bien apporter ce que l'on attends, la simplicité.

  • Question à Nickhod,

    pour sauvegarder provisoirement une map (en cas de retouches ultérieures), que sauvegarder :

    - le dossier complet AeroScenery

    - ou, le dossier "Working" seul (mais manqueraient aeroscenery.txt et database)

    - ou, le dossier map_09_8680 xxx ...

    Merci pour votre aide ... et pour AeroScenery (génial).

    CPU Intel Core I7 6700 K @4.00 Ghz + BiQuiet Pure Rock - CM Asusteck MAXIMUS VIII RANGER - RAM GSkill Ripjaws4 DDR4 3000 16 GB - NVidia GeForce GTX 1060 3GB - 2x SSD Samsung 500 GB 850 EVO - DD WD 2 TO.

  • Question to Nickhod,

    to temporarily save a map (in case of later retouching), save that:

    The easiest would be the database and plus the stitched folder for the relevant squares. The tiles folder, the raw images folder and the ttc folder can be deleted (after you've installed the ttc files of course).

    You can then retouch and re-run the GeoConvert steps.

    AeroScenery - Easily create photoreal scenery for Aerofly

  • A few days ago lenidcamper and I identified a problem with the tile numbering in AeroScenery. I also noticed that there was a problem with the placement of the level 9 & 13 squares on the map. Since then I've played around with it a bit more and got it a bit clearer in my mind. This is my latest thinking on the subject:

    If you select a level 9 area on the map the tile number to the right of "grid square" above the map is wrong. What you see there is the number of the next level 9 tile to the north of the one selected. i.e. The latitude number is greater than it should be by 80 in hex (128 in decimal). The longitude number is OK. This incorrect number is also used as the title of the folder generated by AeroScenery. Furthermore the placement of the level 9 square on the map is also wrong. It is one level 14 tile too far north of where a level 9 tile should be. However the geoconverted tiles in the folder are "correct" in the sense that they are the ones that you would expect to find in the more southerly level 9 area.

    If you select a level 13 area on the map the tile number to the right of "grid square" above the map is again wrong. Again, what you see there is the number of the next level 13 tile to the north of the one selected. i.e. The latitude number is greater than it should be by 8 in hex (or decimal). The longitude number is OK. This incorrect number is also used as the title of the folder generated by AeroScenery. The placement of the level 13 square on the map is again wrong. It is one level 14 tile too far north of where a level 13 tile should be. Again, the geoconverted tiles in the folder are "correct" in the sense that they are the ones that you would expect to find in the more southerly level 13 area.

    If you select a level 14 area on the map everything works fine. The tile number above the map is correct, as are the folder title and the placement of the square on the map. This of course means that the level 14 squares on the map are out of alignment with the level 9 and 13 squares, but you will only notice this is you look at the tile numbers. As I wrote in a previous post, to see this you need to select level 9, 13 & 14 areas all with a common SW corner. They should all have the same tile number - but they don't.

    I have encountered a couple of other problems with geoconvert which may, or may not, be related to the above:

    1. If I geoconvert a level 13 area I get 1x level 13 tile, 4x level 14 tiles and 8x level 15 tiles. I should get 16x level 15 tiles.

    2. If I geoconvert a level 9 area with tiles up to level 13 I only get the correct numbers of tiles if I go with the suggested levels (viz 9, 10, 12 and 13). When I tried to generate level 9, 11, 12 and 13 tiles I got the wrong numbers of tiles (too few). This may be a feature rather than a bug - I'm not sure.

    Processing a level 14 area (generating level 14 and 15 tiles) works perfectly.

    Perhaps I should add that I set geoconvert so as not to generate any masked tiles. According to my understanding there shouldn't be any anyway provided you are either away from the coast or - if you are near the coast - you have processed the stitched images so as to fill in any blanks. And, of course, provided you only generate tiles equal to or smaller than the area you have selected.

    Edited 6 times, last by Ian C (November 1, 2018 at 7:01 PM).

  • A few days ago lenidcamper and I identified a problem with the tile numbering in AeroScenery.

    Thanks for reporting this. Yes, you're right.

    There's no official documentation on how to generate tile boundaries and tile hex names from IPACS. The closest I could find was a thread on here, where a forum member maintains an Excel sheet that people were using to calculate tile boundaries for use with FSET.

    Image tile coordinates

    In turn that spreadsheet seems to have been based on C++ code from the game itself posted by Rodeo here

    Scenery Loading Distance

    I ported the formulae of that sheet to C# and did several spot checks that it was generating the same numbers, which it is.

    The spreadsheet must be wrong though.

    The hex numbers are derived from the lat and lon, so those also being incorrect makes sense.

    I'll try to figure out where the calculation is wrong and fix this for version 1.0, but I'll have to write something to fix everyone's database and folder names, or it'll result in a mess. :(

    AeroScenery - Easily create photoreal scenery for Aerofly

    Edited once, last by nickhod (November 2, 2018 at 11:23 AM).

  • Thanks for reporting this.

    Hi Nick

    Many thanks for all the work you're doing. AeroScenery is far more user-friendly than FSET - and about twice as quick by my reckoning.

    I have a spreadsheet that calculates lat-lon co-ordinates from tile numbers. It will also tell you which tile you are in if you input co-ordinates. I don't know whether that was the kind of thing you meant? It originally came from Rodeo - though I have modified it a bit myself.

    Cheers

    Ian