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

P3D v4 Issues with LCXML

Hello developers,

Here is the issue I face with LCXML even after downloading the last version and assigning the correct paths of the last SDK.
I open an .xml library file created and exported with LCXML for P3DV4.4 before. I have used this file and the respective .bgl with no problems so far.

I deleted one of the entries (MTB.mdl) and tried to add the same .mdl that now has PBR material (added and exported through MCX). I get the message that the .mdl I add is not the same version with the other .mdls included in the file. I opened again all the other .mdl files and exported them again with MCX to make sure that I used the P3DV4.4 compiler. The problem remains.
So it seemed that I can't add an .mdl file with PBR material along with .mdls with no PBR materials.

After that I tried to compile this single .mdl file with LCXML. There was no luck. The file will not be compiled to .bgl.

So it seems that I can't compile files with this tool if they have PBR material assigned.

All the .mdls I created are correctly compiled with MCX to .bgl as separate files. Moreover, the .xml file that LCXML creates is correctly compiled with compilehelper to .bgl even if it contains a combination of bgls with or without PBR materials.

Does anybody else faces the same issue?

Thanks,
Happy and creative 2020!!

-=Manwlo=-
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Hi,

It might be Library Creator XML is more strict then needed when checking for the mdl version. If bglcomp can combine PBR and non PBR files in one library I should modify the tool to also allow this.
 
Hi,

It might be Library Creator XML is more strict then needed when checking for the mdl version. If bglcomp can combine PBR and non PBR files in one library I should modify the tool to also allow this.
Just to write again that the tool could not compile a single .mdl with pbr material or multiple .mdls with pbr materials either.
I could not make it work at all when using PBR material

Regards,

-=Manwlo=-
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
OK, let me check that is going on there.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Hi,

Which version of Library Creator XML are you using? I just tried to make a library with a PBR object in the latest version and that one compiles fine.

The tool is indeed to strict when it comes to checking the versions. I noticed that I can make a library that contains FSX, P3D v2 and P3D v4 (including PBR) objects mixed. I will modify the tool to allow that as well.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
I have made the change in Library Creator XML now, so the next development release will allow different MDL versions to be mixed (FSX and higher versions only). The BGLComp compiler is chosen based on the highest version used.
 
Top