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

Library Creator XML - Object not Visible in FSX

Messages
2
Country
unitedkingdom
I'm following the two tutorials to the word:

-Exporting a GMax object into FSX
-Object library creation using Library Creator XML

I receive successful library compilation log confirmation. I check long/lat and paste GUID from LC XML. I then create placement bgl with bglcomp.exe

Everything seemed fine, hence:

Library swan.xml compiles to swan.bgl
placement swansea.xml compiles to swansea.bgl

Finally I create a new directory in addon scenery named swansea and copy the two bgl files over to the path: addon scenery > swansea > scenery (tried addonscenery > scenery too), start fsx, add scenery and receive building new scenery message whilst loading. However, when I go to the runway take off and then slew to the exact geographical OS point there is no object present.

I thought it may be to do with my file naming procedure. I manually appended .xml and .bgl extensions to the filenames, but wasn't sure if the library name, placement bgl name and object name must be different. i.e. box.mdl
swan.xml/swan.bgl
swansea.xml/swansea.bgl

I realise the two bgl files cannot be the same if residing in the same folder when compiling the 2nd bgl as the first would be overwritten.

Finally, i wondered if windows 7 64 exhibited anomalies, or whether UAC needed to be turned off.

Any help would be most gratefully received.

scratch1964

Gmax fsx gamepack v1.2
Library Creator XML v2.0.2
windows 7 x64
FSX SP2
 
Hi,

Two things come to my mind:

1 Did you put the textures used by your object in the texture folder as well? Missing textures can result in objects not showing.

2 You mention manually adding extensions to the files. I don't understand that. That should not be required since bglcomp automatically makes it a bgl file.
 
Arno,

Thank you for such a very prompt reply. Congrats to you and all others involved for this highly informative and well organised site.

Firstly, no, I had nothing in the texture folder. I simply followed the two tutorials mentioned in my last post. Should I have put the 512 x 512 24bit bitmap image I created to texture the building in the texture folder? Perhaps there is another tutorial I need to read also? I don't know.

I tried exporting just the 10* 10* 10 cube (untextured) from the tutorial and also my own textured model of a supermarket (120*80*15). Neither showed up, but then neither contained a texture folder. I just remember reading in the "Exporting a GMax object into FSX" tutorial under the "View the results in FsX" section that the two bgl's are all that is needed to display the object in FSX.

Secondly, I manually appended file extensions as, for some reason, when I opened a txt file in notepad I could not get it to be saved as anything other than a txt file unless I input swan.xml in the filename box. This way it saved as an xml file.

Is it likely that the cause of my problem is the need for a texture folder containing a 24bit bitmap image (converted using DXTBmp or a similar utility)?

Scratch1964
 
Hi,

I would first try to put the textures there. But FS can not read 24 bit textures. So you need to convert them to DXT with ImageTool or DXTBMP.
 
Hey guys,

can we make this a little bit more clear?
I have the same problem now.

I have made an object in GMAX, I have used 24-bit bmp's to texture it in GMAX, I've exported it and made a library bgl for it.

Then, I import the library bgl in ADE-X and place the object to the desired position.

When I open FSX, I can't see the object. Where should I move the textures I used to? Which texture folder and in which format?
I used 24-bit BMP's for the materials in GMAX, now do I have to convert the textures to DXT1 or something?

Also, a newbie question now:

Can I use NO textures at all and still see the object in FSX like it is in GMAX viewport?

Thanks,

Peter
 
Last edited:
Hi Peter,

The textures need to be placed in the texture folder that belongs to the scenery folder where you put your BGL file.

FS will not display 24 bit textures, you can best convert them to DDS files with mipmaps using ImageTool. For textures with transparency use DXT5, else use DXT1.

You can also have a material in your object that does not use any texture, only a colour. That is supported. But for performance it might be better to put all these colours on one texture sheet (or an empty corner of your existing texture). That gives less drawcalls in the end.
 
Thanks Arno!

I was NOT including the library file together in the scenery folder!
The object showed itself in FSX for the first time and well.....this is a celebration for me!!:D]

You've all been more than helpful, thank you!!

It looks like this, perfect in the eyes of a newbie like me :)
 

Attachments

  • 2010-11-30_21-52-8-316.jpg
    2010-11-30_21-52-8-316.jpg
    102.3 KB · Views: 791
Last edited:
Hi all,

I'm new in this forum but nevertheless I have experience in Scenery building. I enyoi very much the nice tools from Arno and Scruffyduck to get things up and running in FSX. I have now a similar problem as described in this thread.

I created a model in GMAX and converted it with ModelconverterX (thanks Arno) . After that I write a XML file, compiled it and put the *.bgl and the corresponding texture in the right Folder. Everything works fine. Than I tried to create a Library. No problem, no error messages. I included the Lib in Airport Design Editor X and added some LibObj in the scene. Compiling and starting works fine. (I tried this also with SBuilderX with also a good result).

But when I remove the original *.bgl (not the ADEX one) I didn't see the objects I just placed.

In my opinion it has something to do with the correlation between Modelname and the GUID. In my own *.XML it looks like that:

...
name="{C1692D6A-BE25-46F3-8FEE-BCFCB007E811}"
scale="1.0000000"/>
</SceneryObject>

<ModelData
sourceFile="Baum_001.mdl"/>
...

So there is a direct link from GUID to the Model name.

In Library Creator XML I see in the workarea also the Modelname and GUID so the link seems to be placed right (and there is no compiler error, so it should be fine!?).

So actual the only possibility to see LibObj in my scene is, to have 1 manual created object there.

How can I solve this?

Any idea is welcome.

Thank you,

Matthias


-------------------------
GMAX 1.2 FSX Gamepack
ModelConverter X 1.2.0.0
Library Creator 2.0.3.0
FSX SP2 AccP
Win XP Prof. SP3
 
Back
Top