View Single Post
  #58  
Old February 26th, 2004, 08:42 AM

Leif_- Leif_- is offline
Sergeant
 
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Leif_- is on a distinguished road
Default 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_- ]
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
Reply With Quote