sheyoystudio Posted July 1, 2017 Share Posted July 1, 2017 (edited) Hey guys, sorry for my english There is a way in Houdini to detect the collision and have a organic style deformation without dynamics to avoid the intersection of the meshes? I have some geometry groups (tentacles based on curves) in a single object, so, I thinks is possible with volumes and a vex expression with if and else, but I'm not so good with vex, i'm still learning. So, using a foreach loop , maybe converting the mesh into volumes and use a scatter to have the surface and inside points to detect their position, how can I import in a wrangle the groups and their points info to create this type of action? I know the message but i don't know how to write it, some ideas? Thank you Edited July 1, 2017 by sheyoystudio Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted July 2, 2017 Share Posted July 2, 2017 You can sample a volume and deform a mesh accordingly, yes. However, depending on how complex you geometry is, this might not viable. Check out this file deform_with_vdb.hipnc 1 Quote Link to comment Share on other sites More sharing options...
sheyoystudio Posted July 2, 2017 Author Share Posted July 2, 2017 Yes! This is exactly what I mean, In this file the attributeVOP check the second input information to create a volume and volume gradient with a compare and create a if condition with the twoway, thankyou vtrvtr! But I have one problem, now, my geometry consist in one object with groups (based on a system of curves to continue the procedural workflow for my set up) so I would need to say in the vop that it must read the information about each group volumes to deform themselfs, so i don't have geometry 1 and geometry 2, but only one converted in volumes groups, Is possible make this operation? Can I use foreach? Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted July 2, 2017 Share Posted July 2, 2017 I'm not sure I understand the problem properly, but you can use a for each on groups and then use this setup for each group. If it works or not, it would be better if you could upload the hip file or a sample hip file Quote Link to comment Share on other sites More sharing options...
sheyoystudio Posted July 3, 2017 Author Share Posted July 3, 2017 Sure, here a basic example: Thank you for your help vtrvtr curve_tentacle_for_deform_example.hipnc 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.