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

FSXA FSX do not show model

Messages
9
Country
poland
Hi i created a model.
I used prepar3d sdk to export it.
While checking in 3d model viewer .X file is OK
next step:
compiled to Mdl and next to Bgl.
no error during compilation.
checked in ModelConverterX.
It showed my bgl model correct.
But when i put in in the addon/scenery
it doesnt appear in the fsx?
Can anyone help me?

bgl file attached
 

Attachments

It's not going to show because you haven't told FSX where it should be placed.

MDL files can be placed by the same BGL file with Lat/Lon data. They can also be placed when using a container (library) BGL file, such as what you have created. But with a library file like your's, there needs to be another BGL file that instructs FSX to place a copy at such and such Lat/Lon.
 
I created bgl file with BGlComp from prepar3d sdk
I used xml file which look this:
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?> 
- <FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
- <SceneryObject instanceId="{4587ab11-2e51-48d1-b245-a9213a8d0163}" lat="50 48.1" lon="19 06.00" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
  <LibraryObject name="{fc02018c-1ad5-4d92-bdd5-7458c9c4b4fd}" scale="1.0" /> 
  </SceneryObject>
  <ModelData sourceFile="murckowska.MDL" /> 
  </FSData>

co you can see i give him information where to put it.
If i am wrong could you tell me what shoudl i do ?
 
Hi,

The XML code looks OK, but the BGL you attached before does not seem to contain the coordinates. So something must have gone wrong.
 
Hi,

The XML code looks OK, but the BGL you attached before does not seem to contain the coordinates. So something must have gone wrong.
thanks.
Can you tell me how to check if coordinates are attached to bgl?
Somewhere in modelconverterX?

Tried again this time in Fsx sdk.
same effect no parsing errors. No model in game
 
Last edited:
One common mistake is forgetting to make longitudes negative, if you are west of the gmt 0 line. Perhaps your model is showing but on the other side of the world from where you are looking.
 
One common mistake is forgetting to make longitudes negative, if you are west of the gmt 0 line. Perhaps your model is showing but on the other side of the world from where you are looking.
Nope.
Model shoudl be in europe so coord are ok
 
Here's what BGL2XML spits out of your BGL file;

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 1/14/2013 -->
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">
   <ModelData
      [B]sourceFile="Most.mdl"[/B]
      fileOffset="0"/>
</FSData>
 
...and bglcomp wouldn't compile the code you posted until I removed the dashes preceding <FSData and <SceneryObject. After that it generated a .bgl which decompiled to this which I believe should work:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 1/14/2013 -->
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">
   <SceneryObject
      lat="50.801666714251"
      lon="19.1000001132488"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="NORMAL">
      <LibraryObject
         name="{fc02018c-1ad5-4d92-bdd5-7458c9c4b4fd}"
         scale="1.00"
         />
   </SceneryObject>
   <ModelData
      sourceFile="Most.mdl"
      fileOffset="0"/>
</FSData>

Jim
 
...and bglcomp wouldn't compile the code you posted until I removed the dashes preceding <FSData and <SceneryObject. After that it generated a .bgl which decompiled to this which I believe should work:



Jim
It Works!
Thanks a lot!
 
Last edited:
Now i have similar problem.

I can compile with proper xml file ( as showed above).
I can decompile it with BglToXml.

Before and after xml file is the same. With coords etc.
But when in ModelConverteX there is no info about location.
Model do not show in fsx too.
 
Hi,

Are you sure the guid in the mdl and the guid for the placement are the same?
 
Back
Top