Sign in to follow this  
Guest sgreenwood

Wrong data in inf-file?

Recommended Posts

I wonder if anyone could look at this inf file and see if they can find anything wrong?[Destination] LOD = 12 DestDir = "G:TestsceneryMesh_scenery" DestBaseFileName = "mesh" UseSourceDimensions = 1[source] Type = ElevS16LSB SourceDir = "G:TestsceneryMesh_scenery" SourceFile = "mesh.dem" CellType = S16LSB NullCellValue = -9999 SampleIsCentered=0 NorthLat = 62.3761111111111 SouthLat = 61.9758333333333 EastLong = 6.82222222222222 WestLong = 5.91666666666667 Lat = 62.3761111111111 Lon = 5.91666666666667 NumOfCellsPerLine = 2058 NumOfLines = 4656 CellXdimensionDeg = 0.00044001727675197 CellYdimensionDeg = 0.0000859703130966024 ScaleInMeters = 1.0The picture I use is grayscale 2058*4656 converted to DEM by Grises50/FSTerrain.When I compile this and try it in FS it doesnt show.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I'm new to this mesh stuff but I've gotten a mesh working underneath the default textures with an inf file very similar to yours. I'm working on getting a composite satelite texture layered over my mesh with terrabuilder lite. My question for you (and I said I'm a newbie) is given your inf file how would resample know the name of you texture/bmp file? I'm just learning so be gentle if it's a stoooopid question.

Share this post


Link to post
Share on other sites

I have not worked with images and Grises50, but there are a couple of differences between your inf and the format I use for creating mesh from DEM data. This is what I'd try next:&l;destination&r;LOD = 12DestDir = "G:TestsceneryMesh_scenery"DestBaseFileName = "mesh"NorthLat = 62.3761111111111SouthLat = 61.9758333333333EastLong = 6.82222222222222WestLong = 5.91666666666667&l;source&r;Type = ElevS16LSBSourceDir = "G:TestsceneryMesh_scenery"SourceFile = "mesh.dem"NullCellValue = -9999Lat = 62.3761111111111Lon = 5.91666666666667NumOfCellsPerLine = 2058NumOfLines = 4656CellXdimensionDeg = 0.00044001727675197CellYdimensionDeg = 0.0000859703130966024ScaleInMeters = 1.0I am not familiar with the following entries. Try leaving them out if you are just creating terrain elevation mesh:SampleIsCentered=0CellType = S16LSBGood luck,Stevewww.fs-traveler.com

Share this post


Link to post
Share on other sites

I dont think FS2002 is able to show more than LOD10.I tried to reduce my mesh and then it appeared :-)You need to convert from RAW/BMP to dem-format first.Then you resample with "sourcefile=*.dem"Then tmf2bgl to convert to bgl.The problem is to calculate the different values in the inf-file.I have finally managed to overcome most of my problems.See the result here:Standard FS scenery:http://home.online.no/~knnygar/bilder/flys...er/Standard.jpgMy scenery:http://home.online.no/~knnygar/bilder/flys...ilder/Lod10.jpg

Share this post


Link to post
Share on other sites

Looks good.>I dont think FS2002 is able to show more than LOD10.>I tried to reduce my mesh and then it appearedI don''t understand why LOD12 did not work for you. I've used values from LOD7 through LOD13 with no problems. You just need to be sure you are providing enough source data to cover at least one complete LOD quadrant. >The problem is to calculate the different values in the inf-file.So true.Cheers, Steve

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this