Archive 17/01/2023.

Road from SplinePath

George1

We need a picture or media thread sub forum in the discussion category to show off stuff.
Here’s my partially working road editing.

Road

The code is very ugly so I only show a picture :slight_smile:

Modanung

Moved to Showcase category. :wink:

Looks good!

Miegamicis

Are you planning to support road generating over the terrain?

George1

Hi Miegamicis,
Maybe not automatic road generation, but road overlay over surface.
I can’t promise anything yet. But it is possible to do, by using ray cast and projecting road vertices to the terrain surface. Or just have more control points.

Best regards

burt

This is amazing! Are you using any specific spline library?

George1

Thanks, this is the Urho3D inbuilt spline.
Best regards