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

Normal map creation wiki article

Messages
393
Country
newzealand
Hi there,

Just a question about the normal map creation from the FSDev wiki article and the P3D SDK.
https://www.fsdeveloper.com/wiki/index.php?title=Normal_map_creation
http://www.prepar3d.com/SDKv4/sdk/modeling/3ds_max/modeling/texturing_aircraft_models.html#Texture Map Types

Both say go from a grayscale height map to the directx normal map format using the nvidia plugin.
Then there's some tweaking to get it into the FS format. Contradictions in bold

FSDev Wiki says:
  1. Copy the content of the red channel to the alpha channel
  2. Make the red channel black
  3. Invert the green channel
  4. Make the blue channel white
Save as dds.

The P3D SDK (I can't find an FSX one) says:
The Normal maps used in the rendering engine reassign the Red channel as an Alpha channel and leave the Green and Blue components unchanged.

It says to use the imagetool to go straight from nvidia normal map to dds
imagetool -nobeep -dxt5 -RedInAlpha -dds -nodither <path/filename>


Where has the invert the green channel and make the blue channel white come from?
I did a test here, after running the image through the command above the red channel goes to the alpha, the red channel does indeed go black.
But the green and blue channels are untouched.
*I inverted the alpha for this demonstration on the after image otherwise the alpha preview (full alpha transparent is shown in red) would block the other letters.*
Look at the little channel previews on the side (sorry they're small).



Has the process changed for P3D4? I believe they're still trying for backwards compatibility so I wouldn't have thought so.

Cheers,
Nick
 
Last edited:
Hi there,

you could or should consider ModelConverterX from Arno Gerretsen!. It contains in the "Texture Editor" a function to convert non-FSX-conform Normalmaps to FSX-conform ones!

ModelConverterX Texture Converter.jpg


It would be good to try this method.

ModelConverterX can be downloaded from here:

https://www.scenerydesign.org/modelconverterx/

Kind reagrds from Switzerland

Conrad
 
Just for information, the "Invert the Green Channel" is only required if the normal map is generated by using a gray scale image of the diffuse texture. What it does is invert the normals such that "bumps" become "dimples" and vice-versa.
 
Back
Top