Page 1 of 1

Re: Procedural Roads/Paths on Terrain

Posted: Wed Dec 11, 2013 2:52 am
by IdeasVacuum
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.

Re: Procedural Roads/Paths on Terrain

Posted: Wed Dec 11, 2013 3:55 pm
by Bananenfreak
Is this what you´re searching for?

http://www.armaholic.com/page.php?id=15705
Just look the Video by 8:00.

How is this working? I´m wondering about it... Is there only one Mesh and many Entities, which will be stretched?

Re: Procedural Roads/Paths on Terrain

Posted: Thu Dec 12, 2013 12:06 pm
by Bananenfreak
Offset? X and Z or Y? I have no knowledge about this topic, but perhaps I could help.