Re: Procedural Roads/Paths on Terrain
Posted: Wed Dec 11, 2013 2:52 am
What you need is known in the CAD world as a "sweep".
Taking your Bezier-Curve as being the centre of the road, at intervals along it (max mesh resolution) you can produce lines or points that are 90degs to the curve and normal to the terrain. Use these as the basis for an open triangulation mesh that describes your road.
Taking your Bezier-Curve as being the centre of the road, at intervals along it (max mesh resolution) you can produce lines or points that are 90degs to the curve and normal to the terrain. Use these as the basis for an open triangulation mesh that describes your road.