Author Topic: river problem  (Read 739 times)

Offline mhaze

  • Member
  • *
  • Posts: 3760
river problem
« on: December 21, 2018, 12:34:27 PM »
How do I make the river flat in the X direction? I'm running into this problem all the time and haven't really found a solution.  I've included a .tgd for your perusal and abuse! Any help gratefully received.

Offline Dune

  • Member
  • *
  • Posts: 15127
    • www.ulco-art.nl
Re: river problem
« Reply #1 on: December 21, 2018, 01:31:20 PM »
There is no solution, tried this many times.

Offline mhaze

  • Member
  • *
  • Posts: 3760
Re: river problem
« Reply #2 on: December 21, 2018, 03:15:41 PM »
Ta! thanks for that. I'll stop driving myself nuts over it. :(

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: river problem
« Reply #3 on: December 21, 2018, 03:47:16 PM »
mhaze, it's not really a matter that making a flat riverbed is impossible but rather a method that you use for making that river in the first place.

Point in case - you can make a river-like cut into a terrain and keep it flat, but some solutions may be harder to operate than others. A warped SSS layer that masks surface layer will be enough I think... But again - it really depends on what you want...
"When dictatorship is a fact, revolution becomes a right."

Offline Dune

  • Member
  • *
  • Posts: 15127
    • www.ulco-art.nl
Re: river problem
« Reply #4 on: December 21, 2018, 03:50:44 PM »
That's correct. If you start out with a flat SSS as river and displace either sides by softer SSS, then warp, you may get what you want. Or use Daniil's shader.

Offline KlausK

  • Member
  • *
  • Posts: 454
  • Land ho!
Re: river problem
« Reply #5 on: December 21, 2018, 04:24:24 PM »
Hey, I guess I do not fully understand...
and since you know your way around TG much better than I do, I also guess this (see attachments)  is not what you really mean, or is it?
The river bed here is a separated block of nodes, not directly connected to the terrain.
I looked at your setup but I have to look at it a little bit more ;)

CHeers, Klaus
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 1070 TI / Win7 Ultimate

Offline mhaze

  • Member
  • *
  • Posts: 3760
Re: river problem
« Reply #6 on: December 21, 2018, 04:29:19 PM »
The river bed has to be displaced by the terrain  to make it follow the terrain - the problem is to flatten the terrain where the river bed is. 

Offline KlausK

  • Member
  • *
  • Posts: 454
  • Land ho!
Re: river problem
« Reply #7 on: December 21, 2018, 04:31:54 PM »
ok, I have to try that to understand it...
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 1070 TI / Win7 Ultimate

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: river problem
« Reply #8 on: December 21, 2018, 06:11:44 PM »
Hey, I guess I do not fully understand...
and since you know your way around TG much better than I do, I also guess this (see attachments)  is not what you really mean, or is it?
The river bed here is a separated block of nodes, not directly connected to the terrain.
I looked at your setup but I have to look at it a little bit more ;)

CHeers, Klaus

Yes, this is generally what I mean when saying you can easily flatten terrain in some kind of depression if you want to. :) But in more complicated instances like the one mhaze describes, it is indeed not enough.

But rest assured, if you don't have much transparency in your water, plus it is a bird's view shot you don't really need to have the riverbed flattened because... nobody would even tell a difference. If that is your motivation of course...

Following is a WIP that me and my friend approach as an entertainment. This shot is made from about 2000 meters above surface and you can see a clear stream of water flowing through a canyon. The terrain displacement underneath water surface is a complete clusterfuck but seriously... do you even notice?


86946-0
"When dictatorship is a fact, revolution becomes a right."

Offline Dune

  • Member
  • *
  • Posts: 15127
    • www.ulco-art.nl
Re: river problem
« Reply #9 on: December 22, 2018, 08:34:54 AM »
I made this this morning in 15mins on a slow 32bit machine, so it's very crude, but the only way (I can think of atm) to get this working.
The compute terrain has to be very low in line, or the river would go awry. If no laterals or snow layer is needed compute terrain is not necessary at all.
Have fun  ;)

Offline mhaze

  • Member
  • *
  • Posts: 3760
Re: river problem
« Reply #10 on: December 22, 2018, 09:34:46 AM »
Cheers Dune :D  I've actually come up with a similar solution but yours is more flexible.  I must now try to get a more V shaped valley using your solution of raising the rather than lowering the landscape.
« Last Edit: December 22, 2018, 09:44:58 AM by mhaze »

Offline Hannes

  • Member
  • *
  • Posts: 4461
Re: river problem
« Reply #11 on: December 22, 2018, 09:37:16 AM »
That's quite a cool scene, Ulco! Thanks!!!

Offline Dune

  • Member
  • *
  • Posts: 15127
    • www.ulco-art.nl
Re: river problem
« Reply #12 on: December 22, 2018, 10:15:48 AM »
Btw, if you switch between bevel and smooth step in the river SSS, there's a huge difference. Nice overhangs are possible, but it takes some fiddling (but that's what TG is all about anyway).

Offline mhaze

  • Member
  • *
  • Posts: 3760
Re: river problem
« Reply #13 on: December 22, 2018, 10:20:33 AM »
It's rather a brilliant solution to the problem, Typical Dune lateral thinking!

Offline Dune

  • Member
  • *
  • Posts: 15127
    • www.ulco-art.nl
Re: river problem
« Reply #14 on: December 22, 2018, 11:38:06 AM »
I just realized there's a thing to take care of; the camera for the distance shader. If you put your cam elsewhere the whole thing will change. So make a loose cam  of it and let it sit where it is.