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

FSX [Resample] Month Variations not working

Messages
558
Country
newzealand
Hi guys- Pasted below is my .inf file for a little project I'm working on. I'm fairly certain that this is the root of the problems because swapping images between the 'winter' and 'summer' variation always successfully produces the first aerial image but not the second.

This .inf file is supposed to create an aerial image with water and blend masks for all variations. There are 3 variations, 'Summer', 'Winter' (for the time being these are just a collection of month variations) and 'night'.

Here's what happens- Blend and water masks work fine on all images. Night map works fine. The first image [source1] works fine and shows up in tmfviewer. The second image [source5] shows up as completely red (except for blended and watermasked areas)

The puzzling thing is, if I swap the images so that the image that unsuccessfully converted is now first, that one works OK but the other doesn't (i.e. it isn't a problem with the image itself- It's something to do with the inf file?!)

Can someone cast some fresh eyes over it and suggest a solution?
Thanks in advance.

Code:
[Source]
Type = MultiSource
NumberOfSources = 5

[Source1]
Type                = TIFF
Layer               = Imagery
SourceDir           = "Source"
SourceFile          = "Opotiki_Aerial_Winter.Tif"
Variation	    = January,February,March,April,May,December
ulxMap		    = 177.230402079499040
ulyMap              =-37.982837829104163
xDim		    = 0.000012690004605
yDim   	            = 0.000012689838452
Channel_LandWaterMask = 3.0
Channel_Blendmask = 4.0

[Source2]
Type                = TIFF
Layer               = Imagery
SourceDir           = "Source"
SourceFile          = "Opotiki_Aerial.tif"
Variation	    = June,July,August,September,October,November
ulxMap		    = 177.230402079499040
ulyMap              =-37.982837829104163
xDim		    = 0.000012690004605
yDim   	            = 0.000012689838452
Channel_LandWaterMask = 3.0
Channel_Blendmask = 4.0

[Source3]
Type                = TIFF
Layer               = None
SourceDir           = "Source"
SourceFile          = "Opotiki_WaterMask.tif"
ulxMap		    = 177.230402079499040
ulyMap              = -37.982837829104163
xDim		    = 0.000012690004605
yDim   	            = 0.000012689838452
SamplingMethod	    =  Gaussian

[Source4]
Type                = TIFF
Layer               = None
SourceDir           = "Source"
SourceFile          = "Opotiki_blend.tif"
ulxMap		    = 177.230402079499040
ulyMap              = -37.982837829104163
xDim		    = 0.000012690004605
yDim   	            = 0.000012689838452
SamplingMethod	    =  Gaussian

[Source5]
Type                = TIFF
Layer               = Imagery
SourceDir           = "Source"
SourceFile          = "Opotiki_Aerial_Night.tif"
Variation	    = Night
ulxMap		    = 177.230402079499040
ulyMap              =-37.982837829104163
xDim		    = 0.000012690004605
yDim   	            = 0.000012689838452
Channel_LandWaterMask = 3.0
Channel_Blendmask = 4.0


[Destination]
DestDir             = "Output"
DestBaseFileName    = "VLC_Opotiki_Imagery"
DestFileType        = BGL
LOD                 = Auto
CompressionQuality  = 85
 
Last edited:
Never mind- fixed it

Originally I had the 1st image as source 1, then the water and blend masks then the 2nd image. I moved the second image to source 2 and placed the water and blend masks as source 3 and 4 with the night map at source 5.

Trick for young players :)
 
Back
Top