Sign in to follow this  
Guest jes-s

Mesh creation

Recommended Posts

Inspired by the thread http://forums.avsim.net/dcboard.php?az=sho...ing_type=search I have downloaded the mesh for the Gibraltar area (http://www.simtours.net/mesh/gibraltar.zip) and made a configuration file (http://www.simtours.net/mesh/gibraltar.inf). When I compile the mesh with resample.exe from the SDK I get a file where the mesh doesn't show up in FS and likewise I get an "Failed To Open" error in TmfViewer when opening the bgl-file. If I change the value of NumOfCellsPerLine and NumOfLines in the configuration file to e.g. 10 times the values I get a bgl-file that can be opened in TmfViewer. The size of the raw data file is 13.104 bytes which is just 2 * Lat * Lon (2 * 72 * 91).What is wrong here? Is the problem related to the NumOfCellsPerLine and NumOfLines?Regards,Jes

Share this post


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

What is the size of your source file (12155255.bil) surely its not only 72 x 91?Might be the problem, let me know.Frosty >Inspired by the thread>http://forums.avsim.net/dcboard.php?az=sho...ing_type=search>I have downloaded the mesh for the Gibraltar area>(http://www.simtours.net/mesh/gibraltar.zip) and made a>configuration file>(http://www.simtours.net/mesh/gibraltar.inf). When I compile>the mesh with resample.exe from the SDK I get a file where the>mesh doesn't show up in FS and likewise I get an "Failed To>Open" error in TmfViewer when opening the bgl-file. If I>change the value of NumOfCellsPerLine and NumOfLines in the>configuration file to e.g. 10 times the values I get a>bgl-file that can be opened in TmfViewer. The size of the raw>data file is 13.104 bytes which is just 2 * Lat * Lon (2 * 72>* 91).>>What is wrong here? Is the problem related to the>NumOfCellsPerLine and NumOfLines?>>Regards,>Jes

Share this post


Link to post
Share on other sites

>What is the size of your source file (12155255.bil) surely>its not only 72 x 91?The size of the file is 13.104 bytes. It has 72*91=6552 points of 16 bit elevation data.

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