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

FSXA replacing colors

Pyscen

Resource contributor
Messages
3,040
Country
us-texas
Hi Arno,...

Within the minimize Drawcalls window, we have 3 options to check/flag... the replace colors option doesn't appear to be working properly.. with it checked... its not creating the 2 colors as bmp files. Specifically the col17 and col3, even if resaving the model file. The col17 is the window color used within the dae file.

I'm trying to make it reflective and transparent... hopefully I will have better luck then others in recent past... but the replacing colors option isn't creating the bmp file.
 
Hi,

Let me check. The colour should become a section on the new combined sheet.
 
Hi,

Let me check. The colour should become a section on the new combined sheet.

Ok... after farther experimenting... the col3 and col17 are only produced if Merged Textures is clicked/checked... it turns out that just checking replace colors and Detect duplicate textures doesn't "replace the colors" etc....

Not sure the reasoning behind having separate options for such if you can't do them without Merging textures. Just a thought. :)
 
Hi,

That might be what is going wrong. I'll probably have to make the last step required.
 
Hi,

That might be what is going wrong. I'll probably have to make the last step required.

ok... that would make sense... though from there,... how will we go about making the window color transparent and reflective or has that been fixed from earlier versions?

Looking back in previous comments on the matter its suggested to place a alpha channel etc within that color... Is ModelConverterX doing that now?

Also,... getting back to the Diffuse color,.... specifically the texture that is a window (the colors), is the standard rgb,... but adding a 4th number: what is that for specifically? I have also noticed that the Ambient color for the window is different from the Diffuse color (usually darker).

Just trying to understand how I would need to duplicate it in a regular texture.
 
Hi,

That fourth number is the alpha value of the colour.

Yes, when the colour is transparent that will be included in the combined texture as well.
 
Hi,

Doug, I found that it is better to avoid using colors at all.
Their representation in FSX is not what you would like it to be (too RGB, no nuances, too harsh). It might not be a flaw of MCX but just an FSX issue.
Better to just make a small texture map (BMP or DDS) with that color instead. That way it is easier to adapt as well as I remember Arno replying once it influenced the FPS (or drawcalls or something I cannot remember) as well.
Just my personal experience unless I overlooked something obvious (which could be easily the case:)).
 
Hi,

For performance it is best to use part of a texture, so that it remains the same drawcall. That is exactly what the drawcall minimiser is doing.
 
Hi,

Doug, I found that it is better to avoid using colors at all.
Their representation in FSX is not what you would like it to be (too RGB, no nuances, too harsh). It might not be a flaw of MCX but just an FSX issue.
Better to just make a small texture map (BMP or DDS) with that color instead. That way it is easier to adapt as well as I remember Arno replying once it influenced the FPS (or drawcalls or something I cannot remember) as well.
Just my personal experience unless I overlooked something obvious (which could be easily the case:)).

I was planning that... I was going to create it as a dds initially a bmp but... also wanted use it as a teaching/learning experience as well... so I wanted to go the long route to better understand what is needed to do... Thats the reason I was asking about it.

Hi,

For performance it is best to use part of a texture, so that it remains the same drawcall. That is exactly what the drawcall minimiser is doing.

Yes... always looking for a good way to better the model itself...

So if I was going to create it from a texture then.... with MCX... what are the key elements needed or how done in the setup of MCX?

Also... specifically what does the Diffuse color do to the Textures that its used with... and does the default black color within that slot do to the texture?
 
Last edited:
You know I am no expert either but what I did involved the following:
- making a diffuse texture with a grey alpha channel for tranparency purposes;
- adding a specular texture also with an alpha channel for the reflectivity;
- setting the reflective scale to 300 (but that depends on what you want exactly i.e size of the reflexion).
- adjust specular level
- blend diffuse by diffuse alpha
Another approach could be to use an environment map as diffuse texture and make it semi transparent but for that you should be able to make a cube map. Example of the last (but without cube map) as per the screenshot.
Hope I got it right.
 
