Author Topic: Gravel road  (Read 317 times)

Offline sboerner

  • Member
  • *
  • Posts: 321
    • Steve Boerner Typography & Design
Gravel road
« on: October 27, 2018, 09:36:33 PM »
Not very exciting perhaps but essential for the scenes that I'm working on. An all-procedural road is something I wouldn't have attempted just a few months ago I would have used hand-painted displacements but I've been investing more time in Terragen and things are beginning to click.

The subject is a dry hard-packed gravel road, well used but well maintained. Basic displacements. No color or underlying terrain. Comments, criticisms and (most of all) suggestions welcome.

85697-0
« Last Edit: October 28, 2018, 05:59:51 AM by sboerner »

Offline WASasquatch

  • Member
  • *
  • Posts: 3052
  • The Homeless Landscape Artist
Re: Gravel road
« Reply #1 on: October 27, 2018, 10:31:47 PM »
It's a pretty interesting concept. I like the ditches and surface, but i notice that the way it's setup, you can't easily redirect it to create a road path procedurally. The ditches will begin stretching oddly even before you get bends in the road, additionally the high-level displacement in the shaders section is erroneous/not-standard and interferes with also redirecting the road.

I found a good base for roads is to drive them with SSS masks. One day if there is dynamic vector input for positions that can become highly dynamic.

Update: Figure out the issue i was having, works well! Turns out I was missing a warp on a SSS
« Last Edit: October 27, 2018, 11:01:41 PM by WASasquatch »
Art can be a window into the soul

Offline sboerner

  • Member
  • *
  • Posts: 321
    • Steve Boerner Typography & Design
Re: Gravel road
« Reply #2 on: October 28, 2018, 06:11:14 AM »
Thanks, Jordan, for the response and constructive criticism. Gave me a couple of ideas to try.

I moved all of the displacements above the Compute Terrain node and removed the redundant surface layers. Everything is now pure displacement above the transform and warp nodes, so the roadbed, ditches and surface displacements all stay together as the road is transformed and warped.

I've deleted the original .tgd file and attached the new one here. Again, comments and criticisms welcome.

85702-0

« Last Edit: October 29, 2018, 06:46:00 AM by sboerner »

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14444
    • www.ulco-art.nl
Re: Gravel road
« Reply #3 on: October 28, 2018, 06:52:08 AM »
I've got no problem with this; looks good and workable. But you can also do this (perhaps a bit simpler) by using one base SSS for road, ditches and center, just by starting out with a very soft SSS, and adding, multiplying or subtracting adjusted masks from this base for the different regions. Furthermore, I would do this after compute terrain (if you even need one), as displacements are quite minimal.
I have a road setup somewhere on the forum, btw. but can't find it atm.

Offline sboerner

  • Member
  • *
  • Posts: 321
    • Steve Boerner Typography & Design
Re: Gravel road
« Reply #4 on: October 28, 2018, 07:26:59 AM »
Thanks, Ulco. When you say "very soft SSS," do you mean by adjusting the edge width and profile, as I have done here? Or is there another way to blur or soften the edges of a simple shape?

At the moment I'm struggling to find a clean way to smooth out any underlying terrain displacements. But it's getting very late here so maybe the answer will be apparent tomorrow with a fresh start.

Offline WASasquatch

  • Member
  • *
  • Posts: 3052
  • The Homeless Landscape Artist
Re: Gravel road
« Reply #5 on: October 28, 2018, 08:24:59 AM »
Thanks, Ulco. When you say "very soft SSS," do you mean by adjusting the edge width and profile, as I have done here? Or is there another way to blur or soften the edges of a simple shape?

At the moment I'm struggling to find a clean way to smooth out any underlying terrain displacements. But it's getting very late here so maybe the answer will be apparent tomorrow with a fresh start.

I think he just means very soft, like 100 "Percent" so that way you can step between soft edges and hard edges by manipulating the base SSS shader.
Art can be a window into the soul

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14444
    • www.ulco-art.nl
Re: Gravel road
« Reply #6 on: October 28, 2018, 09:30:02 AM »
I'll put something in file sharing. Can't find my earlier setup, so I fixed a new one.

Offline sboerner

  • Member
  • *
  • Posts: 321
    • Steve Boerner Typography & Design
Re: Gravel road
« Reply #7 on: October 28, 2018, 06:48:55 PM »
Yes, I understand now. I'm not sure why I wasn't able to visualize this before I was stuck on the idea that three SS shaders were needed to control the inner and outer slopes of the ditches. One works fine. Thanks for showing how that works.

I added a clamp node and another constant so the elevation of the central roadbed can be independently tweaked. Later this evening I'll incorporate all this into the main scene and will report back. Should simplify things greatly.

85724-0

Quote
I'll put something in file sharing. Can't find my earlier setup, so I fixed a new one.

Thanks, Ulco! Appreciate you taking the time to do that.

Offline sboerner

  • Member
  • *
  • Posts: 321
    • Steve Boerner Typography & Design
Re: Gravel road
« Reply #8 on: October 29, 2018, 06:44:36 AM »
New version. As before I'll delete the previous file links. This one incorporates the simplified basic network, but adding controls and a mask increased the complexity again somewhat. But at least it works and overall I'm fairly happy with the result. Still needs shading and testing in a real scene but that will have to wait. I'm going to call this done for now.

85736-0

Here is the scene and a clip file in case anyone wants to mess around with it.

* gravelRoad.tgd (49.91 kB - downloaded 18 times.)
* gravelRoad.tgc (28.79 kB - downloaded 13 times.)

And here is a clip file of my version of WASasquatch's basic network.

* roadDitches.tgc (4.75 kB - downloaded 12 times.)


 

anything