Jump to content

Point Wrangle to connect points and compute normals


Recommended Posts

Hello fellow magicians,


I have a Point Wrangle with 2 inputs: each input has 1k pts which are sorted to match. I am trying to create a primitive (line) pointing from a point from the set 0 to the corresponding point from the set 1.

I have adapted some VEX (as in the image) I found on the forum but it doesn't behave as expected. Instead of connecting corresponding points, it connects all the points from one set to a single point in another.

Finally, what would be the best method for creating a normal in the direction of the created primitive?


Link to comment
Share on other sites

you don't need VEX for this, but if you do want to use it you either merge both inputs and connect corresponding points or you'll have to recreate points at the positions of points from second input as they don't exist on the geometry being processed therefore there is nothing to connect to

all 3 examples in the file


  • Thanks 1
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.

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