I am generating a 3D scene that involves spawning lots of 3D objects in a finite volume. I need to avoid intersection of objects.

  • 2
    \$\begingroup\$ We're not a library search service, but we can help you write code that solves this problem if you can fill in a few more details. What kinds of shapes are your objects? What kind of representation do you use to express their shapes? What is the shape of the volume you're packing them in? What range of sizes/densities are we talking about here? From your research so far on solving packing problems, what have you tried, and where have you run into difficulty? \$\endgroup\$ – DMGregory Jul 15 '19 at 12:49
  • 1
    \$\begingroup\$ There are some strategies for a 2D version of this problem discussed here - you might find some inspirations that you can scale up to 3D. \$\endgroup\$ – DMGregory Jul 15 '19 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.