Creating lowres cut out of texture / or 2d concave hull

   1429   4   1
User Avatar
Member
54 posts
Joined: Sept. 2013
Offline
Hey guys,

I've stuck and bit and need o to borrow your brain.

Have a 2D texture:


And I want to create low res cut out of it:


Unfortunately, trace sop gives me very high res results. When I increase step size, the edges of the outline will start going through texture. The same resampling of trace sop wouldn't give me results like in the picture. Basically, I want to create a 2d concave hull around that texture.

Any guidance?

Attachments:
cutout_of_texture_01.png (27.2 KB)
cutout_of_texture_02.png (30.3 KB)

User Avatar
Member
143 posts
Joined: Oct. 2015
Offline
Hello ,
I think you could use a refine node , set it to unrefine , from u 0 to 1 , play with the threshold
then maybe a polyexpand 2D…
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
Resample and polyexpand2d for me.

Attachments:
cutout.jpg (11.3 KB)
cut_out.hipnc (78.2 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
143 posts
Joined: Oct. 2015
Offline
after making some test , in fact resample first , polyexpand then unrefine give something really close to your shape
Edited by Benjamin Lemoine - Nov. 22, 2020 07:11:57

Attachments:
SharedScreenshot.jpg (143.4 KB)

User Avatar
Member
54 posts
Joined: Sept. 2013
Offline
Thanks Benjamin and Konstantin. It works perfectly! Really cool!
  • Quick Links