![]() |
Re: can you speak C? fractal terrain? vga? tga?
Heh... I always wanted to conquer the Great Blue Plains... http://forum.shrapnelgames.com/images/smilies/happy.gif
It looks promising, though. |
Re: can you speak C? fractal terrain? vga? tga?
Does look much better. Strange effect though. It still scatters dots for each terrain type then seems to smooth that color quite nicely. The overall effect might be excellent if we could shift the color of the original pixellations off of their EGA choices. Instead of tan-brown for plains, make it a light green. Instead of cyan for swamp make it a blue-green. Dark green for forest and shamrock green for farms? Then the pixeallation wouldnt be so obvious.
The dark-brown mountains are ok I guess. The tan-brown or yellowish could become waste. What you think? |
Re: can you speak C? fractal terrain? vga? tga?
I dug up a blur.c once but never did figure out how to get it to skip the white pixels (and maybe the two colors of border also). Think it could be worked in?
Heehee. Just let me know when Ive gotten carried away. I can keep coming up with suggested add-ons forever. http://forum.shrapnelgames.com/images/smilies/happy.gif |
Re: can you speak C? fractal terrain? vga? tga?
At the moment, the colours used are hard-coded in colour_map[] in targa.c; someone should look into making them configurable.
|
Re: can you speak C? fractal terrain? vga? tga?
OK same subject, new thread.
Now that this works (quite nicely, thank you Leif), should this be a new program? The old one allowed for solid-color provinces which was even uglier than the defualt but was an advantage for some map-makers. I suspect that this one wont allow that very well. Should we decalre this project to be DomMapVGA ?? |
Re: can you speak C? fractal terrain? vga? tga?
Quote:
|
Re: can you speak C? fractal terrain? vga? tga?
Quote:
I really should try to clean that up. |
Re: can you speak C? fractal terrain? vga? tga?
Im very happy with the change in this program. At the moment Im messing with the colors it uses but the effects are great. I had the "chaos" run use it...
http://www.dom2minions.com/~dominion...s/00_index.jpg To see the jpg view or grab the tga/map for play go to http://www.dom2minions.com/~dominion...s2/RandomMaps/ since I dont have it as nicely webbed as the other groupings. I tried running it for the tiny/small/medium/large/huge/epic maps but I paintakingly came up with a level of pixellation that made those maps slightly less ugly. Now I have to rewrite the routines to drop that pixel efect way down to allow for this nice vga smoothing. Interesting notes for anyone playing with the color codes.... <font class="small">Code:</font><hr /><pre> static long color_map[] = { 0xC58F54, /* WATER */ 0x4E7283, /* WATER */ 0x5B4524, /* MOUNTAIN */ 0xC8BE51, /* FARMLAND */ 0x708841, /* FOREST */ 0x34969F, /* SWAMP */ 0xC4B0A4, /* TUNDRA */ 0xAD9374, /* WASTELAND */ 0xC3572C, /* BORDER1 */ 0x2C87C3, /* BORDER2 */ 0xFFFFFF /* CAPITAL */ }; </pre><hr /> The first WATER is misnamed. Its actually PLAINS which is the default terrain. The TUNDRA stumped me for abit since there isnt a tundra in the terrain settings. The .map file makes it a dual mountains/waste province. Thats kinda nice. |
Re: can you speak C? fractal terrain? vga? tga?
Quote:
|
Re: can you speak C? fractal terrain? vga? tga?
I've updated the DomMap.zip with the ability to turn the new shading on and off and changing the various colours through command-line parameters.
|
All times are GMT -4. The time now is 05:18 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.