• 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.

Terrain Vector Data Format

  • Thread starter Thread starter fs1
  • Start date Start date

fs1

Messages
302
Country
argentina
All

Does anyone know how FSX handle vector data internally? Is there any documented format on how for example the water class is layed out ?

Thanks

Federico
 
Thanks. I want to understand the format, rather than using a tool.

Is this tool open source?

Any hints?
 
Last edited:
Water classification wouldn't be considered vector data, IMO. It's just a texture call at a specific location, with a land class tile working out to be a QMID level 7. I hope? Baseball is on and it's cake time...
 
Water classification wouldn't be considered vector data, IMO. It's just a texture call at a specific location, with a land class tile working out to be a QMID level 7. I hope? Baseball is on and it's cake time...

That is perfect.

How can I extract or how is the water representation inside a BGL?
 
It is possible that if you tell us more about what it is that you wish to achieve, we will better understand what you are asking, and we can then formulate an answer more appropriate to your inquiry here. ;)

GaryGB
 
I am reading some memory directly from FSX. I can get the data for Vector Maps and Raster Data.

The problem is I am not able to decode it.

So if someone wants to help me, we can try to get this info directly from the sim
 
OK, so we are getting a somewhat more detailed idea of what you are trying to do. :scratchch


IMHO, it would also help to know which method you are using when you are "reading some memory"; in doing that with FS, are you using:

SimConnect (IIUC, directly within the FS task session VAS)

...or:

FSUIPC (via a FSUIPC client module dll or other executable outside the FS task session VAS)


...as the data read and reported via those methods requires different code to interpret and utilize that data. ;)


FYI
: I'm not a programmer, but AFAIK, how data is stored in a MSFS BGL may be quite distinct from how it is loaded into memory and utilized within the process of a running application such as the FS run time rendering engine, which IIUC, has a main thread with multiple "fibers" on one CPU core, and accessory threads running on any other available CPU cores which are used to access and cue ex: terrain data for use by the main rendering engine "loop" on the main CPU core. :idea:

GaryGB
 
Last edited:
Lets just say Federico has his own methods on how he gets the data and its best not to use the H word....
 
Lets just say Federico has his own methods on how he gets the data and its best not to use the H word....

Sorry, Naruto-kun, but I'm not quite certain as to what you meant by the "H word", or the intent of your post ? o_O

The goal I would have is to better understand what the OP is trying to do and by what method, so he can be directed to the best place to get an answer to his inquiry.

I believe that most of us here at FSDeveloper would prefer not to engage in a 'guessing game' with a person being "secretive", which ultimately wastes the time and energy of a person trying to "help" (...my "H-word"). :rolleyes:

People seeking help here should, IMHO, be prepared to be sufficiently forthcoming to enable would-be helpers to offer a meaningful reply. :pushpin:


What would your goal be for the OP and his inquiry in this thread ? :scratchch

GaryGB
 
Last edited:
I am using undocumented allocated memory areas for terrain directly from the FSX. I have altitudes and types but want to go further.

Don't worry how I am getting the terrain details. I will share with you in an appropriate moment.

Back to the question, if someone can help me decode the BGLs, I will be able to share all these sooner :)

Regards
 
Last edited:
Sorry, Naruto-kun, but I'm not quite certain as to what you meant by the "H word", or the intent of your post ? o_O

The goal I would have is to better understand what the OP is trying to do and by what method, so he can be directed to the best place to get an answer to his inquiry.

I believe that most of us here at FSDeveloper would prefer not to engage in a 'guessing game' with a person being "secretive", which ultimately wastes the time and energy of a person trying to "help" (...my "H-word"). :rolleyes:

People seeking help here should, IMHO, be prepared to be sufficiently forthcoming to enable would-be helpers to offer a meaningful reply. :pushpin:


What would your goal be for the OP and his inquiry in this thread ? :scratchch

GaryGB

H word...."How". But disregard my post...was just interjecting a lil humour based on what I have seen of Federico's work which still sets my head to spinning. I sometimes wonder if he isn't from another planet.
 
A review of your posting history here might more reliably inform would-be helpers as to your goals with this ongoing project. :idea:

Gauge / module technology for sophisticated custom avionics, FMCs etc. in complex aircraft is IMHO inextricably linked to, and in competition with, the needs of the terrain rendering sub-system of MSFS for CPU / GPU / USERVAS resources.

Which is but one reason why, as a scenery-loving terrain developer, I am personally rather partial to the performance I get bush flying GA aircraft outside in "locked spot view" ...rather than inside the cockpit.


And as for Naruto-Kun's own ongoing 'agenda', he might be interested in reading these posts:

http://forum.avsim.net/topic/465604-dx12-fsx-savior/

http://www.guru3d.com/news-story/quick-test-directx-12-api-overhead-benchmark.html

http://forum.avsim.net/topic/465561-no-64-bit-p3d-coming-according-to-orbxs-john-venema/

http://forum.avsim.net/topic/465117-this-could-be-ground-breaking-news-for-p3dfsx/

http://forum.aerosoft.com/index.php?/topic/74892-aerosoft-split-x-preview/page-4


Good Luck with your respective projects ! :wave:

GaryGB
 
Last edited:
The author of the CVX file data in the Wiki is the same person who wrote the program Gary linked in his first post.

Another area to look at would be the shapefile format document put out by ESRI; https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf

Once you get your head around it, there should be a lot of similarities. One bit of information I came across recently was an acknowledgement by an individual who wrote a shapefile libray; http://shapelib.maptools.org/ The thing that caught my eye was the fourth person listed under Credits. I do not know if it is the same individual, but the member of ACES wrote worked on vector related things was named Doug Matthews and he use to come through the forums years back. If they were the same, then the relationship of the shapefile to CVX format becomes more defined, maybe?
 
Thanks, all makes sense.

I will take a peek on the information you sent me.

Thanks!
 
Back
Top