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

Photo-real seasonal textures problem - Resample

Messages
8
Country
canada
Hello, I am having a hard time making my scenery to show up.

Since I have added seasonal textures, my scenery do not longer show up in-sim.

This is my .inf code for Resample:



[Source]
Type = MultiSource
NumberOfSources = 6

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "ile-des-soeurs-summer.bmp"
Season = 3
Variation = June, July, August
Channel_BlendMask = 5.0
Channel_LandWaterMask = 6.0
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06

[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "ile-des-soeurs-mild-winter.bmp"
Season = 0
Variation = April, May, October
Channel_BlendMask = 5.0
Channel_LandWaterMask = 6.0
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06

[Source3]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "ile-des-soeurs-hard-winter.bmp"
Season = 1
Variation = January, February, March, April, November, December
Channel_BlendMask = 5.0
Channel_LandWaterMask = 6.0
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06

[Source4]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "ile-des-soeurs-fall.bmp"
Season = 4
Variation = September
Channel_BlendMask = 5.0
Channel_LandWaterMask = 6.0
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06

[Source5]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "ile-des-soeurs-blendmask.tif"
SamplingMethod = Gaussian
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06

[Source6]
Type = BMP
Layer = None
SourceDir = "."
SourceFile = "ile-des-soeurs-watermask-no-contours.bmp"
SamplingMethod = Gaussian
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06

[Destination]
Destdir = "."
DestBaseFileName = "ile-des-soeurs"
DestType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 100


The .bgl is created successfully but the scenery is not longer showing up in-sim.
If someone could help me by telling me what is wrong with this code it will be much appreciated.
 

=rk=

Resource contributor
Messages
4,054
Country
us-washington
Water and blend masks should be GeoTIFF format and April should probably be only one variation.
 

HolgerSandmann

Resource contributor
Messages
392
Country
ca-britishcolumbia
Hi there,

also, what does the resulting bgl look like in TMFViewer? It's a great diagnostic tool in the Terrain SDK but often overlooked by developers.

Cheers, Holger
 
Messages
8
Country
canada
@dave hoeffgen
My file is 2.40 GB and is pretty much one complete Island of Montréal in one BGL, i have compiled it many times with minor modifications in the code, but still, nothing.
Maybe because of high compression quality? Should I rather reduce it to 85?

@HolgerSandmann
In the TMFViewer it does not show anything unfortunately.
Maybe because of high compression quality? Should I rather reduce it to 85?
 

dave hoeffgen

Resource contributor
Messages
1,439
Country
germany
My file is 2.40 GB and is pretty much one complete Island of Montréal in one BGL, i have compiled it many times with minor modifications in the code, but still, nothing.
Maybe because of high compression quality? Should I rather reduce it to 85?

I suspected a bitmap file corruption but in that case the bgl would have 0 mb size. So that's not the case. How do water and blend masks look?
 

=rk=

Resource contributor
Messages
4,054
Country
us-washington
How do I convert to GeoTIFF? Can I do that in GIMP? A .tif is not the same?
You have two masks and one is in the proper format, simply convert the other to the same format and redefine the .ini file:
[Source5]
Type =
TIFF
Layer = None
SourceDir = "."
SourceFile = "
ile-des-soeurs-blendmask.tif"
SamplingMethod = Gaussian
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06


[Source6]
Type =
BMP
Layer = None
SourceDir = "."
SourceFile = "
ile-des-soeurs-watermask-no-contours.bmp"
SamplingMethod = Gaussian
ulyMap = 45.4760217547587
ulxMap = -73.5630798339844
xDim = 2.68220901489258E-06
yDim = 1.88131591742887E-06
 
Messages
8
Country
canada
I suspected a bitmap file corruption but in that case the bgl would have 0 mb size. So that's not the case. How do water and blend masks look?

Water and blend mask look just as intended, however after adding the seasons nothing shown.
I did another test, i reduced Compression to 85 and everything shown up normallu.
Now, I am completing the seasons with gimp. I will also add a Spring Imagery source and test out with the new settings.
I have corrected the Variation values based on that was shown in the TMFViewer when I selected months.

I will let you know if I see any farther problem, thanks for the help!
 

dave hoeffgen

Resource contributor
Messages
1,439
Country
germany
Water and blend mask look just as intended, however after adding the seasons nothing shown.
I did another test, i reduced Compression to 85 and everything shown up normallu.
Now, I am completing the seasons with gimp. I will also add a Spring Imagery source and test out with the new settings.
I have corrected the Variation values based on that was shown in the TMFViewer when I selected months.

I will let you know if I see any farther problem, thanks for the help!

So you are using gimp too?
I always had issues as resample didn't seem to like the bitmaps exported by gimp. It always reported they were corrupted.
So I always export to tiff and it all works.
 
Top