Hi everyone!
I am trying to find a way to draw a silhouette of an object in three.js with a line geometry (so outline shaders won’t help), and three-mesh-bvh seems to be a great way of doing it. I want then to use this line to draw a text following this path (shown as purple on the picture).
There’s a edge projection example, and it already solves the problem, but has a lot of inner faces that I’m trying to get rid of. On the basic level, I think that we have to filter out all the edges that have any other edges that are closer to BVH. And now I’m trying to find a way to do this.
Would appreciate any help! Thanks in advance
P.S.: object on the picture is 3d, but rendered without any shading so it looks flat