Jump to content

MOPs Instances NON intersecting?


Recommended Posts

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."

Link to comment
Share on other sites

  • 2 weeks later...

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.

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...