HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Program to generate a terrain from an image

06-09-2008, 02:13 AM#1
Etinin
Friday, as a friend of mine is making a WW2 map, I had the idea of making a program to generate a WC3 terrain from a bitmap image so the map could have a realistic terrain.

During the weekend I did just that and wrote a small program that takes a monochrome .bmp and generates a .w3e (each pixel maps to a tilepoint).
While it is far from completed, it can already do its basic task, even though it doesn't yet have the ability to create different types of terrain or heights based on the color of the image.

I'm posting this to see if there are people interested on such a program, so I can know whether it's worth wasting my time on it (I'll probably also release the source under the GPLv3 so people can improve the program).

Below is a sample:

(source image, obtained from a high res satellite picture from the blue marble set)


(WE screenshot of result)


And finally, a download link for the map.