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

MSFS24 UV Problem?

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
6,514
Country
us-wisconsin
Hi Arno. While working with MSFS2024 BGL libraries and their textures (.KTX2) I have found a problem. When MCX loads the textures and models it appears the UVs and the images are vertically flipped. When they are exported, compiled and displayed in the sim, their orientation looks OK, but truely they are both flipped. In the attached example, the texture is displayed correctly in the MCX window, but the texture display is vertically flipped, and remains that way when exported. Because it displays OK in the sim, that tells me the UV has also been flipped. if I substitute the original .kxt2, the display is vertically flipped, meaning the UV has been flipped.
UV_Problem.png
 

Attachments

Thanks Dick. I'll have a look.

So you are saying the arrow should point down?
 
No, the arrow should point up. In the sim, it does point up, but the texture from MCX is vertically flipped... so that means the UVs were also flipped. KTX2 to PNG shouldn't be flipped, nor should the UVs to correct that.
 
Right, let me check. I know in the past I had to do some flipping as the source and compiled files differ (I even believe the package tool does some flipping).
 
Hi Dick,

I have started to look at this issue now. When I open the KTX texture in the MCX texture viewer the arrow is pointing down. I guess that might be the problem, but I am struggling a bit to find another view that can show KTX textures to double check that I made a mistake with reading the texture. Do you have a suggestion for a tool that can read the KTX file?
 
I was looking for a KTX viewer that could be used independently from MCX; this search yielded quite a few hits: :idea:

https://www.google.com/search?q=KTX...D8IHCDAuMy4xNi4xyAdPgAgA&sclient=gws-wiz-serp


I plan to test Castle Image Viewer:

https://castle-engine.io/castle-image-viewer


...as it can create a thumbnail gallery somewhat like "Browse" in XnViewMP (which views most DDS formats):

"Browse all the images within a single directory (use keys Page Up, Page Down)."


XnViewMP:

https://www.xnview.com/en/xnview-mp/

GaryGB
 
Last edited:
Yes, but the few online viewers that I tried all failed to show a MSFS generated file :). So did you find one that works?
 
Thanks, using the NVidia tool the arrow is indeed pointing up in the texture, while MCX show it pointing down. So it seems I need to update my KTX2 reader to flip it and then I do not have to touch the texture coordinates of the model anymore.
 
Back
Top