terencemace Posted July 7, 2019 Share Posted July 7, 2019 Hello all, Has anyone found a way to use the MOPs instancer, but have the instances not intersect? For example, a grid full of spheres, but they don't intersect. Thanks! T Quote Link to comment Share on other sites More sharing options...
terencemace Posted July 8, 2019 Author Share Posted July 8, 2019 In case anyone else is looking, I think MOPS Relax is what you need. "MOPs Relax applies a "relaxation" algorithm on incoming instances to spread them apart and prevent overlaps. You can optionally provide a surface for the instances to stick to so that they don't end up flying off into space. Relaxation is fairly quick in 2D space (relaxing along a surface or a 2D plane), but even though there's an option to relax in 3D space, be warned that it can be incredibly slow." Quote Link to comment Share on other sites More sharing options...
terencemace Posted July 8, 2019 Author Share Posted July 8, 2019 Actually, that didn't work either. Still looking for solution. Quote Link to comment Share on other sites More sharing options...
toadstorm Posted July 18, 2019 Share Posted July 18, 2019 Sorry about the late reply, didn't see this thread. You can send me MOPs questions directly, or ask on the MOPs forum. Relaxation is based on a simple spherical object radius, so if your objects aren't roughly sphere shaped you might get some overlaps. I'm not sure what exactly "didn't work" means in this context, but if you can provide a more detailed description, or better yet a HIP file, I could help you out. As MOPS instances are just packed primitives, the other thing you could try is to run them through a quick RBD simulation. Give the instances the point attribute `i@found_overlap=1` and then run them through a rigid body simulation, and they should separate. 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.