UE 5.7.4 PCG — placing objects along the border between black and white in a texture, and orienting them along an imaginary line

Maybe someone can help solve this problem.
I used a texture and a couple of filters to create points along the border between black and white. Is there a way to avoid pixelation and orient the points along an imaginary smooth line?

This is needed to place a fence or a front layer of trees. I don’t want to draw a spline manually :slight_smile:

What I tried:

  1. Orienting points using a “Look At” approach, but it didn’t work for me

  2. Generating a virtual spline from these points and then placing points along that spline — also couldn’t get it working