14.12.2007, 09:19
To make it more precise:
map_c syze is mildly connected with map_T (or map_h)size. It's true that 1 pixel on map c=50 by 50 m.
But map_c doesn't cover all the map but just the regions which have both land and water so there's no simple connection between map_C and map_T or map_h size. Istvan you got your map_c tool I suppose? So then it's like this: you grab a map from internet say it represents 100 by 100 km. In Oleg's word as Meister said one pixel on map_c is 50 by 50 meter. So change the internet image to an image which has 100000/50 by 100000/50 pixel, let's call it map_c_work. Change all land to white and all water to black. Apply the map_c tool to this map. The result will be the TRUE map_c and map_c.tga_table which game uses. From map_c_work create map_T and map_h by shrinking map_c_work 4 times in both directions, that is for our 100 Km example map_c_work would be 2000 by 2000 pixel and so map_T and map_h will be 2000/4 by 2000/4 pixel.
map_c syze is mildly connected with map_T (or map_h)size. It's true that 1 pixel on map c=50 by 50 m.
But map_c doesn't cover all the map but just the regions which have both land and water so there's no simple connection between map_C and map_T or map_h size. Istvan you got your map_c tool I suppose? So then it's like this: you grab a map from internet say it represents 100 by 100 km. In Oleg's word as Meister said one pixel on map_c is 50 by 50 meter. So change the internet image to an image which has 100000/50 by 100000/50 pixel, let's call it map_c_work. Change all land to white and all water to black. Apply the map_c tool to this map. The result will be the TRUE map_c and map_c.tga_table which game uses. From map_c_work create map_T and map_h by shrinking map_c_work 4 times in both directions, that is for our 100 Km example map_c_work would be 2000 by 2000 pixel and so map_T and map_h will be 2000/4 by 2000/4 pixel.