Jump to content
Sign in to follow this  
Doum

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

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

Share this post


Link to post
Share on other sites

I start playing with connectadjacentpieces sop and it look to give what I was searching to do

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×