Point a vector along curve direction
21761 14 4- Soothsayer
- Member
- 859 posts
- Joined: Oct. 2008
- Offline
- tamte
- Member
- 8554 posts
- Joined: July 2007
- Online
- mawi
- Member
- 242 posts
- Joined: Jan. 2008
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
Poly Frame with the options above generate tangent vectors at the points.
Use the Point SOP to build vectors that point at the next point:
Point SOP > Force Folder > Add Edge Force
This adds two attributes. Look at edge_dir. It generates normalized vectors that orient to the next point.
Use the Point SOP to build vectors that point at the next point:
Point SOP > Force Folder > Add Edge Force
This adds two attributes. Look at edge_dir. It generates normalized vectors that orient to the next point.
There's at least one school like the old school!
- graham
- Member
- 1906 posts
- Joined: Nov. 2006
- Offline
- Soothsayer
- Member
- 859 posts
- Joined: Oct. 2008
- Offline
- maxedout
- Member
- 42 posts
- Joined: Jan. 2010
- Offline
hi guys .. thanks for all the tips … i have however tried the pointfunction in point sop:
point(“../”+opinput(“.”,0),$PT+1,“P”,0)-$TX … so on and so forth …..
i tried the other 2 methods too and have few doubts. With polyframe the direction of normals is reverse than as what i get using point function.. and somehow don't understand the edgeforce method.
have attached the file … maybe someone could check and explain pls.
thanks
point(“../”+opinput(“.”,0),$PT+1,“P”,0)-$TX … so on and so forth …..
i tried the other 2 methods too and have few doubts. With polyframe the direction of normals is reverse than as what i get using point function.. and somehow don't understand the edgeforce method.
have attached the file … maybe someone could check and explain pls.
thanks
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- maxedout
- Member
- 42 posts
- Joined: Jan. 2010
- Offline
- graham
- Member
- 1906 posts
- Joined: Nov. 2006
- Offline
- maxedout
- Member
- 42 posts
- Joined: Jan. 2010
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
As this is a very interesting thread I wondered if I could push it further. I wanted to create a tool that could aim a custom vector using the handle from the line sop to control the direction. I am unable to even via a vop sop control the direction of my custom vector. Can someone give some pointers on the handle aspect and where I am going wrong with my vector.
Rob
I have updated the file with another example this time I have been able rotate the vector. In the details view you can see the aim attributes values.
Rob
I have updated the file with another example this time I have been able rotate the vector. In the details view you can see the aim attributes values.
Edited by - Feb. 9, 2010 20:47:28
Gone fishing
- Soothsayer
- Member
- 859 posts
- Joined: Oct. 2008
- Offline
- graham
- Member
- 1906 posts
- Joined: Nov. 2006
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
-
- Quick Links