Jump to content
Sign in to follow this  
Guest ScottR

Sbuilder altitude bitmaps

Recommended Posts

Guest ScottR

I guess Luis Sa could best answer this one.I have had great success using the USGS finished seamless downloads to create mesh scenery with Sbuilder. The Sbuilder BSQ to Bitmap tool produces an altitude bitmap that is an RGB with the green value appearing to represent the altitude, but the value changes in "bands" from 0 to 255 as altitude increases up the side of a mountain. I.e. a smaller G value in an adjacent band can still be higher altitude than a larger value in an adjacent band. My question is. Can you use an image editor (e.g PSP) to adjust the bitmap to modify the altitude? If so, what are the "rules" governing the format of the bitmap and what colours represent each altitude?cheersScott

Share this post


Link to post
Share on other sites
Guest Horst

Hello,Yes you can use a paint programm, save it to the same format.Please read in Sbuilder Options/Preferences/other settings the Help buttom (also press OK to continue).I think this explains the colourisation.RegardsHorst

Share this post


Link to post
Share on other sites
Guest ScottR

Thanks Horst, I have had a look at the help info. I am confused by the fact that on the mesh bitmap that Sbuilder generates there is not just one RGB value for a specific altitude. If the mesh map covers a mountain for example, the G value starts off at say 10 at the base of the mountain then goes gradually up to 255 as you move up the slope, then it drops back to say 4 or 5 then starts to rise again. In other words there are bands of 1-255 G values as you move up the mountain. Sbuilder interprets the map fine and the mesh looks great in FS9, but if you want to "tweak" the map a bit by painting in a different colour, how do you know what colour to choose for each altitude since the same colour seems to represent a different altitude depending on which band you are in?Scott

Share this post


Link to post
Share on other sites
Guest Horst

Hello Scott,Have a look to your RED value!For example 400m = R 1 / G 145 / B 010 m = R 0 G 10It is a time consuming work.Some threads down I linked this article:http://www.shadedrelief.com/dem/dem.htmlSome ideas, worth to read.Another thing to mention:The LOD level and the TMVL setting in the fs9.cfg.I uploaded once two screenshots to an Austrian forum.First link will show you the Matterhorn in Switzerland.LOD9 mesh and TMVL =19 in the fs9.cfg:http://www.wcm.at/forum/attachment.php?postid=1402927Second the same dataLOD9 mesh and TMVL=20http://www.wcm.at/forum/attachment.php?postid=1402928So take care about the relationship between these two values in the FS game.Horst

Share this post


Link to post
Share on other sites
Guest luissa

Scott,Horst pointed you to that Help message that explains the altitude.0 meters is B=255 R=G=0 so blue is for water or 0 meters.For an altitude of X in meters you have:X= 256 * R + G with R(red) going from 0 to 255 and G(green going from 0 to 255). And B=0If you are in a given band, it is to use a paint programe to change the green channel. But if the mountain spans sveral REDs than it is more difficulty if not impossible.May be there exist a more useful format, but the one I adopted was the first that came to my mind.Luis

Share this post


Link to post
Share on other sites
Guest ScottR

Thanks Luis and HorstI now understand the bitmap and can adjust it knowing what I am doing!!Scott

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