.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Campaigns, Scenarios & Maps (http://forum.shrapnelgames.com/forumdisplay.php?f=106)
-   -   Map: Height Maps (http://forum.shrapnelgames.com/showthread.php?t=50616)

zovs66 November 28th, 2018 02:35 PM

Re: Height Maps
 
Many thanks DRG, entering in manual and imagination mode lol

zovs66 December 21st, 2018 04:39 PM

Re: Height Maps
 
So I have been trying to use the map contour tool to capture a port city in China, maybe that is why its not working?

Keep getting:

Quote:

Something went wrong, return value 25. Process returned:
coords => 42.36450103414592,-229.6614667649802,42.37657601400895,-229.56625353358325,42.30032998536339,-229.54823896589633,42.28824035718657,-229.64345219729324
level => 10.000000
dx = (42.37657601400895 - 42.36450103414592)/158, -229.56625353358325 - -229.6614667649802)/158)
dy = (42.28824035718657 - 42.36450103414592)/198, -229.64345219729324 - -229.6614667649802 - .5*0.000598825354697736)/198)
Zero 42.36450103414592, -229.6614667649802
dx 7.59432695788048e-05:0.000598825354697736, dy -0.000383219482207791:8.90208794452178e-05
Corners: (0,0)=42.36450103414592 -229.6614667649802 (159,0)=42.37657601400895 -229.56625353358325 (0,199)=42.28824035718657 -229.64345219729324

Corners: (1,1)=42.3642317295681:-229.660479506069: (159,1)=:42.3762307661615:-229.565865100026: (1,199)=:42.2883542720909:-229.642853371939: (159, 199)=:42.3003533086844:-229.548238965896

Error: INVALID_REQUEST at contour.pl line 305.
No matter where in the area I try.

Trying this url essentially:

http://www.venhola.com/maps/geo.php?...78590747&rot=0

(Chongjin, Korea I)

Or:

http://www.venhola.com/maps/geo.php?...78590747&rot=0

Chongjin, Korea II

Level 10 in both cases, but it always generators the error thingy.

Thoughts?

Chinese are blocking this app?

DRG December 21st, 2018 05:44 PM

Re: Height Maps
 
2 Attachment(s)
Try

https://www.venhola.com/maps/geo.php#129.7234,41.7670,0

http://forum.shrapnelgames.com/attac...1&d=1545428898

zovs66 December 21st, 2018 06:12 PM

Re: Height Maps
 
Thanks! That worked like a charm!

Got to figure out why some of my maps won't generate.

shahadi February 17th, 2019 03:54 PM

Re: Height Maps
 
2 Attachment(s)
Quote:

Originally Posted by DRG (Post 842849)
We will be looking for a way to allow water to be added to maps that will only fill in the level zero area with water with the press of a button that leaves all terrain >0 untouched. This will allow maps with island and/or coastline to add water without it being nearly so much the chore it can be now...it's "on the list" and it seems doable but we will see, hopefully, we can get it to work.

Don

Are you guys close to adding water to the maps?

https://www.venhola.com/maps/geo.php...159999999999,0

Here is the result after loading in the map editor after pressing "strip map,"

http://forum.shrapnelgames.com/attac...1&d=1550432570

I have started to draw the map in Extended Map Editor, it is a painstaking process indeed.

If anyone is interested, the Dinh Tuong zip has relevant files.

<br>

DRG February 17th, 2019 05:07 PM

Re: Height Maps
 
We have added the ability to flood fill areas of the map that show up from Venhola as zero elevation and it will be included with the next patch for CD owners

https://i.imgur.com/ltO6FkJ.png

DRG February 17th, 2019 05:20 PM

Re: Height Maps
 
That map you included is useless for that function as too much of the area has been set to zero elevation so it will need to be regenerated with Venhola with the elevations adjusted so your water is zero and the shorelines show up more than that otherwise you get what you show but mostly blue with a little pimple of land

.....but it only works when there is a defined shortline.... if most of the land near the water is barely above water level Venhola cannot differentiate land from water and we have no magic wand to make it do that so there WILL be cases this flood fill cannot work. There have to be contour lines above water level for it to do what you want

DRG February 17th, 2019 05:45 PM

Re: Height Maps
 
1 Attachment(s)
This was my 5th try and the contours were set to 2.... the land is just too flat
https://i.imgur.com/VEs1ggn.png

DRG February 17th, 2019 06:02 PM

Re: Height Maps
 
1 Attachment(s)
This is a start you can take it from there..... in cases like this you may need to generate a number of maps with progressively lower contour numbers to get the result you want. This used 2 IIRC which gave the river but perhaps made the land too bumpy

DRG February 17th, 2019 08:36 PM

Re: Height Maps
 
here's a section of Norwegian Coastline using Vehola and the new flood fill water feature. Try to imagine how long that would take by hand just to get to that point.....


https://i.imgur.com/MyHZH4y.png


All times are GMT -4. The time now is 06:18 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.