Jump to content
Sign in to follow this  
Guest jes-s

Mesh creation

Recommended Posts

Guest jes-s

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
Guest snowmanf

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
Guest jes-s

>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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...