feresteanud Posted November 28, 2016 Share Posted November 28, 2016 (edited) Hello, I added two levels of voronoi fractures to my object and it seems that when I fracture (second time) my object it doesn't take into consideration the first pieces. What I see is that the name of first fractures is deleted once the second fractures happens. Is there a way of keeping or taking into account the pieces from first fractures no matter how many times do I apply voronoi fracture node? See the attached file as an example. Thank you very much. name attribute.hipnc Edited November 28, 2016 by feresteanud Quote Link to comment Share on other sites More sharing options...
Yon Posted November 28, 2016 Share Posted November 28, 2016 Fracturing twice while wanting to keep pieces from the first is a contradiction. What are you trying to achieve by using two voronoi nodes that can't be done in one? Inputing your first fracture into a for each node set to name for recursive fracturing is a legitimate technique. Quote Link to comment Share on other sites More sharing options...
feresteanud Posted November 28, 2016 Author Share Posted November 28, 2016 In the example file makes no sense indeed, as you say. I'm fracturing the geometry in another software (3ds max) and I want to keep these fractures too. So when importing in Houdini and fracturing I want to take them into account (custom fracturing from 3ds max). Quote Link to comment Share on other sites More sharing options...
f1480187 Posted November 28, 2016 Share Posted November 28, 2016 Simply store name in some temporary attribute and propagate it to inside surfaces of new pieces in for-each loop run over new pieces. nested_name.hipnc I used Attribute Copy, which intended to copy from matching geometry, but since unmatched will copy values from zeroth primitive, which will have correct value if we blast inside group, it will work properly. Another way is to promote oldname to detail and then back, also inside same for-each: it seems, empty values will be properly discarded in favor of something non-empty, at least, when Maximum mode is chosen. Third way is to find first occurrence of non-empty name inside wrangle and use it. Here is similar example, since you may need to shatter each piece differently. Quote Link to comment Share on other sites More sharing options...
feresteanud Posted November 28, 2016 Author Share Posted November 28, 2016 Thank you very much for the example files. I'll dig them and learn. 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.