Jump to content

square packing


quarel

Recommended Posts

great Macha, it's very nice. However I'm thinking to create a big circle full of cubes. so resolving of intersections for 3D objects is ok..the problem is that I want in my school project arrange a hundreds of boxes:) so the sim. is really slow and killing my computer :unsure:

Some time ago i tried to organize spheres trough creep sop but it deformed them. Also I was looking for solution in CIrcle packing (here is called poor man circling) maybe there is the way..

tomorrow I'll post the pics of theese two possible ways. because i'd love to solve theese boxes.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

hey, thank you! that's pretty interesting.

BUT I was thinking about some kind procedural method to apply filling with squares to any kind of shape not just square. :)

Link to comment
Share on other sites

i think either macha's solution or something based on the box fitting code could technically work with any shape, provided you had the geometry for collision (in machas case) or a function that drawtests based on the shape of the object (box fitting)

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