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

P3D v3 night texture issue

Messages
3
Country
china
hi,guys!this is tyxxxi from china,There are some questions I would like to ask.I am making night texture,But I do not know where the problem is,When I dragged the DayNight_Variations.inf file to resample.exe, nothing happened,can you show me your inf file?or tell me how to calculate Xdim and Ydim,and Here is my inf file and map info from global mapper, can you tell me which part is wrong?thanks a lot


Code:
[Source]
Type = MultiSource
NumberOfSources = 2

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "F:\"
SourceFile = "day.bmp"
SamplingMethod = Gaussian
NullValue           = 255,255,255
ULXMAP = 103.9718627930
ULYMAP = 30.6367304347
XDIM = 5.07426998275E-06
YDIM = 5.07426998275007E-06
Variation = Day

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "F:\"
SourceFile = "night.bmp"
SamplingMethod = Gaussian
NullValue           = 255,255,255
ULXMAP = 103.9718627930
ULYMap = 30.6367304347
XDIM = 5.07426998275E-06
YDIM = 5.07426998275007E-06
Variation = Night

[Destination]
DestDir = "F:\"
DestBaseFileName = "night1"
DestFileType        = BGL
LOD                 = Auto
UseSourceDimensions = 1
CompressionQuality = 80
Code:
FILENAME=F:\day.bmp
DESCRIPTION=day.bmp
UPPER LEFT X=103.9718627930
UPPER LEFT Y=30.6367304347
LOWER RIGHT X=104.0831009395
LOWER RIGHT Y=30.5575312288
WEST LONGITUDE=103° 58' 18.7061" E
NORTH LATITUDE=30° 38' 12.2296" N
EAST LONGITUDE=104° 04' 59.1634" E
SOUTH LATITUDE=30° 33' 27.1124" N
PROJ_DESC=Geographic (Latitude/Longitude) / WGS84 / arc degrees
PROJ_DATUM=WGS84
PROJ_UNITS=arc degrees
EPSG_CODE=4326
COVERED AREA=93.886 sq km
NUM COLUMNS=21922
NUM ROWS=15608


FILENAME=F:\night.bmp
DESCRIPTION=night.bmp
UPPER LEFT X=103.9718627930
UPPER LEFT Y=30.6367304347
LOWER RIGHT X=104.0830993652
LOWER RIGHT Y=30.5575307973
WEST LONGITUDE=103° 58' 18.7061" E
NORTH LATITUDE=30° 38' 12.2296" N
EAST LONGITUDE=104° 04' 59.1577" E
SOUTH LATITUDE=30° 33' 27.1109" N
PROJ_DESC=Geographic (Latitude/Longitude) / WGS84 / arc degrees
PROJ_DATUM=WGS84
PROJ_UNITS=arc degrees
EPSG_CODE=4326
COVERED AREA=93.885 sq km
NUM COLUMNS=21922
NUM ROWS=15608
PIXEL WIDTH=0.0000051 arc degrees
PIXEL HEIGHT=0.0000051 arc degrees
BIT_DEPTH=24
 
Last edited:
Here is an example of an INF that should work. Place this in the same directory as your source imagery. You will need to fill in the proper coordinates again. (As well as X and Ydim)
What program did you use to reproject the imagery?

Code:
[Source]
Type = MultiSource
NumberOfSources = 4

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Imagery_Day.bmp"
Variation = Day                //Replace "Day" with Month(s) of year, if seasonal. Ex: July, August, September
Channel_BlendMask = 3.0
Channel_Landwatermask = 4.0
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0                //You can check if this is true in your image Meta Data

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Imagery_Night.bmp"
Variation = Night            //Include Month(s) of year, if seasonal. Ex: Night, July, August, September
Channel_BlendMask = 3.0
Channel_Landwatermask = 4.0
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0


[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "BearIsland_B.tif"
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0

[Source4]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "BearIsland_W.tif"
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0


[Destination]
DestDir = "."
DestBaseFileName = "ESD_BearIsland_30cm"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
 
Here is an example of an INF that should work. Place this in the same directory as your source imagery. You will need to fill in the proper coordinates again. (As well as X and Ydim)
What program did you use to reproject the imagery?

Code:
[Source]
Type = MultiSource
NumberOfSources = 4

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Imagery_Day.bmp"
Variation = Day                //Replace "Day" with Month(s) of year, if seasonal. Ex: July, August, September
Channel_BlendMask = 3.0
Channel_Landwatermask = 4.0
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0                //You can check if this is true in your image Meta Data

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Imagery_Night.bmp"
Variation = Night            //Include Month(s) of year, if seasonal. Ex: Night, July, August, September
Channel_BlendMask = 3.0
Channel_Landwatermask = 4.0
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0


[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "BearIsland_B.tif"
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0

[Source4]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "BearIsland_W.tif"
SamplingMethod = Gaussian
ulyMap =  29.4447024067
ulxMap = -81.4927250022
xDim =  2.70753453633807e-006
yDim =  2.70753453628668e-006
PixelIsPoint=0


[Destination]
DestDir = "."
DestBaseFileName = "ESD_BearIsland_30cm"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85


thank you!!!i use prepar3dv3 , when i use global mapper export the night.bmp file, there is a window shows the sample sapcing value :x-axis:5.07419816919011e-006 arc degrees y-axis:5.07429762903991e-006 arc degrees, this is the value of xdim and ydim?
 
Back
Top