
January 28th, 2004, 09:19 AM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Maps available
Quote:
Originally posted by Gandalf Parker:
quote: Originally posted by PhilD:
Any interest in this? It's most likely a 20-line hack - should be within my capabilities. After all, I'm just a CS teacher...
|
Might be able to do this anyway. There is a setting for how pixilated and another for how much to try and follow the colors for drawing borders. Between those two settings it might already be possible.
Might be doable, but it will likely result in Provinces with very convoluted shapes. You could set the various height/richness limits at outrageous levels so that it results in single-color provinces, but that will make it output the same terrain type for all Provinces.
Quote:
What Id like to know is if dommap assigns those colors to a range of height. It does a full fractal map. If a height of 10-20 is given the one green pixel because of the old Dom1 restrictions, then maybe we can change it to do a range of green for each one between 10-20. Even figure in the height into the color choice.(instead of 10/200/10 it could be 10/180+height/10)
|
It's two fractal maps, actually: a height map, and a richness map. Then low/poor pixels are assigned such terrain type, low/normal pixels get this, and so on. There are command line switches to change the low, high, poor, and rich levels.
We could do more ranges, but because of the fractal nature of the thing, this will result in more isolated pixels. Plus, more work for me
. What is needed is smoothing of the maps, which is most likely what the Gimp scripts that generate maps do, so that the terrain limits are actually limits instead of lots of isolated pixels.
|