• 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 Texture Size Multiple of Four

=rk=

Resource contributor
Messages
4,702
Country
us-washington
I don't know how relevant this is for people, if you use pre sized textures from a repository or library you may never run into a similar situation. I tend to like to make my own textures, from screen grabs and they're rarely power of 4. For the longest time I used MCX and getting power of 4 textures was simply procedural. Now that I use 3ds Max primarily, MCX isn't part of the pipeline and I get texture warnings a lot. At first, I was just doubling, or quadrupling the textures size which worked, but it's not very practical - then math woke me up.

See, once you map a texture, the dimensions are irrelevant. If you scale the texture uniformly, the mapping remains unchanged and detail precision rises or falls. Given that, I can usually get to power of 4 by adding or subtracting a few pixels to or from one dimension, which Photoshop obligingly matches. So far in my early experiments, I am able to get power of 4 within a range of about 20 pixels and I can "picture" that there would be an equation that could tell us exactly the range of numbers necessary to add or subtract from any fixed ratio, such that each dimension was divisible by four. We already know the "adjustment" range would be fewer than 100 pixels, because any multiple of 100 is divisible by four, so ya. I am guessing the number would be just under 50, but half of that also seems likely.
 
Hey Rick,

In your second statement you are talking about multiple of four, wich is correct, while in the title power of four is indicated
Of course power of four is a multiple of four, however is not necessary to make MSFS compliant textures

To recap, power of four is: 4, 16, 64, 1024, 4096
Most common texture size are power of two (by definition a multiple of 4)
4,16,32,64,128,256,512,1024,2048,4096,8192

But any texture size multiple of four is ok for MSFS , like e.g.

8, 12...796, 800,...1020

So rounding texture size to multiple of four is usually a couple of pixels from original, the larger the texture, any distorsion is gonna be less noticeable 😚
 
I edited the title and also would add the idea that if one dimension is already the proper ratio, changing the other by a pixel or two to bring it into ratio might amount to an unnoticeable distortion.
👍
 
Back
Top