Importing Heightmap from Image

Interesting mapping tools and mapping help.

Moderator: Morax

Importing Heightmap from Image

Postby Hawkei » 20 Jun 2016, 04:49

Hello,

I have only ever created one map, and wanted to try my hand at a new concept for a map. What I would like to do is use actual surface topography data as my height map. However, I'm having some trouble converting and importing this into the map editor. Which I believe requires RAW file format. With my current image processing software I can change the resolution, and have converted the topography data into an 8 bit TIFF file with 800 x 800 resolution. Which was extracted from a geographical survey of Mare Nectaris, on the Moon.

I was wondering what resolution would be required for a 40 km or 80 km map? How do I go about converting this to RAW?
User avatar
Hawkei
Supreme Commander
 
Posts: 1217
Joined: 03 Jun 2013, 18:44
Location: A rather obscure planet in a small cluster of stars on the outer edge of the Milky Way Galaxy
Has liked: 44 times
Been liked: 182 times
FAF User Name: Firewall

Re: Importing Heightmap from Image

Postby biass » 20 Jun 2016, 04:53

Hey Hawkei

What i do is export the heightmap from your editor, and then place the mountain topography onto that file, have the exported.RAW as the working file and then import your assets onto that, should keep the sizes perfect etc.

If you don't know how to load from editor, i suggest checking through the mapping wiki
Map thread: https://bit.ly/2PBsa5H

Petricpwnz wrote:biass on his campaign to cleanse and remake every single map of FAF because he is an untolerating reincarnation of mapping hitler
User avatar
biass
Contributor
 
Posts: 2239
Joined: 03 Dec 2015, 07:54
Has liked: 598 times
Been liked: 662 times
FAF User Name: biass

Re: Importing Heightmap from Image

Postby Hawkei » 20 Jun 2016, 04:57

Okay I might need to read that. Would it be a simple case of exporting the RAW from map editor, opening it to determine it's resolution, resampling my TIFF to match that resolution, then converting TIFF to RAW, and importing that RAW back into the Map Editor?
User avatar
Hawkei
Supreme Commander
 
Posts: 1217
Joined: 03 Jun 2013, 18:44
Location: A rather obscure planet in a small cluster of stars on the outer edge of the Milky Way Galaxy
Has liked: 44 times
Been liked: 182 times
FAF User Name: Firewall

Re: Importing Heightmap from Image

Postby biass » 20 Jun 2016, 05:00

nono, open your RAW you exported and keep that as your actual map, take your TIFF and put the layer onto your RAW file, then save the file as a RAW file and reimport into the editor.

You will need to brush over the wiki for the right settings to export, but you will need to load your RAW into photoshop with one "channel" and set to IBM PC instead of MAC, you'll see when you load it.
Map thread: https://bit.ly/2PBsa5H

Petricpwnz wrote:biass on his campaign to cleanse and remake every single map of FAF because he is an untolerating reincarnation of mapping hitler
User avatar
biass
Contributor
 
Posts: 2239
Joined: 03 Dec 2015, 07:54
Has liked: 598 times
Been liked: 662 times
FAF User Name: biass

Re: Importing Heightmap from Image

Postby Hawkei » 20 Jun 2016, 05:08

Was just reviewing the wiki. I will try this and see how I go.
User avatar
Hawkei
Supreme Commander
 
Posts: 1217
Joined: 03 Jun 2013, 18:44
Location: A rather obscure planet in a small cluster of stars on the outer edge of the Milky Way Galaxy
Has liked: 44 times
Been liked: 182 times
FAF User Name: Firewall

Re: Importing Heightmap from Image

Postby biass » 20 Jun 2016, 05:16

A quick note, if the heightmaps dont match at the bottom, colour output in Adjustments > Levels will have what u need
Map thread: https://bit.ly/2PBsa5H

Petricpwnz wrote:biass on his campaign to cleanse and remake every single map of FAF because he is an untolerating reincarnation of mapping hitler
User avatar
biass
Contributor
 
Posts: 2239
Joined: 03 Dec 2015, 07:54
Has liked: 598 times
Been liked: 662 times
FAF User Name: biass

Re: Importing Heightmap from Image

Postby seero » 20 Jun 2016, 18:57

Also if your editor keeps crashing when you try to import your heightmap with imported graphics, you might have too big variation between darkest and highest scale of grey. You may not have fifty shades of grey :lol: so if that happens try lowering the difference using levels or contrast tools in photoshop
seero
Avatar-of-War
 
Posts: 95
Joined: 17 Dec 2013, 12:42
Has liked: 8 times
Been liked: 16 times
FAF User Name: seero


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest