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

MSFS20 Best way to export complex objects

Messages
4
Country
spain
Hi all!
I'm still learning all the needed stuff to make my local airport. I made it for Xplane-11 some years ago and now I have to re-learn everything ( I used sketchup for custom objects).

Well, my two first sceneries for msfs 2020 have been landmaks for two cities. I could extract data from g... maps with Renderdoc, edit with blender and create the objects, import into de sim and fly.

Well, the RenderDoc data result in many objects, everyone with one material. The worlflow I follow implied clean vertex, join all the objects into one, make a copy of this object to a new one and erase all the materials from the second object. Make a smart UV proyect, bake all the materials of the 1st object to the new.

As a result, I had ONE object with ONE UV map and ONE texture. Once exported as glft, I had one .bin, one .gltf, one .xml and one texture.

Then I begun to explore PBR Materials with simple objects modeled in Blender. After some attemps, I succesfully obtained one .bin, one .gltf, one .xml and THREE textures: Albedo, normal and combined OA+Rougness+Metallic.

Imported in the Sim and look good.

The question arised when I try to make a more complex objects with more than one PBR material.

My first attemp was with and object with two meshes, every one with a distinct PBR. Following the RenderDoc workflow and some addons, I could bake all the textures from the two objects into one texture, one UV map. Joined the two objects and finally I got one gLtf object with three textures.

It was a tedious work.. and that with only two PBR. I can't imagine the workload with a complex hangar, tower, etc, with many materials.

But then I made a test. Using the same two PBR materials, I baked the textures separately, that is, one set per objetc (material). Ended with two sets of textures, one set for each object.

When I compliled it ( selecting ALL the objects) I obtained ONE .bin, ONE .gltf, ONE .xml and 6 textures. Opening the object with de windows gltf viewer the result was the same that the joined one. And in the sim, the same. One object file and 6 textures, but the appareance was the same.

So... What is better?
* The 1st workflow, join all the objects, bake all the textures into one
OR
*Left every object ( that is, every part of the real object) separte and export all of them into one single .gltf???
 
I did a t3st object with no baking or uav mapping (that I did). I exported the object .xml, .gltlf., .bin. I also had plugged the three textures- into the same channels you did. Two objects thre textures each for six texture files from per download. One object with gold and the other with gold and steel. End result golden monkeys head in a gold and silver box. No baking, no uav unwrapping or wrapping. Just tilEd textures and math. I have built a hanger with three different materials that I will try to do the same with in a day or two. My issue runs into when the uv that the software imparts, although I dont use a file containing any sort of uav Lay-out seems to north be straight from time to time.
970AFE1C-001E-428B-BDF3-DDCDB3FE6AC8.png
 
Back
Top