venkat Posted January 28, 2011 Share Posted January 28, 2011 i am using vops for comparing points to find distance between point positions. for eg: i have 4 points p0,p1,p2,p3 in random locations. I want to compare p0 to p1, po to p2, p0 to p3. similarly p1 to p0, p1 to p2... . . . and after comparing i want to find the distance between point positions. plz help me.......... Quote Link to comment Share on other sites More sharing options...
yongbin Posted January 28, 2011 Share Posted January 28, 2011 (edited) Use import attribute vop. It has three inputs. And you will see "point number" input (you can't see it in parameter window). So make four import attribute and change point numbr input. Set the attrib name P. And connect thist nodes to distance node. Edited January 28, 2011 by yongbin Quote Link to comment Share on other sites More sharing options...
venkat Posted January 28, 2011 Author Share Posted January 28, 2011 Use import attribute vop. It has three inputs. And you will see "point number" input (you can't see it in parameter window). So make four import attribute and change point numbr input. Set the attrib name P. And connect thist nodes to distance node. I tried that but this is not what I expected. If I have 500 points then it is hard to do. Quote Link to comment Share on other sites More sharing options...
SpencerL Posted January 28, 2011 Share Posted January 28, 2011 I tried that but this is not what I expected. If I have 500 points then it is hard to do. I dont have Houdini in front of me at the moment, but check out the "neighbor VOP". It works based on point connectivity so if your points are floating in space, use a Tetrahedralize SOP to connect them first before going into VOPs. The other option is using point clouds, which are very efficient at doing these sorts of things. When I have a chance, ill knock up an example Quote Link to comment Share on other sites More sharing options...
venkat Posted January 31, 2011 Author Share Posted January 31, 2011 I dont have Houdini in front of me at the moment, but check out the "neighbor VOP". It works based on point connectivity so if your points are floating in space, use a Tetrahedralize SOP to connect them first before going into VOPs. The other option is using point clouds, which are very efficient at doing these sorts of things. When I have a chance, ill knock up an example Thanks Spencerl Quote Link to comment Share on other sites More sharing options...
venkat Posted February 2, 2011 Author Share Posted February 2, 2011 could anyone give me a example for neighbour vop and neighbour count vop. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.