[QUESTION] Generating new maps from heightmaps images.

Loadable maps as opposed to OldCoder's zoomable maps
User avatar
Megaf
Member
 
Posts: 93
Joined: Fri Nov 01, 2013 18:00
GitHub: megaf
IRC: Megaf
In-game: Megaf

[QUESTION] Generating new maps from heightmaps images.

by Megaf » Thu May 08, 2014 19:50

Hi everyone,
Is it possible to generate a map from a heightmap like this (attached)? I pixelized it because I'd like each pixel to be a node.
[edit] I just uploaded the original non pixelized map just in case. Maybe it would actually looks better this way.

PS.: I'm not sure if this is the right place to ask this question, please, fee free to move this topic to other place.
Attachments
heightmap.png
heightmap.png (147.45 KiB) Viewed 481 times
heightmap_pixelized.png
heightmap_pixelized.png (44.44 KiB) Viewed 481 times
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [QUESTION] Generating new maps from heightmaps images.

by paramat » Thu May 08, 2014 21:35

Hey thats where i live :) This modder generates worlds that way, his code will do it https://forum.minetest.net/viewtopic.php?p=117878#p117878
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [QUESTION] Generating new maps from heightmaps images.

by Hybrid Dog » Fri May 09, 2014 18:17

Of course it's possible to get the height from an image. The code for .bmp images is already done for the "image loader mod" and pngs can automatically be converted to bmps with the right program.
 


Return to Minetest Maps

Who is online

Users browsing this forum: No registered users and 9 guests

cron