![]() |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
</font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">Great job! Actually, I think the maps look reasonable now - they certainly don't have the polished look of hand-drawn maps, but they seem good enough. |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Thanks though |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Want a copy of my script for making this page? http://www.techno-mage.com/~dominion...humbnails.html You can cut-n-paste betweeh the two of them. |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Want a copy of my script for making this page? http://www.techno-mage.com/~dominion...humbnails.html You can cut-n-paste betweeh the two of them. </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">No, thanks - I still turn the computer off at night, and don't want to set up a cron job to upload to my ISP's computers, so anything I host, I'll have to copy manually. Still, I'll probably release a Version 1.95 of dommap, as soon as Arryn confirms me the minor changes I made didn't break his Developer Studio files. I'll include Leif's Perl script and his Version of the Gimp script, because they make the whole thing worth running... |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
|
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
2. I had to change 4 instances of "random()" to "rand()" in the province.c file, after which it compiles cleanly. Let me know if you want me to send you this "revised" .c file. |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
I've updated the Gimp script to add a coastal outline. The result can be seen on the generated maps here: http://home.Online.no/~rmoldskr/Domi...nion_maps.html
There's also a small change to the perl script, since I decided to move the gimp-quit call out of the Gimp script. The updated scripts can be found here: http://home.Online.no/~rmoldskr/dominions.html People who want to use the Gimp script might want to experiment with changing the parameters to the call to plug-in-bump-map, plug-in-gauss-iir (which does the blurring) and the first value in the gimp-brightness-contrast (which determines how much brighter than the sea the coast-line will be.) The values I've used there are not necessarily the best (or even particularly good) ones. You'll have to make those changes in the script for now, though. In particular you might want to turn on compensation for darkening when applying the bump-map (personally I believe the maps look better with the darkening on, but I've been known to be wrong from time to time.) To do that simply change the line from "(plug-in-bump-map RUN-NONINTERACTIVE image prettydrawable plasmadrawable 135.0 45.0 3 9 0 0 0 0 0 LINEAR)" to "(plug-in-bump-map RUN-NONINTERACTIVE image prettydrawable plasmadrawable 135.0 45.0 3 9 0 0 0 1 0 LINEAR)" For a description of what the various parameters are, choose Xtns -> DB Browser and type in "plug-in-bump-map" in the search-field. [ February 26, 2004, 06:59: Message edited by: Leif_- ] |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
Blurring and bumping from dommap is not an option for me. I could add a call to batch-mode Gimp to the program, but this is likely to not be very cross-platform compatible; Leif's Perl script seems a much better solution (and mine would not solve yours, if your problem is that you cannot run Gimp on your console). |
Re: JAVA programmer? (and Win-DomMap, and some GIMP)
Quote:
2. I had to change 4 instances of "random()" to "rand()" in the province.c file, after which it compiles cleanly. Let me know if you want me to send you this "revised" .c file. </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">1. Sorry. Guilty of false majority assumption. http://forum.shrapnelgames.com/images/icons/icon9.gif 2. I thought I had already done this change before; I've duplicated in my current Version (and sent the result to you by email) |
All times are GMT -4. The time now is 12:58 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.