How To: Generate Superb Heightmaps :)

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

sootynz
Traffic Manager
Traffic Manager
Posts: 175
Joined: 24 Jan 2007 02:07

New Zealand - North Island and Hobbiton

Post by sootynz » 11 Jun 2008 03:02

Hi,

I've just finished a scenario of the North Island of New Zealand from Whangarei to the Nelson / Marlborough region of the top of the South Island.
The towns and industries are approximately correct (with the exception of the far north ocean oil rigs, there to supply Marsden Point oil refinery). Note that there are very few power stations and only two oil refineries. In real life, the railway engineers had to construct the Raurimu rail spiral to limit too steep a grade - see http://www.nzhistory.net.nz/googlemap/2459
Attachments
NZ_Central-NI.scn
(599.75 KiB) Downloaded 3230 times

Caesius
Engineer
Engineer
Posts: 10
Joined: 12 Jun 2008 22:00

Re: How To: Generate Superb Heightmaps :)

Post by Caesius » 12 Jun 2008 22:03

I can't get the green buttons to show up for the heightmaps. The "elevation" folder has an animation showing it's loading; right-clicking and going to "Properties" shows the source as http://armadillo.geog.kcl.ac.uk/portal/ ... vation.kmz which times out. I'm pretty sure the server is down, but does everyone else have the same problem?

Caesius
Engineer
Engineer
Posts: 10
Joined: 12 Jun 2008 22:00

Re: How To: Generate Superb Heightmaps :)

Post by Caesius » 14 Jun 2008 02:33

Ugh. Got it to work but now I can't figure out how to thin the DEMs. It says it's supposed to be under File -> Save DEM -> Thin DEM but it's not there.

sootynz
Traffic Manager
Traffic Manager
Posts: 175
Joined: 24 Jan 2007 02:07

Re: How To: Generate Superb Heightmaps :)

Post by sootynz » 15 Jun 2008 22:09

MicroDem has changed

Select Raster GIS --> Thin DEM (Decimate)

The excellent tutorial by MGSteve is a little out of date. I've updated it into a word doc, with some extras from this topic. If anyone wants to add this to the wiki, please feel free.
Attachments
Creating heightmaps.doc
(636.5 KiB) Downloaded 6230 times

Caesius
Engineer
Engineer
Posts: 10
Joined: 12 Jun 2008 22:00

Re: How To: Generate Superb Heightmaps :)

Post by Caesius » 17 Jun 2008 21:41

Here's an improved version of the Japan map that was posted near the start of the "heightmaps on request" thread. It's square and thus perfect for 2048x2048 maps. However, this map has a high water:land ratio, so unless you set Towns and Industries to "Low" the map is going to be very tightly packed.
Attachments
JAPAN1.png
(565.47 KiB) Downloaded 480 times

jdeagles
Engineer
Engineer
Posts: 4
Joined: 08 Jun 2008 20:18

Linux, MicroDEM

Post by jdeagles » 21 Jun 2008 03:52

I'd not seen the Linux instructions previously so used MicroDEM under Wine. The dialogue boxes are a pain in the arse and you have to manually change some of the window properties so everything doesn't disappear on you, but I managed to stitch a few tiles together to a good standard. If you're having trouble stitching a large area together in the GIMP then it may be worth a shot...

sootynz
Traffic Manager
Traffic Manager
Posts: 175
Joined: 24 Jan 2007 02:07

Re: How To: Generate Superb Heightmaps :)

Post by sootynz » 23 Jun 2008 01:25

A Scenario for New Zealand's South Island with Arctic/Alpine climate .
This uses George's ECS Wood vector grf to situate forests on broken terrain. Hopefully a challenge, provided you dont bulldoze the Southern Alps flat. Some valuable resources on the West coast, with all the industry on the East. There are only two power stations and one oil refinery. The towns are situated as close as I can get them, the industries roughly and intended to make a good game.

You need to load the ECS wood vector from http://george.zernebok.net/newgrf/newgrf.html and some suitable vehicle sets that will transport "wood products".

On the scenario map you can clearly see the Alpine fault line http://en.wikipedia.org/wiki/Alpine_Fault. Another big earthquake is due any time soon.


version 2 (minor additions), requires 0.7.0
NZ_SI_arctic2.scn
(87.62 KiB) Downloaded 1619 times
Last edited by sootynz on 29 Apr 2009 03:01, edited 1 time in total.

User avatar
Beardie
Tycoon
Tycoon
Posts: 2029
Joined: 12 Apr 2008 19:38
Skype: rbeardwell91
Location: Buckshaw Village, Lancashire, UK

Re: How To: Generate Superb Heightmaps :)

Post by Beardie » 28 Jun 2008 11:47

Can someone please help me and tell me why the land isn't going upto the edges of my map please like this.
Attachments
screenshot#1.png
screenshot#1.png (19.25 KiB) Viewed 7798 times
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account


Image

User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: How To: Generate Superb Heightmaps :)

Post by CommanderZ » 28 Jun 2008 11:58

It is limitation of OTTD - there must be a one tile wide strip of land on map borders. I agree it is quite annoying "feature". All inland maps look very weird :(

I managed to remove this limitation from TGen, but borderline tiles still canot be affected ingame and there are vast graphical glitches :(

User avatar
Beardie
Tycoon
Tycoon
Posts: 2029
Joined: 12 Apr 2008 19:38
Skype: rbeardwell91
Location: Buckshaw Village, Lancashire, UK

Re: How To: Generate Superb Heightmaps :)

Post by Beardie » 28 Jun 2008 12:07

So i am assuming it happens to everyones maps then.
Previously Known As Beardie27
Check out my UPDATED! Screenshot Thread
Check out my Railway Photography and Deviant Account


Image

Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Re: How To: Generate Superb Heightmaps :)

