I'm attempting to draw a road onto a mesh terrain and am looking for a better solution than the one I currently have. At the moment I create a bezier curve in the shape of the road then apply a Shrink Wrap modifier to it so it hugs the curves of my terrain mesh (Fig 1.). That part works fine.
The mesh terrain is rendered as a series of lines using Freestyle. I would like the bezier curved road to also be rendered as a single Freestyle line, but it doesn't seem possible to tell Freestyle to do that.
Instead I have to extrude the bezier curve by a very small amount, convert it to a mesh, and then use "Mark Freestyle Edge" on one edge (Fig 2.) to get Freestyle to render it (Fig 3.). That works to some extent, however (a) that seems like an ugly workaround, and (b) I don't want the extruded shape of the road to render at all, as it blocks a small part of my terrain – I only want the Freestyle line.
So, is there a common workaround for: bezier curve -> Freestyle line?
Fig 1. bezier curve shrink-wrapped to terrain
Fig 2. thin mesh with one edge marked for Freestyle line
Fig 3. low-res render result
I'd appreciate any thoughts.
Dunstan