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

Help with blendmask

Messages
8
Country
norway
Hi..

I am just figurung out how the .inf files an GeoTiffs are working, but i bumped into a problem..

Made a test image (GeoTiff) and compiled with the resampler tool and it worked fine.. But when i was ready to add the Blend mask from another image (8-bit, graystyle) the resampler woud not compile the BGL..

Can anyone tell me what i`m doing wrong??

Here is the text from the .inf...

[Source]
Type = MultiSource
NumberOfSources = 2

[Source1]
Type = GeoTIFF
Layer = Imagery
SourceDir = "."
SourceFile = "Test.TIF"
Variation = All
Channel_BlendMask = 2.0

[Source2]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "Test_B.TIF"
SamplingMethod = Gaussian

[Destination]
DestDir = "."
DestBaseFileName = "test"
DestFileType = BGL
LOD = Auto
CompressionQuality = 90


Probably somethng i just forgot, or something i just don`t havent figured out yet... But when i only used 1 source it worked well.. the second file is just the first image converted to gray 8-bit, painted, and saved under another name...

Regards Tom..
 
If you don't use a GeoTIFF, you will need to tell resample the extents of your image. It is easier, though, to convert it to a GeoTIFF -- I use ListGeo and Geotifcp available from here.
(look for the ListGEO_GUI to make life easier.)
This allows you to extract the geodata from the geoTIFF, and apply it to your mask image.
 
thanks...

So in other words, all separate images to bee used, (bleds & water) needs the Geografical information so thet the Resampler know where to put it??

In that case, i woud think its less work to add the belend & water in layers in the original image... Then i`ll guess you don`t need to georef all you files...??:confused:

Tom
 
So in other words, all separate images to bee used, (bleds & water) needs the Geografical information so thet the Resampler know where to put it??

In that case, i woud think its less work to add the belend & water in layers in the original image... Then i`ll guess you don`t need to georef all you files...??:confused:

Tom

Yes, and yes. I always use separate images though so that I don't over-tax my poor old system.
By the way, there are a multitude of uses for the tools I mentioned -- it does make it a lot easier to edit your image, and then re-attach the geodata.
The GUI in particular is just a few clicks, and takes just a few seconds to extract from your original image and apply to the mask images.
 
But what code/text do i need in the .inf to tell the resampler that the blendmask is just a layer in the photo, and not a seperate image..??
 
I've never done this, so it is just a guess:)
Where you current inf reads:
Channel_BlendMask = 2.0
I think this should be 1.1
(source 1, band 1)
You may have to play around with the rest...
 
Hi,

I am not experienced in this field, but suppose, that most of the simple graphic editors use channels 0,1,2 for R, G, B, so the first appended alpha should be 3. So it can be also Channel_BlendMask = 1.3 in this case ? :confused:

Best regards

Vlada
 
Back
Top