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

FS2004 Creating mesh from BIL

Messages
305
Country
us-california
Why I am having trouble with this all of a sudden, I don't know.

I've created mesh for FS2004 many times before, but now I am running in to many problems.

I converted the BIL file to WGS84 projection, then set up the INF file as follows:

Code:
[Destination]
	LOD	= Auto
	DestDir		 = "D:\Documents and Settings\Kobbe Farwick\My Documents\Temp\"
        DestBaseFileName 	 = "texas_m"
	UseSourceDimensions = 1

[Source]
	Type			= ElevS16LSB
	SourceDir		= "D:\Documents and Settings\Kobbe Farwick\My Documents\Temp\95877427"
	SourceFile		= "95877427.bil"
	Lat			= 31.15310185
	Lon			= -97.91754630
	NumOfCellsPerLine = 2078
	NumOfLines		= 1637
	CellXdimensionDeg = 0.0000925926
	CellYdimensionDeg = 0.0000925926
	ScaleinMeters	= 1.0

However, I get these errors in resample:

errxwc.jpg


I've tried running it through resample with NAD83 projection as well, but it quits halfway leaving me with a corrupted file.

Any ideas?

Thanks!
 
My mesh is configured as:

Geographic (Lat/Lon)
WGS84
Arc Degrees

So I don't think the projection would be the problem, but you never know with flight simulator. :D
 
You must have a vaslue of -9999 in your data... this is commonly used as a null value.

You can add to your Source:

NullValue = -9999

Dick
 
Thanks Dick,

That solved the problem with the "-9999 encountered"

I put the mesh in to FS and it shows up on the map when you zoom in, but it doesn't work on the surface.

I removed any default flattens at the airport, but the mesh still doesn't appear.

Is this a common problem?

27899360.jpg


84868542.jpg
 
Hi Kobbe:

A few questions which might further guide the troubleshooting... ;)


* Does your mesh BGL that Resample created show up in SDK's "TMF Viewer" ?


* "LOD= Auto" was used in your INF file; what horizontal resolution was your BIL source data ?


* FS9 "mesh" display priority is reversed; did you try moving your mesh BGL entry nearer to the bottom in the FS9 Scenery Library GUI ?


GaryGB :)
 
Last edited:
Thanks for the suggestions -

The mesh shows up as a green square in the TMF viewer.

What do you mean by the horizontal resolution?

I moved the scenery down in the list and it made no difference.

My Terrain_Max_Vertex_Level = 19, is that correct? I never edited it.

I actually can't get any add-on mesh to show up in FS2004, even that of sceneries I made awhile back and know to work just fine.

:confused:
 
A few thoughts

Hi scubakobe,

First, a suggestion - always specify the LOD in the inf, then you know the final LOD of your mesh.

I'm concerned about all the -9999 values in your data. When you view your bgl file in TMFviewer and move the cursor around, do you see changes in the (elevation) value?

I've set up a primitive web page at:

http://home.earthlink.net/~smgreenwood/demo/

It includes 2 (large) images of the area; the bgl as seen in TMFviewer, and a screenshot in the sim. (You may want to save them to disk for easier local viewing.) These are of 30m LOD10 mesh.

There is also a link to download my FSTelevation utility (seen in the top/left corner of the FS9 screenshot). I find it handy for saving the aircraft position and quickly returning to it while testing, among other things :-).

You may also find helpful (although now dated) mesh info on my main FS website.

http://home.earthlink.net/~smgreenwood/

Steve
 
Well that did it, changing the TMVL setting to 21.

I wouldn't have guessed the problem to be in my FS9.cfg file!

Thanks to everyone for your help :)

Kobbe
 
Back
Top