Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Setting rivers to Zero height  (Read 2121 times)

0 Members and 1 Guest are viewing this topic.

CzechTexan

  • Modder
  • member
  • Offline Offline
  • Posts: 1400
  • TEXAS, USA
Setting rivers to Zero height
« on: September 29, 2015, 01:22:30 PM »

Just finished the beginning stages of making a map, loaded it, then discovered that the lakes and rivers are at zero height and the terrain around them is like deep canyons.

What can I do now?

I'd prefer to have rivers at zero height.  Is there a good way to lower the surrounding terrain?
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Setting rivers to Zero height
« Reply #1 on: September 29, 2015, 01:57:43 PM »

Just finished the beginning stages of making a map, loaded it, then discovered that the lakes and rivers are at zero height and the terrain around them is like deep canyons.

What can I do now?

I'd prefer to have rivers at zero height.  Is there a good way to lower the surrounding terrain?
My way:
1. open map_H.tga in Gimp.
2. select all rivers and lakes.
3..increase the selection by 10, 15 or even more pixels.
4. substract the rivers and lakes from this selection (there is option in Gimp to do so).
5. make gaussian blurr of the resulting  selection, with about 3 pixel choice selected.
You will obtain wide valleys instead of canyons. Try various widths in point 3 above.
Good luck !
Logged

CzechTexan

  • Modder
  • member
  • Offline Offline
  • Posts: 1400
  • TEXAS, USA
Re: Setting rivers to Zero height
« Reply #2 on: September 29, 2015, 02:30:45 PM »

Thanks Uzin!  I'll try that.
Logged

farang65

  • never two weeks two decades
  • SAS Team
  • member
  • Offline Offline
  • Posts: 2787
  • Fortress Formosa
Re: Setting rivers to Zero height
« Reply #3 on: October 07, 2015, 10:56:41 PM »

Hi Uzin,

I've been playing around with your rivers method.

To clarify a few things.

Select all rivers and lakes means that you have already merged and flattened a  0 rgb rivers layer to map_H?

Increase the selection is by means of the grow selection (there is also a shrink selection as well).

As in subtracting the rivers and lakes from the grown selection that means to clear them from the grown selected area by using clear?

My thinking with this is you would not have any 0 rgb rivers and lakes in the selected grown areas at all.

Gaussian blur the cleared, grown selections then save.

Still not having any rgb 0 rivers and lakes on map_h after the process.

Cheers
Kirby
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Setting rivers to Zero height
« Reply #4 on: October 08, 2015, 12:22:46 AM »

Hi, Kirby and CzechTexan,

my above procedure assumes that you have yet RGB=0 rivers in map_H.tga done.
The procedure only removes the "canyons" converting them into wide valleys.

So, from the beginning:
For making rivers at zero height , do as it follows:
1. Open Mymap_c.tga with Gimp.
2. Select white area, remove it (= make invisible).
3. Downsize the file 4 times, to the size of map_H.tga
4. Fill in the remaining areas (= rivers with diffuse area around) by RGB=0.
5. Insert this file above map_h.tga as a layer and join (=merge), select flattening, save as new map_H.tga.
7. Now start the procedure of converting "canyons" into valeys, as described in above post.

Note:
save the file obtained in the above point 4. for future use:
when placing it above map_t.tga (=merge) which has wood areas inserted, the wood in rivers can be killed.
Logged
Pages: [1]   Go Up
 

Page created in 0.092 seconds with 22 queries.