How to make a point's normals pointing to another point

   2998   2   1
User Avatar
Member
104 posts
Joined: March 2008
Offline
Hi,

I would like to know how to make a point's normals pointing to another point

as follow image, i would like to let the point number 0 's normals pointing to point number 1.
ps: this 2 point are create by different ADD SOP.

i use POINT SOP and select add normals with expression as bellow
(-point(“../point1”,0,“P”,0))+point(“../point2”,0,“P”,0)
&&
(-point(“../point1”,0,“P”,1))+point(“../point2”,0,“P”,1)
&&
(-point(“../point1”,0,“P”,2))+point(“../point2”,0,“P”,2)

but the angel of pointing was not exactly correct.

==========================================

question 2:

sorry for 1 more question, i would like to know how to mesure the 2 point distance, i would like to use it as my object scale value.


Thanks Very very very much

Attachments:
Normals.jpg (36.1 KB)

User Avatar
Member
512 posts
Joined: July 2009
Offline
hi,

i made a little example file for you, regarding your normal problem,
here you go

for the distance, have a look at the distance() expression!

i hope this explains your question,

regards,

Manuel

Attachments:
normals.hipnc (45.0 KB)

http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
104 posts
Joined: March 2008
Offline
AAAAAAAAA thanks very much, i got the pointdistance() in help but i didnt see distance()


thanks
  • Quick Links