Jump to content

Stick points to geo with VEX/VOPS (XYZ Dist and Prim UV)


Recommended Posts

Hi Everyone,

         Basically what Im trying to do is stick some scattered points on road to a tyre object using XYZ dist and prim uv.

I am having static and moving tyre then I subtract the point position of one with the other to get the difference in the movement and exported that as @d attribute,

Now on the scattered points Im searching the closest primitive of the tyre using XYZdist 

Then I'm extracting the @d from that primitive using primitiveAttribute VOP (primuv) and add it to the @P of the points . So it get the movement of the tyre.

What I get is only the points which are near to the tyre on its initial frame  are getting sticked.

Can some one please give me an Idea how to do this.. I know we can do this easily with POPs Im doing this only to learn more vex.

Thank you in advance. :)

 

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