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

Blend Mask TIF format

Messages
57
Country
israel
I'm trying to create a blend mask, if I create a 24BIT BITMAP it seems to work fine but when I create a TIF (8BIT/GRAYSCALE) I get an error during the compilation "unknown data type" when it reads the blend mask data and compiles the photo scenery without the blend mask, any ideas on what am I doing wrong with saving the TIF file?
 
I believe that SbuilderX will look for an 8-bit BMP as a blendmask.

Dick
 
I believe that SbuilderX will look for an 8-bit BMP as a blendmask.

Dick

I have a tutorial and also read a sticky at another forum that said it should be TIFF. anyways its not a problem with SBUILDER, the resample itself doesn't work with my TIFF... is there any difference at all between a TIFF and a BMP source? (mybe file size?) if there is no difference than it doesn't really matter...
 
there you go:

Code:
[Source]
   Type = MultiSource
   NumberOfSources = 3
[Source1]
   Type = BMP
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L16X78226X78250Y53215Y53235.BMP"
   Variation = Day
   Channel_BlendMask = 3.0
   NullValue = 255,255,255
   SamplingMethod = Gaussian
   ulyMap =  32.0290348187359
   ulxMap =  34.8541259765625
   xDim =  1.07288360595692E-05
   yDim =  9.09811409371567E-06

[Source2]
   Type = BMP
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L16X78226X78250Y53215Y53235_LM.BMP"
   Variation = Night
   Channel_BlendMask = 3.0
   NullValue = 255,255,255
   SamplingMethod = Gaussian
   ulyMap =  32.0290348187359
   ulxMap =  34.8541259765625
   xDim =  1.07288360595692E-05
   yDim =  9.09811409371567E-06

[Source3]
   Type = TIFF
   Layer = None
   SourceDir = "."
   SourceFile = "L16X78226X78250Y53215Y53235_B.TIF"
   SamplingMethod = Gaussian
   ulyMap =  32.0290348187359
   ulxMap =  34.8541259765625
   xDim =  1.07288360595692E-05
   yDim =  9.09811409371567E-06

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

when I save the blend as BMP and change the type at source 3 to BMP it works fine, when its in TIF format it doesn't apply the blend
 
Tiff is a fairly flexible format. You have to make sure that the proper options are used, 8 bit, grayscale, min is black.

scott s.
.
 
that's a tag that says to interpret 0 as black, 255 as white. Don't know if resample reads that tag, just know that tiff supports it. (the tag name is "Photometric"). You might also look at any compression in the tiff. I think resample is OK with none or Packbits.

scott s.
.
 
is there any difference between using a 24BIT BMP blend mask to a TIFF blend mask? or that it doesn't worth my effort at all...?
 
I think a 24 bit bmp probably works, because the info in each cahannel is identical, so 3.0 will cause resample to read the first channel (red I guess) of the bmp and interpret it as the blend data, so it will work. I only use tiff, because I use GIS software which creates geoTiff and I don't have to figure out the xdim, ydim stuff for resample.

scott s.
.
 
Back
Top