Sign in to follow this  
Guest hefy_jefy

Need some help with the Terrain SDK

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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

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