Aces High Bulletin Board

General Forums => Terrain Editor => Topic started by: artik on February 10, 2017, 04:18:48 PM

Title: MakeAHMap 1.10 Released
Post by: artik on February 10, 2017, 04:18:48 PM
2017-02-11: Version 1.10

- Fixed several issue with clipboard map generation:
  * Water wasn't properly colored on small 64x64 maps (bug #7)
  * Beach color wasn't continuous
  * Bad atlats to CBM color was used (regression)

- It is now possible to create clipboard map with geographical
  rather than game grid by specifying:
 
    cbm_grid=geo_dd
   
  for geographical grid using decimal digits: 31.5, -1.2

    cbm_grid=geo_dm
 
  for geographical grid with degrees and minutes of arch: 31°30'N, 1°12'W

- Now every run of makeahmap.exe creates a full log in the output\log.txt
  directory that can be used for issues solving

- The makeahmap_cpu.exe - is no longer needed, makeahmap.exe runs
  correctly even if OpenCL.dll is missing - it falls back to CPU
  implementation
 
- Performance improvements in splattype generation and CPU
  based water optimization.

  - Fixed cleaup of temporary after upgrade bug #8



I strongly recommend to all users to upgrade to latest version:

I also recommend to rerun the program for the current terrain and create new clipboard map that looks much better - especially for 64x64 terrains

Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 13, 2017, 11:43:38 AM
after update 1.10 when i run the program i get error: error in config.ini, line 1:key missing value
press enter to exit...
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 13, 2017, 12:07:36 PM
Can you please post the content of the log.txt in the output directory, also put the first lines of config.ini

If unsure copy the config_reference.ini to config.ini and use one.

One more, if you are using Notepad try to save the config.ini file as ANSI instead of Unicode/utfi
Title: Re: MakeAHMap 1.10 Released
Post by: Randall172 on February 13, 2017, 12:22:45 PM
wheres the link?
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 13, 2017, 12:54:16 PM
- Loading Profile from config.ini
Exception in line 1 :#####################################

Error:Error in config.ini, line 1: Key missing value
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 13, 2017, 01:03:07 PM
after i saved as a ansi type the error is now gone.  i waiting for the program to finish.  i think it may have froze at fixing ground types... :D

yes, the program stops at fixing ground types.  i have tried twice. the second try the recognition of failure was fast. i did notice with both runs the times for the output test from my video card were longer, over a minute for the last one.  also, the computer spent a long time fixing ground types before recognizing failure, the first run.

- Loading Profile from config.ini
  map_size=512
  map_name=miter
  tile_set=europe
  dem=srtm3
  lat=45.02
  lon=84.55
  scale=1.0
- Version: 1.10
- Latitude, longitude range and scale
    Lat:     41.312     48.728
    Lon:     79.305     89.795
  Scale:      1.000
- Loading ground type mapping europe.csv
- Loading GlobCover Data.
- Loading Digital Elevations Model data.
- Loading & processing shores data.
-- Total segments:1185357, maximal segment lenght:58.459
- Loading & processing rivers data...
--- Total river segments: 7003; max river segment length 7.907
  Complete
- Updateing altitudes...
-- Converting water bodies to elevations map
--- Iceles and Lakes
--- Rivers
-- Calculating elevation modifications to bring water to 0 feet
   Using:OpenCL solver running on GPU: GeForce GTX 745; computing units=3

         Grid|  Vertices| Time (s)|Iterations| Bandwidth GB/s
      256x256|     63959|    0.125|       319|    8.889
      512x512|    255813|    0.359|       429|   14.671
    1024x1024|   1023224|    1.938|       705|   17.959
    2048x2048|   4092703|   11.078|      1082|   19.402
    4096x4096|  16370512|   61.339|      1545|   20.010

    Total optimization time 74.839 s
    Maximal correction  range max=13222.000 min=-535.000
    Maximal land modificationt to below 0 alt 2232
- Fixing ground types...
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 13, 2017, 02:35:47 PM
Two questions:

1. What is your exact CPU model you can find it there: Computer->right click properties -> Under System, Processor
2. How the program ends? Crashes, does not end at all, if crashes what is the message you are receiving: dialog box whatever?

Note fixing ground types can take few seconds. The wait time related to elevation is different and finished correctly - but it takes long 74.839s - it is normal for your relatively slow graphics card.

Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 13, 2017, 02:45:51 PM
One more, can you download this exe:

http://cppcms.com/files/makeahmap/debug/makeahmap_for_natcigg.exe

Put it into same location the normal makeahmap.exe resides and run one - to see if it completes correctly.

(I disabled in this exe some relativity new option I introduced in 1.10 version)
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 13, 2017, 03:48:23 PM
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz
makeahmap.exe has stopped working  .... windows checking for problem ... close program.
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 13, 2017, 03:52:37 PM
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz
makeahmap.exe has stopped working  .... windows checking for problem ... close program.

Does the exe I posted above gives the same issue?
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 13, 2017, 03:53:32 PM
One more, can you download this exe:

http://cppcms.com/files/makeahmap/debug/makeahmap_for_natcigg.exe

Put it into same location the normal makeahmap.exe resides and run one - to see if it completes correctly.

(I disabled in this exe some relativity new option I introduced in 1.10 version)

the linked program did not freeze.
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 13, 2017, 03:59:44 PM
OK thanks use the linked program meanwhile until I release the official fix.

Does anybody else has similar problem with crashing on ground type fixes?
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 13, 2017, 04:05:53 PM
is there a good way to get more rivers and lakes? many are showing as sand.  i put the river detail setting to 11 and the other settings seem be at a good limit.?
Title: Re: MakeAHMap 1.10 Released
Post by: Easyscor on February 13, 2017, 06:31:39 PM
- Loading Profile from config.ini
Exception in line 1 :#####################################

