|
|
|
|
|
October 24th, 2006, 05:58 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
here's how the sprites work now: - black is transparent
- no pure white
- all other colors 'pasted' to the map
- the overall dimensions of the image are used for distance calculations, nothing fancy like looking at the actual image data. this helps for the clumping effect i was discussing earlier
- 24-bit uncompressed tga
- sprites are blurred after they are placed on the map with a pass of the gaussian blur
not sure how specific i need to be, i think that covers all of the major stuff without getting too technical. if you have a set of colors to use for the background you'd like to see used with them, send those along too. i'm sure your sprites will be better than the crap ones i put together in a few spare seconds.
btw, i think i may have found a compiler to handle mac/linux apps, havent looked at it yet though.
|
October 25th, 2006, 11:27 AM
|
|
Lieutenant Colonel
|
|
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
|
|
Re: new map generator
Well, I tried, but I cam up with really lousy sprites, so I'll spare you the horror :\
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
|
October 25th, 2006, 01:59 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
oh well, i guess that my crppy ones will have to do for now. perhaps i will start another thread to request sprites from some enterprising artists.
|
October 25th, 2006, 05:56 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
ok i did start a seperate thread for the sprites here
|
October 26th, 2006, 06:14 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
i think that i may have come up with an algorithm for the 'clumping' effect i was discussing earlier, so that you can just set a flag for it, much like telling the mapgen to create a wrap-around map, instead of having to muck about with the sprites
|
October 27th, 2006, 01:05 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
also, i may have an algorithm for blending terrain types together along the borders. once i get the non-windows build of this running, i will try and implement these algorithms.
|
October 27th, 2006, 01:17 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
the blending algorithm will be able to blend together more than 2 terrain types, i believe, so if you have an intersection of swamp, farms, plains and forests, any sprites associated with those terrain types might show up there. i think that this sort of behaviour will have to be restricted from occurring with water though, and possibly mountains.
|
November 1st, 2006, 09:18 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
fyi, started to put in the dom3 terrain types
|
January 12th, 2007, 06:31 PM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
fyi, i put a new site together, wiki format. in my oppinion much easier to maintain and develop, which means it is updated pretty often. plus forums, much more storage and no bandwidth limitations. so the old one has been pretty much abandoned, link to the new one in my sig.
|
January 28th, 2007, 12:01 AM
|
|
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new map generator
i am getting very close to releasing an alpha windows version of mapgen. but in the meantime, i'm going to post a few maps for all of you to play around with. right now there are no sprites, but the maps are playable.
this first is a 1600x1200, 294 provinces (176 land, 118 sea), wrap around.
as always, any comments are deeply appreciated.
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|