magneto Posted December 5, 2014 Share Posted December 5, 2014 Hi, A pic would describe it better: I would rather have something that looks like OCD B-Splines rather than Linear blend: 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 Quote Link to comment Share on other sites More sharing options...
rayman Posted December 5, 2014 Share Posted December 5, 2014 You can try to create VDB, smooth points and project them to VDB. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 5, 2014 Author Share Posted December 5, 2014 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. Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 5, 2014 Share Posted December 5, 2014 What about using measure to find the curvature and smooth using that attribute? Then project. 2 Quote Link to comment Share on other sites More sharing options...
rayman Posted December 5, 2014 Share Posted December 5, 2014 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. (: 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 5, 2014 Author Share Posted December 5, 2014 Thanks both. I tried measuing the curvature using the Measure SOP but the results is this: The min/max fields clip the values so I found the max value first and then used that. Is this what you guys meant? Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 6, 2014 Share Posted December 6, 2014 Like this is more what I meant. 1 Quote Link to comment Share on other sites More sharing options...
michaelb-01 Posted December 6, 2014 Share Posted December 6, 2014 Delta mush deformer? I've not used this but it looks interesting and could maybe help?? (e.g. ) 2 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 7, 2014 Author Share Posted December 7, 2014 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. Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 8, 2014 Share Posted December 8, 2014 Hi Ryan, No, they are not normalized, I just made a simple example to demonstrate how you could use the curvature measurement so you can find the pinching on the surface. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 10, 2014 Author Share Posted December 10, 2014 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: Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 10, 2014 Share Posted December 10, 2014 You could smooth the whole object and use the curvature attribute to control a blend between the smoothed and the original. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 10, 2014 Author Share Posted December 10, 2014 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. Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 10, 2014 Share Posted December 10, 2014 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. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 10, 2014 Author Share Posted December 10, 2014 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. Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 10, 2014 Share Posted December 10, 2014 Yes like you smoothing the normals of the original curve. I've added an example with compensation as well. Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 10, 2014 Share Posted December 10, 2014 Yes like you smoothing the normals of the original curve. I've added an example with compensation as well. SharpInterpollation.hip 2 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 10, 2014 Author Share Posted December 10, 2014 Thanks Kim you are the master of curves and SOPs 1 Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 14, 2014 Share Posted December 14, 2014 Hehe, Thanks... I wish. 1 Quote Link to comment Share on other sites More sharing options...
acey195 Posted December 15, 2014 Share Posted December 15, 2014 Maybe not "the" but "a" certainly... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.