Error:Error in config.ini, line 1: Key missing value
fyi Captain1ma/Jaeger was having the same or similar problem Saturday night.

Perhaps a case of ...
Quote
One more, if you are using Notepad try to save the config.ini file as ANSI instead of Unicode/utfi
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 14, 2017, 02:14:48 AM
is there a good way to get more rivers and lakes? many are showing as sand.  i put the river detail setting to 11 and the other settings seem be at a good limit.?

Are you sure you have these lakes and rivers, how is it in comparison to google maps. Also note you have chosen very high altitude area, the AHIII water altitude must be 0 so you may end with multiple artifacts.

Also make sure that you don't set water_alt_limit to low altitude at your sample map, it removes any water bodies that their original altitude is above this altitude. Since the area you create is at very high altitude modifications of water_alt_limit is tricky


If you are using this area for MA terrain generation, it isn't the best choice due to high altitude of the terrain
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 14, 2017, 05:36:54 AM
the area is low altitude.  the great lakes have a altitude around 600ft asl.  the highest land point is around 1600 ft asl.

from my tests only the Wisconsin and grand rivers are created with the addition of the Detroit river and st Clair river.  although a land dam was created at lake Huron to st. Clair river.  the latest updated seemed to create a water passage at the lake Huron st Clair river.

adjusting river detail from 3 to 11 had little to no effect on final water body creation.

the splat map and ground coverage clearly show the inland lake water bodies.

(https://c1.staticflickr.com/3/2414/32053450434_a8d9dcf04a_h.jpg) (https://flic.kr/p/QQsj69)mitersplat1 (https://flic.kr/p/QQsj69) by Burt Bundy (https://www.flickr.com/photos/144662142@N05/), on Flickr

(https://c1.staticflickr.com/4/3898/32515799350_a5454af837_h.jpg) (https://flic.kr/p/RxiYjb)mitermap3 (https://flic.kr/p/RxiYjb) by Burt Bundy (https://www.flickr.com/photos/144662142@N05/), on Flickr

(https://c1.staticflickr.com/3/2277/32053452074_333ad236c2_h.jpg) (https://flic.kr/p/QQsjzq)mitermap1 (https://flic.kr/p/QQsjzq) by Burt Bundy (https://www.flickr.com/photos/144662142@N05/), on Flickr

(https://c1.staticflickr.com/3/2918/32053453014_bd84c55c80_h.jpg) (https://flic.kr/p/QQsjRC)mitermap2 (https://flic.kr/p/QQsjRC) by Burt Bundy (https://www.flickr.com/photos/144662142@N05/), on Flickr

(https://c1.staticflickr.com/3/2881/32515949330_783a6ac673_h.jpg) (https://flic.kr/p/RxjJU3)mitermap4 (https://flic.kr/p/RxjJU3) by Burt Bundy (https://www.flickr.com/photos/144662142@N05/), on Flickr

with Houghton and Higgins Lake in the center of upper michigan you can seed that Houghton lake was generated but Higgins lake is yellow sand.
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 14, 2017, 06:48:58 AM
here is the log. note longitude is negative.  i had a error of longitude being positive on my previous posted log, sorry for the confusion.

- Loading Profile from config.ini
  map_size=512
  map_name=miter
  tile_set=europe
  dem=srtm3
  lat=45.15
  lon=-84.8
  scale=1.0
- Version: 1.10
- Latitude, longitude range and scale
    Lat:     41.442     48.858
    Lon:    -90.057    -79.543
  Scale:      1.000
- Loading ground type mapping europe.csv
- Loading GlobCover Data.
- Loading Digital Elevations Model data.
- Loading & processing shores data.
-- Total segments:903174, maximal segment lenght:40.140
- Loading & processing rivers data...
--- Total river segments: 1542; max river segment length 4.260
  Complete
- Updateing altitudes...
-- Converting water bodies to elevations map
--- Iceles and Lakes
--- Rivers
-- Calculating elevation modifications to bring water to 0 feet
   Using:OpenCL solver running on GPU: GeForce GTX 745; computing units=3

         Grid|  Vertices| Time (s)|Iterations| Bandwidth GB/s
      256x256|     44145|    0.062|       176|    5.881
      512x512|    176255|    0.141|       200|   13.499
    1024x1024|    704485|    0.688|       357|   18.022
    2048x2048|   2816894|    3.891|       569|   20.054
    4096x4096|  11265417|   20.344|       773|   20.828

    Total optimization time 25.125 s
    Maximal correction  range max=1823.000 min=0.000
    Maximal land modificationt to below 0 alt 564
- Fixing ground types... Done in 1.016 s
- Saving ground types: splattype.bmp... Done
- Saving elevation data .raw and .bmp... Done
-- Maximal altitude (for use with TE bmp import) is 2272 feet
- Generating clibboard map... Done


Completed
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 14, 2017, 08:25:25 AM
Do you use original version or the exe I have gave you?
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 14, 2017, 09:15:05 AM
this is using exe you gave me.
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 14, 2017, 09:22:54 AM
The lake you referred to seems to be missing in the dataset...  There is a chance that I'll need to use some other dataset

Anywhy gshhs seems to have major issues
Title: Re: MakeAHMap 1.10 Released
Post by: NatCigg on February 14, 2017, 09:34:40 AM
im impressed as is.  amazing program in my eyes.  :aok
Title: Re: MakeAHMap 1.10 Released
Post by: artik on February 14, 2017, 10:53:36 AM
Question el

have anybody experienced crashes on 1.10 during Fixing ground types?