• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Recent content by Breadeater

  1. B

    MSFS Everything about CGL generation [Custom DEM works]

    It indeed seems that our filters produce exactly the same result :) The linear interpolation I apply on the edges doesn't produce perfect results though. Good enough when used in real terrain I think as there is no gaps.
  2. B

    MSFS Everything about CGL generation [Custom DEM works]

    We agree on the generic formula and that my writing can leave much room for reader interpretation and disagree on how the upscaling should be done, I think. I am using pregenerated target LODs, each LOD made directly from source data. Just to waste some time -__- Will try to explain the...
  3. B

    MSFS Everything about CGL generation [Custom DEM works]

    Currently, only replacing is possible. But as the format is known a tool could be made to convert contents of VEC+VECN cgl to a shapefile(s) for example, edited and converted back.
  4. B

    MSFS Everything about CGL generation [Custom DEM works]

    Yes, going beyond lvl12 is possible, only needs minor changes to the code. Level 14 dem showing good details Also, as Sean and you discussed before, the laplacian pyramid way is wrong, it only resulted in somewhat OK results up close because it blurs the upper levels so much that the details of...
  5. B

    MSFS Everything about CGL generation [Custom DEM works]

    Hi Andy :) I am not SprightlyOldMan, but Breadeater/morko. Only mods I've released so far are for Finland. Both are at flightsim.to. Yes, you are absolutely correct. The documentation is lacking very much behind, as is the whole repository. Currently I leave the offset to 0 and add...
  6. B

    MSFS Everything about CGL generation [Custom DEM works]

    QGIS is still a strange thing for me :p Basically (This is in Global Mapper) Load elevation data (Workspace projection EPSG:4326) Correct elevation data to egm2008 Generate "centerline" that goes north to south "Expand" that line to rectangle Export area inside that rectangle to 256x256 to...
  7. B

    MSFS Everything about CGL generation [Custom DEM works]

    Not strictly about CGLs, but latest update made it possible to generate rectangle heightmaps, only brush tools in-game, but intermediate file format is simple elevation grid, before game compiles it to BGL. That intermediate format is easy to generate. So replacing small areas with very high...
  8. B

    MSFS Everything about CGL generation [Custom DEM works]

    Are both tiles generated with the script? If so, could you zip and upload the scripts, Tile and Delta folders used to generate them somewhere so I can take a look?
  9. B

    MSFS Everything about CGL generation [Custom DEM works]

    Could you please show an image?
  10. B

    MSFS Everything about CGL generation [Custom DEM works]

    Hi Bavarello :) Sorry I missed your (and all the others) post. numpy, matplotlib and opencv-python are python modules, the can be installed with "pip3". At this moment, QGIS is not supported. There is no reason it could not be, but a day is only 24 hours...
  11. B

    MSFS High Level Overview of MSFS2020 Tech

    Not quite a tutorial at this moment, but at least some documentation and a monsterpiece of code: muumimorko/MSFS2020_CGLTools Also a proof of concept mod: DEM for Finland - 20 meter resolution Please post to the following thread regarding this to keep it in correct part of the forum. MSFS -...
  12. B

    MSFS Everything about CGL generation [Custom DEM works]

    While waiting for Asobo to get their SDK together I've been slowly digging into cgl files. I'm creating this thread to keep possible discussion in the correct part of the forum. Like [theisomizer] explains in another thread on this forum, cgl is a container format. It has an uncompressed...
  13. B

    MSFS High Level Overview of MSFS2020 Tech

    ^UPDATE Successful DEM reconstruction and building of CGL DEM from data from external source. Will update later with link to information and code. Before: After:
  14. B

    MSFS High Level Overview of MSFS2020 Tech

    Some progress (I am not certain this fits best in this topic, but...) This information comes mostly from observing fsPackageBuilder creating CGL for SimpleAerial project. After creating higher tile level images (PNG) builder compresses them with lzma1 using parameter byte 5D (lzma parameters...
  15. B

    MSFS High Level Overview of MSFS2020 Tech

    Hi, I'm trying to figure this out, but am having a hard time. If I've understood correctly, decompressing lzma requires either lzma header from which the decompressor can read parameters (dictionary size, lc, lp and pb ( lclppb usually combined to single byte)) or that they are provided to it...
Top