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

BlendMask problem - UAAA

Messages
29
Country
kazakhstan
Hello everyone,

please help me to understand what I am doing wrong when creating the blendmask (see attachment).

Here's my inf file:

[Source]
Type = MultiSource
NumberOfSources = 2

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "L16X93561X93608Y47971Y48006.BMP"
Variation = All
NullValue = 255,255,255
SamplingMethod = Gaussian
ulyMap = 43.3830937738284
ulxMap = 76.9729614257812
xDim = 1.07288360595692E-05
yDim = 7.80209651075969E-06
Channel_BlendMask = 2.0


[Source2]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "L16X93561X93608Y47971Y48006_B.TIF"
NullValue = 0,0,0
SamplingMethod = Gaussian
ulyMap = 43.3830937738284
ulxMap = 76.9729614257812
xDim = 1.07288360595692E-05
yDim = 7.80209651075969E-06


[Destination]
DestDir = "."
DestBaseFileName = "Photo01"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 90


Thanks!
Mike
 

Attachments

  • scrn-UAAA.jpg
    scrn-UAAA.jpg
    95.4 KB · Views: 470
Hi Mike.

You might take out the

NullValue = 0,0,0


in the Source2. See if that works. Your blendmask should be 8-bit black and white, or grayscale.

Dick
 
Thanks, Dick. I have done that - still no change. Nothing works. I have even tried to compile my photo scenery on another computer - exactly the same result. Not sure what else to do.
 
Is your blend mask a gray scale image?? Where is it getting that red colour from?
 
Thanks for the hints. I still couldn't figure out the problem. The red stuff is gone once I have taken out the NullValue strings. Now the image looks like the attached. As you can see there's no blending yet. What am I doing wrong this time?

The contents of my Photo02.inf file are below:

[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "L16X93561X93607Y47970Y48004.BMP"
Variation = All
Channel_BlendMask = 2.0
Channel_WaterMask = 3.0
SamplingMethod = Gaussian
ulyMap = 43.3850898946516
ulxMap = 76.9729614257812
xDim = 1.07288360595691E-05
yDim = 7.80171142422047E-06

[Source2]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "L16X93561X93607Y47970Y48004_B.TIF"
SamplingMethod = Gaussian
ulyMap = 43.3850898946516
ulxMap = 76.9729614257812
xDim = 1.07288360595691E-05
yDim = 7.80171142422047E-06

[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "L16X93561X93607Y47970Y48004_W.TIF"
SamplingMethod = Gaussian
ulyMap = 43.3850898946516
ulxMap = 76.9729614257812
xDim = 1.07288360595691E-05
yDim = 7.80171142422047E-06

[Destination]
DestDir = "."
DestBaseFileName = "Photo02"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 90

The TIF files are all grayscale. The BMP file is 24-bit.
 

Attachments

  • scrn-uaaa.jpg
    scrn-uaaa.jpg
    63.7 KB · Views: 513
The problem is resolved. Basically what was happening was that I selected the area to create map from the background from SBuilderX and then edited the resulting BMP file to cut out everything unnecessary. The next step was to create a gray scale TIf blend mask. That's where the problem occurred. I was using premade Adobe Photoshop action script which made a gradient transition in color from white to black based on selected area which had to be filled with white first. The problem was that I applied the script for the whole selection without prior contracting the marquee by the width of the gradient fill (about 200 pixels).
After I introduced the change, everything began to blend in very nicely.

Thanks for everyone's attention to this post!
:-)
 
Back
Top