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

MSFS Non PBR texture exportation for MSFS

Messages
254
Country
germany
OK, here is my test package for the port ship traffic. It includes only one ship and one route.

The route runs between the island of Helgoland and on the Elbe river to the port of Hamburg.

But I now had an idea what the error could be. I have compiled the route with the AIBTC. Since the AIBTC was actually programmed for FSX and P3D, it may be that in the BGL file is referenced to a mdl model, which the MSFS now of course does not find, because it is a gltf model.

Now the question would be, how (with what) does one compile a route BGL with a gltf model?
 

Attachments

  • SD-hh-port-ships_test.zip
    2.2 MB · Views: 38

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,843
Country
netherlands
Hi,

I haven't heard of a difference between static and SimObjects before. I assume you did run the SimObject through the packager tool of MSFS?
 
Messages
254
Country
germany
Hello Arno!

Well, one difference between static models and SimObjects I have already found.

While with static models normal PNG textures are sufficient to display the model in MSFS, this is obviously not the case with SimObjects.

With the SimObjects from ASOBO I have seen that all models (no matter if vehicle, aircraft or ship) have textures that are available in the format "Modelname.png.dds" and that also have a "Modelname.png.dds.json" file (although I have no idea how to create these files).

Now I don't know if this is the bug why my models are not displayed as SimObjects but I guess it is.

I tried to create these files with the package tool of MSFS. But when packing only the "sim.cfg" and the "model.cfg" are written into the package. The gltf files and the textures are missing.
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,525
Country
us-wisconsin
With the SimObjects from ASOBO I have seen that all models (no matter if vehicle, aircraft or ship) have textures that are available in the format "Modelname.png.dds" and that also have a "Modelname.png.dds.json" file (although I have no idea how to create these files).
You don't make them. You just supply the PNG or JPG texture, and the compiler creates the DDS and JSON files in the package.
 
Messages
254
Country
germany
Hello Dick,
unfortunately that's exactly what it doesn't do. As I wrote above, I only get the "sim.cfg" and the "model.cfg" in the package but not the model files (gltf) and also not the textures.

I'm sure I'm doing something wrong but I haven't figured out what yet.
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,525
Country
us-wisconsin
I think the model's XML file needs LODs. Something like this:

XML:
<?xml version="1.0" encoding="utf-8"?>

<ModelInfo guid="{8a3e25a8-8c5e-4c65-8fe4-11af1ddadaca}" version="1.1">

   <LODS>

      <LOD minSize="30.0" ModelFile="SD_AI_UltraBulk_Lynx.gltf"></>

      <LOD minSize="10.0" ModelFile="SD_AI_UltraBulk_Lynx.gltf"></>

      <LOD minSize="1.0" ModelFile="SD_AI_UltraBulk_Lynx.gltf"></>

   </LODS>

</ModelInfo>

This just uses the same model for each LOD.
 
Messages
254
Country
germany
HMMM, Henrik had told me nothing about different LOD's.
But at the moment he is on the road (air) again for work. I think I will put the shipping in the port of Hamburg on hold until he has finished his native GAIST. Then we will see.
So I have then a reason for an update of the scenery 😇
 
Top