Make a openttd Heightmap?
Moderator: OpenTTD Developers
Make a openttd Heightmap?
Hey im trying to make a heightmap. So far i have gotten to this image. Thats work somewhat. But i wanted to hear how i get it better?..
- Attachments
-
- denmark.PNG (34.4 KiB) Viewed 1889 times
ok, found the issue (well, I didn't but Rubidium did)
it still wont be possible to use that heightmap to generate a map, that copies the real world, as it's clear that it's messed up somehow. You can make a fictional map based on the idea of reality though. The game will not know the difference<Rubidium> the order of the colors for the heightmap in the palette is wrong
<Bjarni> ok, then what should it be?
<Bjarni> is it documented anywhere?
<Rubidium> not really. But either a grayscale image 0..255, where 0..15 is becomes sealevel, 16..31 level 1 etc.
<Rubidium> or paletted image with 16 colors where the order of the palette heightlevel, i.e. the color at palette position 0 is level 0, position 1 level 1 etc
Try these two heightmaps - sorry I dont have better resolution data. One is at heights of 50m, the other at 100m intervals. As Denmark is so flat, the 100m version shows very little detail, however Norway's mountains retain their detail.
The 50m plot shows more detail in Denmark, but Norway loses out.
I use the GeoDAS Global 2 minute plot, so my data isnt that accurate for small areas. Its great for continents, but any area less than about 1000mi across is not particularly well detailed.
Also please remember this is HEIGHT map data... any area that is below sea level will appear as sea in OTTD. (Hence my Europe maps put Holland under water )
The 50m plot shows more detail in Denmark, but Norway loses out.
I use the GeoDAS Global 2 minute plot, so my data isnt that accurate for small areas. Its great for continents, but any area less than about 1000mi across is not particularly well detailed.
Also please remember this is HEIGHT map data... any area that is below sea level will appear as sea in OTTD. (Hence my Europe maps put Holland under water )
- Attachments
-
- Denmark50m.png
- 50m plot
- (247.74 KiB) Downloaded 466 times
-
- 100m view
- Denmark.png (69.25 KiB) Viewed 9454 times
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
even the 50m map got too little detail to make this look right. Looking at where the real railroads got problems with grades, they appear to be the same colour everywhere, hence flat. To make this right, you need a map with a scale, that puts 200m at the highest point to avoid an all flat map. The question is how to get such a map.
Can we use this images?
I'm trying to get some pics, but don't know how to "adapt" them. Look the satelital pics here: https://zulu.ssc.nasa.gov/mrsid/mrsid.pl (for download images you must enable pop-ups for the site)
not more than 500 mts?
Is that the max height of the maps? Cause i'm loading this image and genereta a table at top height in the "andes" mountain side...
- Attachments
-
- norte-grande-chile1.png
- (1.25 MiB) Downloaded 398 times
Re: not more than 500 mts?
That is a satellite photo, not a heightmap. A heightmap shows the height of the train coded in shades of grey from black (sea) - to white (mountain tops).Luxor wrote:Is that the max height of the maps? Cause i'm loading this image and genereta a table at top height in the "andes" mountain side...
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Give this one a try :)
As attached - high res heightmap of Denmark (1700x1700).
Its probably more 'hilly' in the map than in real life, but I had to alter the range of the greyscale mapping to ensure that it got the shoreline correct.
I guess its about time I wrote a 'how to' for generating these maps!
Its probably more 'hilly' in the map than in real life, but I had to alter the range of the greyscale mapping to ensure that it got the shoreline correct.
I guess its about time I wrote a 'how to' for generating these maps!
- Attachments
-
- denmark.png
- (460.53 KiB) Downloaded 473 times
Re: Give this one a try :)
Well, I have! - Check it out! http://www.tt-forums.net/viewtopic.php?t=27052MGSteve wrote:I guess its about time I wrote a 'how to' for generating these maps!
Re: Make a openttd Heightmap?
As the most famous Danish fjord was missing from the heightmap, I manually edited the map to include this. I know it's not precise, but you gotta know Denmark pretty well, to tell the difference
Oh yeah, and most importantly, I removed Sweden
Oh yeah, and most importantly, I removed Sweden
- Attachments
-
- denmark edited.PNG
- A manually edited heightmap of Denmark
- (549.84 KiB) Downloaded 160 times
Re: Make a openttd Heightmap?
And for those who wants southern sweden back to Denmark (where it belongs ) thank heaven for pretty "blond" girls
btw it fits for 2048*2048 scen.
btw it fits for 2048*2048 scen.
- Attachments
-
- DENMARK_01.png
- (1.12 MiB) Downloaded 318 times
Who is online
Users browsing this forum: Bing [Bot] and 4 guests