Post by Flamelord » 08 Jul 2008 23:18

A "limitation of OTTD" would generally indicate that it happens to all maps in OTTD.
Additional Livery Set
Official TT-Jewel Staite FanClub

User avatar
TGVfan
Engineer
Engineer
Posts: 114
Joined: 10 Oct 2003 19:52
Location: Almere, greater Amsterdam
Contact:

Re: How To: Generate Superb Heightmaps :)

Post by TGVfan » 28 Jul 2008 12:11

Anyone who can tell me how to do this in Mac OSX Leopard?
Image

User avatar
tigerface
Engineer
Engineer
Posts: 93
Joined: 01 Jan 2007 17:29

Re: How To: Generate Superb Heightmaps :)

Post by tigerface » 09 Aug 2008 19:37

@ sootynz: thanks for the update to this it made my life so much happier :D

Just one little thing: the bit where it talks about merging the DEMs, there are the two options (merge single/merge multiple), it'd be great if you could just distinguish that you need to hit single there - took me hours!!

I wish the wiki on applying patches was as comprehensible as this guide, then I could use the realistic height map patch..
Formerly thanet-bomber.

User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: How To: Generate Superb Heightmaps :)

Post by Gremnon » 09 Aug 2008 22:44

I'm going to be irritatingly demanding here, but since my computer doesn't have the resources do handle this...
Could someone possibly do a heightmap for either or both of the Channel Islands? Please?

User avatar
tigerface
Engineer
Engineer
Posts: 93
Joined: 01 Jan 2007 17:29

Re: How To: Generate Superb Heightmaps :)

Post by tigerface » 10 Aug 2008 17:34

i made one for you 512x512 tell me what u think. I didn't put any towns on yet tho, I'll let you do the long, tedious bits.. :D

edit: fix in attachment
Attachments
channelIslands.scn
(21.56 KiB) Downloaded 252 times
Last edited by tigerface on 11 Aug 2008 17:35, edited 1 time in total.
Formerly thanet-bomber.

User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: How To: Generate Superb Heightmaps :)

Post by Gremnon » 10 Aug 2008 23:07

Not quite what I was expecting, but it should make an interesting challenge... and not just in placing everythibng accuratly.

Thanks. I'm happy now...

wolkottept
Engineer
Engineer
Posts: 26
Joined: 27 Aug 2007 16:25

Re: How To: Generate Superb Heightmaps :)

Post by wolkottept » 18 Aug 2008 16:04

Hi all,

For those who do not have the time to create the map by hand. My patch that creates a realistic map automatically might be helpful. It makes it possible to create the heightmap as well as placement of towns and waterbodies (rivers, lakes etc.).

The creation of the PNG files is automated too (include downloading the necessary SRTM data etc.).

Have a look at Patch: Create realistic heightmap, water & town placement (http://www.tt-forums.net/viewtopic.php?f=33&t=33956)

Suggestions are welcome.

Arjuna
Engineer
Engineer
Posts: 2
Joined: 20 Aug 2008 10:49
Location: Örebro, Sweden

Re: How To: Generate Superb Heightmaps :)

Post by Arjuna » 20 Aug 2008 15:56

I know this isn't a general request thread but I have tried making a map of a segment of the north american east coast without any success at all. I tried following the steps described in this thread and tried installing the patch described in the post above mine but my knowledge about things like these is very limited.

What I would like is to go back to the wonderful days of Railroad Tycoon (the first one) and play a map of east USA, something like in the picture below.
east_usa.gif
(333.36 KiB) Downloaded 129 times
Would it be possible for anyone with more skills than I have to make a map out of this or something similar? As long as Pittsburgh, Washington and New York is in there I'm happy.

Thanks in advance.

Oh and great forum, just discovered it. Been playing Transport Tycoon since it came out :).

wolkottept
Engineer
Engineer
Posts: 26
Joined: 27 Aug 2007 16:25

Re: How To: Generate Superb Heightmaps :)

Post by wolkottept » 21 Aug 2008 20:00

Hi Arjuna,

Attached a map of size 1024x512 with roughly the selected area you asked for including the realistic placement of water and cities. Would this be a good start?

A screenshot of the eastern half of the map is visible with the PNG below
east_coast_screenshot.png
Screenshot of the scenario (eastern half)
(77.76 KiB) Downloaded 175 times
If you desire some other settings (size of map, climate type, less or more cities etc.) you can create your own version with my patch "Patch: Create realistic heightmap, water & town placement". A compiled version for Windows is made a available in this topic too.

The necessary PNG files for the patch and your "east_coast" map can be downloaded from my webspace: http://wwwhome.cs.utwente.nl/~wolkottep ... _coast.tgz
Attachments
east_coast.scn
Scenario of the east coast of the USA (including cities and waterbodies). Temperate climate. Map size 1024x512
(198.83 KiB) Downloaded 188 times

Arjuna
Engineer
Engineer
Posts: 2
Joined: 20 Aug 2008 10:49
Location: Örebro, Sweden

Re: How To: Generate Superb Heightmaps :)

Post by Arjuna » 21 Aug 2008 20:58

Wow, thanks a bunch Wolkottept!

I'll be sure to give your patch another try some day cuz it seems like a really great tool.

Thanks again.

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Google [Bot] and 8 guests