Jump to content
Sign in to follow this  
Guest hefy_jefy

Need some help with the Terrain SDK

Recommended Posts

Guest hefy_jefy

I want to modify the underlying landclass in my area. The Terrain SDK states that this is possible, I followed the whole description through to the point where resample examples are found, I see whats going on and I have no trouble using resample.exe to create the example .BGL files which then show up in TmfViewer.My problem is that I do not understand the relationship between the values in the source greyscale image (say "ModifiedGlccSubset1.tif") and the resulting Landclass values found in the .BGL file that is generated.Lets say I want a landclass value of 10 "Irrigated grassland" in my BGL file, what greyscale value in my source image will give me that result?I have searched through the SDK many times and I can't find this information.I hope I am not missing something basic here!Geoff

Share this post


Link to post
Share on other sites

Hi Goeff.If you want 10, then the greyscale value is 10.The greyscale palette is 0-255 ( 8 bit ) with 0 as black and 255 as white.Dick

Share this post


Link to post
Share on other sites
Guest hefy_jefy

Hah!That simple eh?Thanks Dick, - I will give it a try...Geoff

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