Last edited:
You know I am no expert either but what I did involved the following:
- making a diffuse texture with a grey alpha channel for tranparency purposes;
- adding a specular texture also with an alpha channel for the reflectivity;
- setting the reflective scale to 300 (but that depends on what you want exactly i.e size of the reflexion).
- adjust specular level
- blend diffuse by diffuse alpha
Another approach could be to use an environment map as diffuse texture and make it semi transparent but for that you should be able to make a cube map. Example of the last (but without cube map) as per the screenshot.
Hope I got it right.

Well it looks good... tell me,... how did you get th apha channels and the textures... and the cube etc... I recognize what your saying but how to get there... etc
 
I made them with paint.net, GIMP and DXTBMP.
I will try to explain tomorrow night as it is already late over here and I have to get up early.
 
As promised:

(Beware, this is only my newbie way of doing things, you would need an Ngix to be able to tell you how to do things correctly)
First I tried to make head and tails of the info in the SDK (about FSX materials and texturing aircraft models).
I then just started experimenting.
With regard to the screenshot:
I took a screenshot from in front of the terminal and saved it as a dds texture (I used paint.net to do the conversion, flip it vertically and make it a square map).
I then opened DXTBMP and added an alpha channel to it (in DXTBMP the small picture in the upper right corner) by exporting the white (therefore opaque) to the editor (paint.net or other), changing the white color to grey, saving it (not save as), importing it again in DXTBMP and reloading the image after editing.
You now have this texture with a grey (semi transparent) alpha channel.
I use this texture as a diffuse texture.
Next, I make another texture (just a colored texture with a grey scale alpha channel as well). I put this texture in the specular texture slot and set the specular power scale to 64.
But that is just my way of doing and I think it is not the right way as the environment map should be in the specular slot and blended with the inverse diffuse alpha, I think. Besides, an environment map is a cube map incorporating 6 screenshots and not just one.
For the MCX material settings, I suggest you check out the example in the FSX materials SDK about the specular map (example nr 3).
In this particular screenshot instance I did not do any blending but in the case of my first approach I did.
About using a cube map instead of the custom environment map, there is a tutorial somewhere but I cannot find it anymore. There is also a dxtex plugin that you find in the directX sdk that you can use to make cube maps.
Hope it helps but there may be flaws in what I wrote. I suggest you read the SDK another 10 times more and hope you are smarter than I am and figure it all out.
 
Last edited:
As promised:

(Beware, this is only my newbie way of doing things, you would need an Ngix to be able to tell you how to do things correctly)
First I tried to make head and tails of the info in the SDK (about FSX materials and texturing aircraft models).
I then just started experimenting.
With regard to the screenshot:
I took a screenshot from in front of the terminal and saved it as a dds texture (I used paint.net to do the conversion, flip it vertically and make it a square map).
I then opened DXTBMP and added an alpha channel to it (in DXTBMP the small picture in the upper right corner) by exporting the white (therefore opaque) to the editor (paint.net or other), changing the white color to grey, saving it (not save as), importing it again in DXTBMP and reloading the image after editing.
You now have this texture with a grey (semi transparent) alpha channel.
I use this texture as a diffuse texture.
Next, I make another texture (just a colored texture with a grey scale alpha channel as well). I put this texture in the specular texture slot and set the specular power scale to 64.
But that is just my way of doing and I think it is not the right way as the environment map should be in the specular slot and blended with the inverse diffuse alpha, I think. Besides, an environment map is a cube map incorporating 6 screenshots and not just one.
For the MCX material settings, I suggest you check out the example in the FSX materials SDK about the specular map (example nr 3).
In this particular screenshot instance I did not do any blending but in the case of my first approach I did.
About using a cube map instead of the custom environment map, there is a tutorial somewhere but I cannot find it anymore. There is also a dxtex plugin that you find in the directX sdk that you can use to make cube maps.
Hope it helps but there may be flaws in what I wrote. I suggest you read the SDK another 10 times more and hope you are smarter than I am and figure it all out.

Well its a starting point for sure.... so the key is the gray alpha channel? ok... I assume when you mean gray, it can be any form of? I have already read and re-read a number of times... to bad they didn't allow us bookmarks on the subject. :D Reading over and over.. making some sense... I wonder why they keep switching from one application to another... anyways,... I will be working on this for awhile and I will also be writing notes etc for a teaching aid as well,... for later.

Posting a sign up: "Do not Disturb! Mad Scientist at work!":D
 
Back
Top