Jump to content
Sign in to follow this  

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?


Share this post

Link to post
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

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