How can i generate middle line/spline of a road mesh polygon

   1589   2   0
User Avatar
Member
6 posts
Joined: July 2022
Offline

Like i draw in the pic, how can i get the middle spline of the road polygon which describe the direction of the road and sits in the center of road?

Attachments:
Untitled.png (25.3 KB)

User Avatar
Member
5118 posts
Joined: Feb. 2012
Offline
Hi,

PolyExpand2d can do this for 2d shapes.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
User Avatar
Member
152 posts
Joined: Aug. 2012
Offline
Labs Straight Skeleton 2D also can be used for this.
  • Quick Links