Jump to content

Pointing Normals


aracid

Recommended Posts

Hey all

Could someone explain how i could point the Point normals of one surface -B- to another surfaces Points (of the same point count) -A-

ie

post-585-1101804652_thumb.png

post-585-1101804835.gif

I know the point sop is probibly the first solution, but if the explanation could be done using a custom sop, it would be great.

Thanks in Advance

aracid

Link to comment
Share on other sites

I just built a tool that takes two inputs and aims the first ponts at the secon points: The first is the aim points and the second input is the target points. It is interactive and commented. It is fully interactive in the 3D viewport as well. You can do crazy stuff like orient points at other points on the same geometry using the native sort order.

I wanted to bash this one out for a long time and it is pretty simple.

I will have this posted up on the exchange very soon.

-jeff

Link to comment
Share on other sites

The point sop solution is pretty easy. Assuming the same number of points and point ordering. Just pump the points you want to look at into the second input and then in the add normals field put

$TX2-$TX $TY2-$TY $TZ2-$TZ

then follow this up with a facet sop, with make normals unit length turned on.

Link to comment
Share on other sites

hey hey

thanks for the reply guys

old school --> would like to try out ur gadget once u done :-)

sibarrick, thanks for the facet sop tip, i had the equation, butthe facet sop is what i needed to add ;)

how in vex can i use, say the Position of a point from the second input?

basically, how do i read the second input in vex ?

thanks in advance

all the best

aracid :blink:

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