sanchoflat Posted April 16, 2012 Share Posted April 16, 2012 (edited) Hi all. Need your help. Destroy some object, but how can i group my mesh pieces proceduraly? ( I pick out region ) Thanks. Edited April 16, 2012 by sanchoflat Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 16, 2012 Share Posted April 16, 2012 One of the ways is to color the input points to voronoi fracture sop and use it as condition to create groups in dop using point expression. I hope this helps. Dynamic_group.hipnc Quote Link to comment Share on other sites More sharing options...
sanchoflat Posted April 16, 2012 Author Share Posted April 16, 2012 its cool, but i have some another idia. I did it with mask, but result isnt perfect. i try to group points with bounding box, but its isnt well. how can i group this pieces in Dop network with animation. If i try to do it - my sop geometry dissapears int.hipnc Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 16, 2012 Share Posted April 16, 2012 (edited) If I have understood it correctly, you can solve this in different ways. 1)Add point(particle system) at the center of each piece using foreach operator and add operator. 2)Group these points using the volume which you r importing using obj merge node. 3)Create some attrb say 'active' only on the points in the group with value 1. 4)So points not in the group will have active attrb with value 0 and those in the group will have active attrb value 1. 5)In dop group node access this value(active) using point expression to check if it is equal to 1. If the condition is satisfied then object with that id will be in the group.(similar to point expression in the previous post just type active instead of Cd) 6)Apply force only on this group or you can use this group in active value dop to activate the objects. Edited April 16, 2012 by sorry Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 16, 2012 Share Posted April 16, 2012 If I have understood it correctly, you can solve this in different ways. 1)Add point(particle system) at the center of each piece using foreach operator and add operator. 2)Group these points using the volume which you r importing using obj merge node. 3)Create some attrb say 'active' only on the points in the group with value 1. 4)So points not in the group will have active attrb with value 0 and those in the group will have active attrb value 1. 5)In dop group node access this value(active) using point expression to check if it is equal to 1. If the condition is satisfied then object with that id will be in the group.(similar to point expression in the previous post just type active instead of Cd) 6)Apply force only on this group. Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 16, 2012 Share Posted April 16, 2012 (edited) SORRY, Internate issue. Double posted Edited April 16, 2012 by sorry Quote Link to comment Share on other sites More sharing options...
sanchoflat Posted April 16, 2012 Author Share Posted April 16, 2012 thanks really for your help, but in attributes i'm isnt strong. Did this, but have this result, i choose not pieces - only primitives Quote Link to comment Share on other sites More sharing options...
sadhu Posted April 17, 2012 Share Posted April 17, 2012 (edited) Hello Friend. There can be different ways of doing this. Since I have used point expression in the last post, i am using same logic here as well. If you want pieces not in the group not to move at all then use active value dop with this group. Dynamic_group_activation.hipnc Edited April 17, 2012 by sorry 1 Quote Link to comment Share on other sites More sharing options...
sanchoflat Posted April 17, 2012 Author Share Posted April 17, 2012 wou man Big thanks, i have problem with "point" expression. rest was all clear)) 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.