http://www.fsdeveloper.com/forum/th...g-seasonal-night-textures.429694/#post-778995
GaryGB- Do you think there might be a problem in the night texture? or perhaps the xml (ini) file? Interesting problem, I say.
checking with a few others also. Bob
Hi Bob:
I would troubleshoot the latter reported "Night" scenario via the linked threads I posted here:
http://www.fsdeveloper.com/forum/th...g-seasonal-night-textures.429694/#post-778926
You may wish to compare your INF files and file naming with the Terrain SDK Resample INF Example for Multi-source:
https://msdn.microsoft.com/en-us/library/cc707102.aspx#ResampleExamples
https://msdn.microsoft.com/en-us/library/cc707102.aspx#Example5Multisource
https://msdn.microsoft.com/en-us/library/cc707119.aspx
...and the Terrain SDK Resample INF Example for DayNight_Variations:
https://msdn.microsoft.com/en-us/library/cc707103.aspx
...and via the SDK TMFViewer inspection procedure here:
"The DayNight_Variations sample shows how two different textures apply during different hours of the day. It also shows the use of multiple source files, and the providing of co-ordinates within the .inf file, rather than the raw data. The resulting textures can be viewed in TmfViewer, or in the simulation if the bgl file is moved to Addon Scenery/scenery. In TmfViewer chose different Levels of Detail to view the image, and check on Night in the Seasons/Variations submenu to see the nighttime image. To view the imagery in the simulation, use the Map feature and enter the location: N0 W122.308. You will be flying around the open Pacific and the images will be rendered onto the sea (see the screen shots below)."
https://msdn.microsoft.com/en-us/library/cc707102.aspx#Example3CustomTerrain
http://www.fsdeveloper.com/forum/th...g-seasonal-night-textures.429694/#post-778996
GaryGB- looking at my ini file and his... does mine have an extra space in many places whereas his doesn't not? next to some of the = signs? BTW- this photoreal showed up great. I used yellow for the lights, but they showed up a tad bit green. I keep forgetting that I should use a more orange color. Other than that - not half bad.
[Source]
Type = MultiSource
NumberOfSources = 3
[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "L16X64867X64901Y43473Y43492.BMP"
Variation = Day
Channel_BlendMask = 3.0
NullValue = 255,255,255
SamplingMethod = Gaussian
ulyMap = 51.6980975277778
ulxMap = -1.83746338888889
xDim = 1.07288380456349E-05
yDim = 6.65228949652819E-06
[Source2]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "L16X64867X64901Y43473Y43492_N.bmp"
Variation = Night
Channel_BlendMask = 3.0
NullValue = 255,255,255
SamplingMethod = Gaussian
ulyMap = 51.6980975277778
ulxMap = -1.83746338888889
xDim = 1.07288380456349E-05
yDim = 6.65228949652819E-06
[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "L16X64867X64901Y43473Y43492_B.TIF"
SamplingMethod = Gaussian
ulyMap = 51.6980975277778
ulxMap = -1.83746338888889
xDim = 1.07288380456349E-05
yDim = 6.65228949652819E-06
[Destination]
DestDir = "."
DestBaseFileName = "Photo01"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
AFAIK, Resample ignores (but tolerates) a 'single' extra blank space on either side of the "=" character.
https://msdn.microsoft.com/en-us/library/cc707102.aspx#Example5Multisource
GaryGB
Last edited: