Page 1 of 1

[QUESTION] Generating new maps from heightmaps images.

PostPosted: Thu May 08, 2014 19:50
by Megaf
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.

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

PostPosted: Thu May 08, 2014 21:35
by paramat
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

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

PostPosted: Fri May 09, 2014 18:17
by Hybrid Dog
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.