Jump to content

Is there a way to avoid pinching in Sweep/Skin SOP?


magneto

Recommended Posts

Hi,

 

A pic would describe it better:

 

DzmURRA.png

 

I would rather have something that looks like OCD B-Splines rather than Linear blend:

 

MQBtJFj.png

 

Is there a way to do this in Houdini? I searched the forums and spent a lot of time but couldn't find a solution.

 

 

Thanks :)

Link to comment
Share on other sites

Thanks rayman. Do you mean creating an SDF from VDB? I tried the Smooth SOP but it smoothed everything out.

 

Also the actual curve is a little more complex that might project to the incorrect section of the VDB.

Yes, I mean SDF. Also as Kim mentioned, it is better to isolate problematic areas before smoothing -this will help alot. (:

  • Like 1
Link to comment
Share on other sites

Thanks guys.

 

@Kim: What values do you use in the measure SOP for the curvature? A really high max value so the value is not clamped?

 

When I use the default 1000, I get color values in 7-10k using your pow code. Do you normalize them using the max curvature? I don't see that in your network though.

Link to comment
Share on other sites

Thanks Kim. Another issue is when you group those points, the Smooth SOP only accepts primitives, and if you only want to smooth the curves without the skin, you can't. Because converting those points into primitives groups the whole curves. The pinched corners basically look like this:

 

NHEGA07.png

Link to comment
Share on other sites

Thanks Kim, that's pretty smart :) The only other issue I have found is I need to smooth a lot either using a high number of iterations or a value like 2 for Cutoff Frequency, which shrinks the object greatly. If I blend only the pinched points, they will shrink significantly.

 

Do you think PolyWire might be an alternative to this since it seems to create a better surface. Though with large radii, it also exhibits similar issues.

Link to comment
Share on other sites

Have you tried a cutoff of 2.5 or above? Then you won't need as much iterations to get good smoothing.

 

Another thing you could try is to smooth the normals on the spine curve like that you'll get an averaged orientation of the circles int the corners. But you'd have to compensate for the thickness though but probably less then when you are smoothing the object.

  • Like 1
Link to comment
Share on other sites

Thanks Kim, higher values than 2.5 seem to work better. Still a lot to compensate afterwards.

 

By normals do you mean smoothing the normals of the original curve that's swept? I just tried it but Sweep seems to discard it, Copy SOP got affected by it. It didn't make a difference in the pinched areas though.

 

Thanks again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...