nuki Posted February 19, 2018 Share Posted February 19, 2018 I was wondering how one could smooth out group assignments after subdividing a mesh. Since the assignment is binary I thought subsequent erosion/dilation would do the trick, but it doesnt really work that well altogether. group_blur.hip Quote Link to comment Share on other sites More sharing options...
Noobini Posted February 19, 2018 Share Posted February 19, 2018 this is not necessarily better than yours...but you can go into attribblur1, dial up/down Max Neighbours...can be satisfying... group_blur_smooth.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted February 19, 2018 Share Posted February 19, 2018 hey if you up the Blur Iterations in attribblur to 2 or 3, it gets very interesting... Quote Link to comment Share on other sites More sharing options...
acey195 Posted February 19, 2018 Share Posted February 19, 2018 (edited) what I would usually do is cast it to an integer attribute and then use an iterative (feedback) loop; with 2 attribute promote nodes in there: one to convert from primitive to point, using mode (try different modes if you like) the other to convert back from point to primitive using mode and then just set it to use the amount of iterations about equal to the amount of subdivisions you use. edit: and finally of course cast it back to your group if you need. Edited February 19, 2018 by acey195 Quote Link to comment Share on other sites More sharing options...
nuki Posted February 19, 2018 Author Share Posted February 19, 2018 (edited) I ended up mixing both of your suggestions...with a solution that seemed really obvious once I figured out I can just cast the group to an attribute. So now, I cast it to float, blur the attribute, then threshold it again. The cool thing is that I now also have control about expanding/shrinking the group, where a threshold of 0.5 will keep the bounds of the original group. And taking this further I could also keep the float attribute to control eg. fur length etc. Thanks for your help guys! group_blur.hip Edited February 19, 2018 by nuki Quote Link to comment Share on other sites More sharing options...
nuki Posted February 19, 2018 Author Share Posted February 19, 2018 So now I've wrapped this up into a subnetwork. Sharing it here as well as my random group expand, in case anyone cares. GroupMod_mk_v001.hipnc 2 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.