Jump to content

How to compare two points in VOP?


venkat

Recommended Posts

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

Link to comment
Share on other sites

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 by yongbin
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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