Roads that follow the terrain

Hey all,

So first off, I know how to create roads using the layout generator. The only problem I’m having is that the roads need a specific height level to be applied to them - 1200m for example. This means that any areas of my terrain that are higher than 1200m are carved through and any areas lower than 1200m my road is raised up on a platform. Is there any way to get the road to simply adhere to the height of the terrain beneath it? Or maybe be raised only a meter or so above the terrain below it?

I want the road to follow the terrain not cut through it.

Hi there,

Depending on what you want – if you want something more like a dirt path, for example – a smooth area on your terrain but one that adheres really tightly to the underlying terrain – I would do the following:

  1. Create your layout generator but Make sure you have not connected your terrain into it.
  2. Create your road shapes appropriately.
  3. Take the output of the layout generator and use it as a mask input into a blur device. Wire your terrain into that blur device and set the radius to a moderate value. You now will have a smooth path on your terrain.

If you want a road that does carve through the terrain somewhat, but never gets too far off of it, here’s a good method around:

  1. Create a layout generator and hook your input terrain into its terrain input.
  2. Create your road shape with plenty of control points. You can add additional points after creating by rcliking on a vertex and choosing subdivide if need be. (of course also set your fallof distance, curve, etc appropriately for the size of your road)
  3. Select the terrain device from before that you want to match so that you can see it below your road shape
  4. Right click on your road shape and choose “Drop curve to surface”. This will set all the vertex heights appropriately so that the road is located as nearly as possible to the terrain.

Here’s an example picture of a road placed onto the default world using the second technique:

Thank you Remnant. That’s exactly what I wanted to do (the second one). Though the blur mask is a great idea too.
I’ll try it out and let you know how it goes.

hsenuj@pop3.namnerbca.com

uyhupb@pop3.namnerbca.com