4
$\begingroup$

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 enter image description here Fig 2. thin mesh with one edge marked for Freestyle line enter image description here Fig 3. low-res render result enter image description here

I'd appreciate any thoughts.

Dunstan

$\endgroup$
0
$\begingroup$

enter image description here

I've been asking the same questions for 3 years, and apparently nobody can give this answer :( No we cannot render Blender Curve as Freestyle, unless TK the developer make changes.

The "dirty workflow" is to use the Curve Mesh itself, Beveled, or use Skin Modifier, if you are rendering just edges.

$\endgroup$
  • $\begingroup$ Well that's a bummer, perhaps TK will add it in at a later date. Thank you for your reply, though. I'll look into the skin modifier as I've not seen that before (I'm very new to Blender). $\endgroup$ – Dunstan May 5 '17 at 20:00
0
$\begingroup$

Dunstan :-)

Hopefully, I take it you want to create a mesh that is tight to the topology of an object?

When cutting into objects I use Ortho view and the Knife Project method. In my instance, when cutting a hatch into the back of the car, I use a plan view and create a curve as per plans.

I then project into the car body. This will add verts where needed and will be a selectable piece of the object to edit or, to be made it's own object. I keep a 'master' of the verts because I will use them again for the screen and, rubber seals.

In your case, a road surface.

...Ray.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.