Jump to content

intersection analysis


Follyx

Recommended Posts

I found this file wich is in the atachement.

 

How does this work? I mean where are the function for deleting the spheres wich intersect each other? Is it the job from the intersection anlysis? But if so, where is the connected Output from the intersection analysis? I really dont understand the logic behind this scene.

Who could give me a hint / explanation please?

untitled.hip

Link to comment
Share on other sites

Hey @Follyx, this is essentially a dart throwing algorithm.
The switch node decides whether the current sphere or the empty null is merged based on the number of points of the intersection analysis node.

if(npoints('../intersectionanalysis2')>0,1,0)

If its just about avoiding spheres to collide (and not arbitrary meshes) you can also watch these tutorials:

Fill with Non-Overlapping Packed Instances : https://www.youtube.com/watch?v=XJ7QJOZcLJk
SOP Solver Tutorial - Dart throwing algorithm: https://www.youtube.com/watch?v=Y1UC3T9l15U

  • Like 3
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...