0
$\begingroup$

I tried several ways to trace image inside geometry nodes , I knew that I can trace image with grease pencil , but I need a way to update image coordinate instantly inside GeoNodes , my result came out with round corners , straight line came wavy

I tried to sample color attribute around points to attract this points position to detected black edges of the image , but I failed enter image description here

This is My Result enter image description here

enter image description here

$\endgroup$
5
  • $\begingroup$ i tried to upload blender file after I posted this post but i faild $\endgroup$ Commented Jun 18 at 11:41
  • $\begingroup$ i want sharp corners straight lines $\endgroup$ Commented Jun 18 at 11:43
  • 2
    $\begingroup$ I think there isn't a ready solution in GN for that. In Python there surely are tracing libraries. In GN it could be implemented but perhaps it would be quite slow. I have some ideas for it, basically you would take the image, take a grid with high resolution, delete one color (works only on monochromatic images then), separate boundary edges, use a repeat zone to iterate mesh islands, convert to curve, use inner repeat zone to iterate over the paths, detect change on an angle averaged on a ~5-10 points, then mark that as a corner, then smooth everything without moving the corners... $\endgroup$ Commented Jun 18 at 13:14
  • 2
    $\begingroup$ ..or it could be easier, if you can intervene in your pipeline somewhere, to arrange a route to .svg, and import that $\endgroup$
    – Robin Betts
    Commented Jun 19 at 7:33
  • 2
    $\begingroup$ Built-in solution will be there in future, see: projects.blender.org/blender/blender/pulls/121897 $\endgroup$
    – mod nop
    Commented Jun 29 at 14:03

0

You must log in to answer this question.

Browse other questions tagged .