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

Transparency

Messages
225
Country
unitedkingdom
Okay I am pretty good when it comes to using pure black for ground polys, but I am having plenty of trouble exporting a scenery object with the black alpha, it shows up as i plan in MCX but when saved as a bgl the black parts of the texture on my object are not invisible but just a black block. When i export as mdl the problem is solved until I create a library object out of the mdl and once again the surrounding texture is just black and not at all invisible.
textures are 512x512 DXT3 with black alpha
compiling for FS9

Also having the same problem with many features of the material editor, but those can wait.
 
capture016.png

See its fine here, but if i export as bgl or mdl then convert to bgl...
this happens
capture017.png
 
Hi,

Before I answered I downloaded the latest dev. release.
I have no problem in either adding a transparent object nor scenery (in FS9).
The only thing I noticed though is that, upon loading the mdl/bgl, the material is set automatically back to opaque.
If you do not set it back to transparent prior to compiling, then you get what you think is an error.
You are right though that that is something that maybe Arno should remedy as that is something that cropped up recently (AFAIK)
 
Hi,

I'll check if there is something broken. But the settings for transparency are not saved to fs2004 mdl files. When loading a fs2004 object modelconverterx checks if the alpha channel is there and should then apply the right settings.
 
I have been suffering this problem for a while now, but because I am now using transparent textures a lot more it is becoming harder to handle. This is my method...
1. import and set the alpha as default transparent.
capture018.png

export as bgl (or mdl depending)
capture019.png

Then if I bring it back into MCX it returns to default
capture020.png
capture021.png

so yeah, am I doing something wrong?
 
It shouldn't happen like this, but like I said I will check if a bug slipped in.
 
Hi,

I can't reproduce the problem here. Can you maybe send me your object and texture for testing?
 
Hi,

Thanks, I can reproduce the problem. Let me check what is going wrong.
 
I haven't spend a second behind my development pc since posting last time. So no idea yet.

Some days I'm just busy and then it takes a little longer. I can read the forum on my phone or tablet, but for the code I really need to sit down behind the pc.
 
Hi,

I have fixed the bug now. If you grab the new development release tomorrow it will work.

For FS2004 MDL files the transparency was detected correctly, but for FS2004 BGL files it was not. I have fixed that now.
 
Like I said, the problem was that a piece of code was not called when loading the bgl, while it was for the mdl. Just a bug :)
 
Back
Top