curves twisted along another one
4473 5 0- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
Hello,
I have some curves create from a trail sop.
I made another one which represents the average position of the first trail curves.
My problem is I need to twist the trail along the average curve but I have no clue how to do that.
I am far to be a math guru and I see matrices coming …
I add a little hip with 2 curve and some mess.
Thanks for your help,
Vincent
I have some curves create from a trail sop.
I made another one which represents the average position of the first trail curves.
My problem is I need to twist the trail along the average curve but I have no clue how to do that.
I am far to be a math guru and I see matrices coming …
I add a little hip with 2 curve and some mess.
Thanks for your help,
Vincent
- Georgie
- Member
- 10 posts
- Joined: March 2014
- Offline
Hopefully that will work for you - no need to mess with matrices and cross products in this case. I simply move the point to the position+normal or position+bitangent of the other curve.
You need 4 points - one on each side to get a smooth looking coil so that's how many I've added.
The number of coils depends on the number of points on the B curve.
How far the coils go onto the second curve depends on the number of points on curve A. Ideally, you'd want both curves to match. It's kind of … inconvenient I guess but I can't think of a setup where you'd be prohibited from simply resampling to create the coils.
Hope that helps. Cheers
edit; grrrrh, I can't delete the original file that I accidentally uploaded, download the one called twistCrv
You need 4 points - one on each side to get a smooth looking coil so that's how many I've added.
The number of coils depends on the number of points on the B curve.
How far the coils go onto the second curve depends on the number of points on curve A. Ideally, you'd want both curves to match. It's kind of … inconvenient I guess but I can't think of a setup where you'd be prohibited from simply resampling to create the coils.
Hope that helps. Cheers
edit; grrrrh, I can't delete the original file that I accidentally uploaded, download the one called twistCrv
Edited by Georgie - Aug. 18, 2016 09:21:12
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
Thanks for your reply.
I watched your hip file but its not what I have in mind.
I made a new hip file which (I hope)will allows you to understand better what i try to achieve.
I copy some circles with the point of the green curve, scaled by the distance between the points of this curve and the points of the red one.
I would like the red points to rotate on the axis create by the N attribute of the matching green points ( the tangents of the green curve ).
++
I watched your hip file but its not what I have in mind.
I made a new hip file which (I hope)will allows you to understand better what i try to achieve.
I copy some circles with the point of the green curve, scaled by the distance between the points of this curve and the points of the red one.
I would like the red points to rotate on the axis create by the N attribute of the matching green points ( the tangents of the green curve ).
++
- patar
- Member
- 280 posts
- Joined:
- Offline
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- aamir
- Member
- 1 posts
- Joined: May 2006
- Offline
-
- Quick Links