As per our conversations above, here is what I have. I don't like coming here (to you, essentially) with every little problem and know enough now to solve many issues myself, so please know that I work very hard to find the answers myself first. This has been quite a learning experience, and while this is most likely a very simple fix, I do know a LOT more than I used to and fortunately many other members of the flight sim community can learn from this exchange for years to come!
[Source]
Type=GeoTIFF
Layer=Elevation
SourceDir="."
SourceFile="N37W119.tif"
PixelIsPoint=0
NullValue=-32767
[Destination]
DestDir="."
DesFileType=BGL
DestBaseFileName="N37W119"
CompressionQuality=100
LOD=Auto
FractionBits= 3
Hi Chris:
No worries; I'm confident that you are applying yourself to the self-study process with due diligence.
I'm glad we also have such opportunities to share worked examples of how to enhance FS terrain, and how to resolve challenges with some of the obscure SDK 'gotchas' one may encounter during development.
Indeed, those spikes and pits were definitely not there in the 1970's when I climbed Mt. Whitney twice IRL.
Ordinarily, if working with an older and/or 'inferior' USGS data set, this would require dealing with the 'dreaded' obscure FS SDK documentation on
Using Scaled Elevation Values located below the section on
Resample:
FYI: I previously posted an example use of FractionBits in the
*.INF file which I thought you might intend to use with the terrain at 0T3 that would otherwise involve a merged 1-Meter LiDAR and USGS 10-Meter data set:
https://www.fsdeveloper.com/forum/t...-us-and-need-some-guidance.447467/post-843860
AFAIK, this part of your project is only using the cited USGS 1/3 arc-sec. (10-Meter) data set, and it is increasingly apparent from inspection of that data set, it has been thoroughly cleaned and enhanced as a 'hybrid' of several elevation sources.
So, as I have thus far not seen any residual "
contour terracing" in my own tests today with the above cited USGS_13_n37w119.tif 1x1 Degree tile, I can now recommend that you try this edited version of your
*.INF:
[Source]
Type=GeoTIFF
Layer=Elevation
SourceDir="."
SourceFile="N37W119.tif"
PixelIsPoint=0
NullValue=-32767
[Destination]
DestDir="."
DesFileType=BGL
DestBaseFileName="N37W119"
CompressionQuality=100
LOD=Auto
Note that this removes the
FractionBits parameter value from the
*.INF instructions for SDK Resample.
Be aware that when working with '
other'
data sets derived from mixed sources which
do show residual "
contour terracing", one would have to implement individualized parameter values for
FractionBits and
BaseValue ...according to the maximum Altitude of each "higher" mountain peak as an individual data source listed in a section of a "multi-source"
*.INF.
This is all discussed in FS SDK docs on
Using Scaled Elevation Values below the section on Resample.
If this terrain rendering anomaly persists after using the above edited version of your
*.INF, feel free to inquire further.
GaryGB