Textures manipulation

This first post is quick guide to PNG files manipulation using GIMP.
Feel free to post any other guides to different file formats or techniques.

I didnt check other sims but XP uses (also) PNG file format for texture files. I am not an expert, so this is how I did it for one particular aircraft.

Before


After

To locate texture file navigate to aircraft folder
…\XP11\Aircraft\Extra Aircraft\DF AS350B3 Plus XP10\liveries\Transport.1\objects

It is always wise to make a copy of this folder or the particular texture file just in case.

In my case it is texture file called MainStage.png
Open particular texture with GIMP eg Right Mouse click -> Open With -> GIMP (if you are asked to Convert/Keep something I use Keep).

Then go to MS forums, banner, Right Mouse click -> Save image as
and save it somewhere where you can later locate it :slight_smile: It is again PNG file.

Locate saved MS banner PNG file, Right Mouse click -> Open With -> GIMP
Now you have two GIMP windows opened or one window with two tabs.

On the texture file tab go to menu Tools -> Selection Tools -> Rectangle Select
Select part of the picture which is close to the section which you want to mask and select it, then Ctrl+C and Ctrl+V.

Then drag and drop it over the reg no. Do it again and again (if needed) until the whole reg no is masked.

If there are rough edges after the paste use e.g. Tools -> Paint Tools -> Smudge
Change the ‘Size’ of the tool (in my case tool menu on left hand side, Size 20) and do the smudging. Green rectangle shows already smudged area. Proceed with all the edges.

In case there are more tones of red colour (lighter and darker), as is the case for the left side of the engine cowling, just use smaller area of the same tone, copy-paste to mask, and do the smudging as appropriate.

Smudge size - bigger means you will finish it quicker, smaller means you can smudge in tighter spaces not blurring other parts.

Then go to the other tab with MS logo. From menu again Tools -> Selection Tools -> Rectangle Select
and select MS text. Or use it as is, the whole text and logo. It is already PNG file with transparent background what is great :slight_smile: I selected just the MS text. Select, Ctrl+C to copy, open the other tab with texture and Ctrl+V to Paste. Choose again selection tool to drag and drop pasted layer. Drag it over to where you want to place it on the texture.

With the pasted MS text still selected go to menu Layer -> Scale Layer…
Change Size of this pasted layer (MS text), select Interpolation (NoHalo worked best for me) and then click Scale. Reposition it again after scaling if needed using selection tool.

To apply any effects I use menu Tools -> Transform Tools -> Unified Transform
Click on any of the rectangles and drag them to see what they do. I dragged the one in yellow.

Do similar steps for other side of the engine cowling, etc.

To rotate pasted layer use Tools -> Transform Tools -> Rotate
and so on.

Be sure that you have the pasted layer always selected when you want to use any tool on it. If you lost selection, use Ctrl+Z or Ctrl+Y to go back and forth in the steps you have already performed. GIMP remembers many steps.

Once you are satisfied with the manipulations go to menu File -> Export As… and Export. Confirm the default settings for PNG export.
Save or Save As in this case doesnt work as GIMP can Save only in GIMP picture formats. But can Export to many common formats.
Once Exported successfully, you dont need to save at closing.

Run XPlane and check your creation in game.

In case of any questions feel free to ask.

6 Likes

Thank you!!

1 Like

I found a couple of youtube tutorials that use Blender and Gimp to add stencils to MFS aircraft. What I like about this is the 3D painting nature of the modifications instead of having to deal with the textures themselves.

The first is a bit slow but it covers the installation of the plugin blender needs to read MFS 3d models. It doesn’t cover how to export the changes to be imported/merged with MFS but it is a start.

The second is better, but I found that I needed to struggle through the first one to be able to keep up with the quicker pace of the second. This one covers most of what is in the first one, faster, but does give some decent details on the export/import process. In addition to the video, you need to go and sign up for the Discord channel in the link to get the Template Texture pack - necessary to do the merge/import into MFS at the end.

The third is … pretty terrible. I mean, it is not bad insomuch as it has quite a few errors and omissions that the two videos above cover better. What I got from this one, and the only reason that I am including it here, is if you are trying to paint a stencil across parts of the plane (ie: from the tail across to the rudder). You can see how he puts the stencil in place with one part selected, then goes to the object mode to select the second part, goes back to texture editing (without moving the view or stencil) to continue the painting process. Other than that, avoid this third video as it does contain a number of errors where he does not correctly explain what he is doing.

Here are mu results with a few stencils in place and a modification of the decals texture to change the swipey line colours.

I turned on the decals objects in blender to see where I could paint that would not overlap with the fancy lines :slight_smile:

4 Likes
© 2020 Mudspike.com | Articles Website | Forums Rules & FAQ