Jump to content

create network look- pc open + for loop sop - findshortestpath sop ?


Doum

Recommended Posts

Hey all,

 

I'm trying to create a network effect(connecting scattered point on a grid together with there neighboring points ) and I'm wondering which method to use. I watched Nick nimble FXPHD video HOU206 Houdini FX TD Fundamentals. Pretty cool, I think I have some hints in one of his tutorial, where he use pointcloud to get the closest point attribute. But in is example he is just getting the second neighbor's attribute and I was wondering how I can loop ( probably using the for loop sop) through iteration of the pointcloud open to add line to multiple neighboring points instead of just one.

 

Maybe I can do this using the findshortestpath sop, but I have no clue how I can achieve that. Any simple example of how I can use this node would be nice :).

 

Here what I have so far. I've been able to find the first closest neighbor ptnum. I'm searching the next step...

 

Network_ClosestPoints_v001_dk.hip

 

any help will be appreciate

 

 

Thanks

 

 

Doum

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