I am working with roads on terrain and want to use a road mesh that conforms perfectly to the terrain, like how Crysis has. I do not want to raise the road mesh off the terrain. Attempts to adjust the depth offset with glPolygon offset have failed to produce good results. This is the problem:


I have a road mesh constructed from a cubic spline. I want to divide the mesh up along the grid lines of the terrain. Is there any way to do this, besides calculating it myself on the CPU?