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

[SOLVED] Thin Black/Red Lines near edges of Photoscenery ONLY in day time imagery.

RicherSims

Resource contributor
Messages
571
Country
dominica
TLDR; Single pixel wide lines are appearing on the edges of each of my photoscenery areas but only in the day time seasons. They do not appear in night imagery. Any ideas?

This is a preview in TMFViewer. The black line is present everywhere except for the right side. On the bottom edge, it starts of black and then gradually turns red as the blend mask shows more land.

Black Line.JPG


A close up of the bottom edge:
Red Line14.JPG


I had this problem once before but I solved it by filling in empty pixels in my imagery. There are no empty/white pixels this time. (I zoomed in and checked each image).


I used GlobalMapper to split each season and mask into 7 corresponding sections. The black/red lines are present on them all. Each section has identical dimensions, resolutions, pixels per inch, bit depths, etc. I also checked each files properties and examined them in Photoshop.
I cannot understand why these lines appear in the day of each season, but not at night.


Here is the code for one my INFs. I also triple checked that the xdim, ydim, ulxmap and ulymap values are identical and correct for each source.

Code:
[Source]

   Type = MultiSource
   NumberOfSources = 6

[Source1]
   Type = TIFF
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L17_BGI_seasons_damp_A1.TIF"
   Variation = May, June, December, January
   Channel_BlendMask = 5.0
   Channel_LandWaterMask = 6.0
   SamplingMethod = Gaussian
   ulyMap =  13.368291818400
   ulxMap = -59.677820321300
   xDim =  5.22245055881585E-06
   yDim =  5.22245055881578E-06

[Source2]
   Type = TIFF
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L17_BGI_seasons_dry_A1.TIF"
   Variation = February, March, April
   Channel_BlendMask = 5.0
   Channel_LandWaterMask = 6.0
   SamplingMethod = Gaussian
   ulyMap =  13.368291818400
   ulxMap = -59.677820321300
   xDim =  5.22245055881585E-06
   yDim =  5.22245055881578E-06

[Source3]
   Type = TIFF
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L17_BGI_seasons_wet_A1.TIF"
   Variation = July, August, September, October, November
   Channel_BlendMask = 5.0
   Channel_LandWaterMask = 6.0
   SamplingMethod = Gaussian
   ulyMap =  13.368291818400
   ulxMap = -59.677820321300
   xDim =  5.22245055881585E-06
   yDim =  5.22245055881578E-06

[Source4]
   Type = TIFF
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L17_BGI_LM_A1.TIF"
   Variation = Night
   Channel_BlendMask = 5.0
   Channel_LandWaterMask = 6.0
   SamplingMethod = Gaussian
   ulyMap =  13.368291818400
   ulxMap = -59.677820321300
   xDim =  5.22245055881585E-06
   yDim =  5.22245055881578E-06

[Source5]
   Type = TIFF
   Layer = NONE
   SourceDir = "."
   SourceFile = "L17_BGI_B_A1.TIF"
   SamplingMethod = Gaussian
   ulyMap =  13.368291818400
   ulxMap = -59.677820321300
   xDim =  5.22245055881585E-06
   yDim =  5.22245055881578E-06

[Source6]
   Type = TIFF
   Layer = None
   SourceDir = "."
   SourceFile = "L17_BGI_W_A1.TIF"
   SamplingMethod = Gaussian
   ulyMap =  13.368291818400
   ulxMap = -59.677820321300
   xDim =  5.22245055881585E-06
   yDim =  5.22245055881578E-06


[Destination]
   DestDir = "C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Addon Scenery\RS Barbados 2017\Scenery\"
   DestBaseFileName = "temp_PhotoMap_Barbados_2017-Full_A1"
   DestFileType = BGL
   LOD = 5,15
   UseSourceDimensions = 1
   CompressionQuality = 85
 
So out of a hunch (since a difference in pixel scale or resolution is the only thing that could have caused this), even though the file details and properties were all identical, I ran them through Photoshop again and set the Pixels per Inch from 96 to 96, while keeping the resample checkbox unchecked.
No idea why, but that worked. I'm not even going to bother figure out why... time to move on.
 
Back
Top