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

MCX does't show Collada Model

Messages
27
Country
italy
I made a model using sketchup in COLLADA format.
MCX (last version) reads the model but nothing is shown.
Fancy is that reading the same COLLADA file using the 2018 version evreything works fine also exporting to FSX mdl file.
I checked the version of exe files and both appear beeing 1.4.0.0 version.
I wonder where could be the problem.
 
Hi,

Do you use the latest development release (which would be 1.5) or the stable 1.4 release when you refer to latest?

Also, does the event log show any warnings or errors when you don't see the object in MCX?
 
Thank for the quick answer.
I'm using the stable 1.4 release.
I receive the following message only:
08:35 AssimpReader Information Starting reading of file D:\Programmi\Sketchup\Modelli\Prova1.dae
08:35 AssimpReader Information Finished reading objects
08:35 ObjectRenderer Information Starting generating OpenGL arrays...
08:35 ObjectRenderer Information Finished generating OpenGL arrays
Furthermore only grid and axis are shown in the main window.
 
And if you switch to the simple shader, do you see the object in that case? That's the icon with the teapot.
 
If you go to the object information form do you then see a triangle count for the object?
 
Obiect information contains no triangle; the GUID only.
Btw the info messages relating texture reading are also missing.
 
Looks like MCX thinks the object is empty then. Could you maybe share the object for testing?
 
You can zip the file.

What do you call the previous version? Is that 1.3 which is over 7 years old?
 
The old version I have downloaded as development release in March 2018.
As i mentioned before, checking Properties via Explorer the version number of MCX.exe is 1.4.0.0 for both "new" and "old" versions.
 

Attachments

Hi,

I had a look at the issue and it seems to be a bug in the Assimp library that I use to read COLLADA file. Your object returns with a transformation matrix from that library that applies a scaling of zero, which makes the object dissapear.

The problem seems to be in the line below from the COLLADA file that specifies the unit. If I remove some digits from the meter value the object does load fine.

Code:
<unit meter="0.02539999969303608" name="inch" />
 
So it seems the problem is in Skretchup.
I simply opened the COLLADA model using BlockNotes and modified the line as follows

<unit meter="0.025399999" name="inch" />

and everything works fine.
Thank you.
 
Hello:

Sketchup users intending to export 3D models for processing by ModelConverterX (aka "MCX") may wish to instead use Google Earth *.KMZ files to avoid the issues acknowledged by Arno above which are through no fault of his own, as AFAIK, they are due to a problem in the current build of ASSIMP distributed with MCX.



FYI: There are minor differences in the "Options" feature set of the the *KMZ and *.DAE (aka "Collada") default exporters in Sketchup.

https://www.google.com/search?client=firefox-b-1-d&ei=1s31X-mXDI-EtQWkxbWoDw&q=site:www.fsdeveloper.com+GaryGB+Sketchup+KMZ+options+2+sided&oq=site:www.fsdeveloper.com+GaryGB+Sketchup+KMZ+options+2+sided&gs_lcp=CgZwc3ktYWIQDFDNNljNNmCXR2gAcAB4AIABZIgBrQGSAQMxLjGYAQCgAQGqAQdnd3Mtd2l6wAEB&sclient=psy-ab&ved=0ahUKEwjp2sbgxofuAhUPQq0KHaRiDfUQ4dUDCAw


BTW: Greater fidelity / control over 3D model export / import, from / to Sketchup and MCX ...is possible via *.OBJ plugin Ruby scripts:




CAVEAT: Be aware another Sketchup plugin Ruby script using ASSIMP 'may' have the same issue (only ? :scratchch ) with Collada *.DAE file import:


GaryGB
 
Last edited:
Hi,

I had a look at the issue and it seems to be a bug in the Assimp library that I use to read COLLADA file. Your object returns with a transformation matrix from that library that applies a scaling of zero, which makes the object dissapear.

The problem seems to be in the line below from the COLLADA file that specifies the unit. If I remove some digits from the meter value the object does load fine.

Code:
<unit meter="0.02539999969303608" name="inch" />
Hi Arno, This is what I was having a problem with here. I'm glad you found it. gabriema, your solution works perfectly for me as well.

Ed
 
I have filed a bug report for the assimp library as well, hopefully they can fix something.
 
Back
Top